public override bool Perform() { int attack = Rng.Random.Next(performer.Attack); int defense = Rng.Random.Next(attackee.Defense); damage = attack - defense; if (damage > 0) { attackee.DecreaseHealth(damage, performer.Accusativ); notify("attack", attackee); } else { notify("miss", attackee); } attackee.Ai.Stimulate(new AttackStimulus(performer)); if (attackee.Health <= 0) { attackee.Ai.Notify("killed"); attackee.Kill(); } return(true); }