public void DoDamage(Character attacker, Character target, int damage) { target.CurrentStats.HP -= damage; if (target.CurrentStats.HP <= 0) { attacker.Kills.Add(new KilledCreature() { Date = _helper.CurrentTime, Name = target.Name, Race = target.Race }); } }
public AttackInfo Atak(Character target, Attack atak) { return new AttackInfo() { ToHit = (target.CurrentStats.AC - atak.ToHit).ToString() }; }
public void DoDamage(Character target, int damage) { target.CurrentStats.HP -= damage; }
public void AddMember(Character character) { Members.Add(character); Members.Sort(); }