pub(crate) fn deal_damage_ap_at( ctx: &mut CombatCtx<'_>, target: EnemyIdx, payload: DamagePayload, ) -> (f64, bool)