bool PostDodgeProjectile() { var self = new AWizard(ASelf); var curDamage = _getProjectilesDamage(new List <AWizard> { self }); self.Move(FinalMove.Speed, FinalMove.StrafeSpeed); var newDamage = _getProjectilesDamage(new List <AWizard> { self }); if (Utility.Less(curDamage, newDamage)) { FinalMove.Speed = 0; FinalMove.StrafeSpeed = 0; return(true); } return(false); }