public void BeginFight() { warrior = Character.CopyToWarrior(hero); }
public abstract FightAction GetFightAction(Warrior enemy);
public static int GetSnipePercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, snipeMul);
public static int GetMagickaPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Magicka, defender.DNA.Magicka, magickaMul);
public static int GetTauntPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Charisma, defender.DNA.Charisma, tauntMul);
public static int GetBombardPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, bombardMul);
public static int GetQuickPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, quickMul);
public static int GetBashPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, bashMul);
public static int GetNormalPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, normalMul);
public static int GetPowerPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, powerMul);
public static int GetStaminaCost(AttackType attackType, Warrior attacker, Warrior defender, Random rnd) { throw new NotImplementedException(); }
public AI(Warrior warrior, Random rnd) { this.warrior = warrior; this.rnd = rnd; }
public AI(Character character, Random rnd) { warrior = Character.CopyToWarrior(warrior); this.rnd = rnd; }