pub(crate) fn spell_health_cost( state: &CombatState, actor: ActorId, flat: f64, percent_of_maximum: f64, ) -> f64