public void checkHitCharacter() { if (remove) { return; } if (Game.Player.team != Owner.team && Game.Player.HitBox.IntersectsWith(HitBox)) { FromSkill.MissileHit(this, Game.Player); remove = true; } foreach (Character c in Game.World.MapChar) { if (c.team != Owner.team && c.HitBox.IntersectsWith(HitBox)) { FromSkill.MissileHit(this, c); remove = true; } } if (GamePlay.MissileHitObject(this)) { FromSkill.MissileHitObject(this); remove = true; } }