Exemple #1
0
 public void BeginFight()
 {
     warrior = Character.CopyToWarrior(hero);
 }
Exemple #2
0
 public abstract FightAction GetFightAction(Warrior enemy);
Exemple #3
0
 public static int GetSnipePercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, snipeMul);
Exemple #4
0
 public static int GetMagickaPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Magicka, defender.DNA.Magicka, magickaMul);
Exemple #5
0
 public static int GetTauntPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Charisma, defender.DNA.Charisma, tauntMul);
Exemple #6
0
 public static int GetBombardPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, bombardMul);
Exemple #7
0
 public static int GetQuickPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, quickMul);
Exemple #8
0
 public static int GetBashPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, bashMul);
Exemple #9
0
 public static int GetNormalPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, normalMul);
Exemple #10
0
 public static int GetPowerPercentage(Warrior attacker, Warrior defender) => GetPercentage(attacker.DNA.Attack, defender.DNA.Defence, powerMul);
Exemple #11
0
 public static int GetStaminaCost(AttackType attackType, Warrior attacker, Warrior defender, Random rnd)
 {
     throw new NotImplementedException();
 }
Exemple #12
0
 public AI(Warrior warrior, Random rnd)
 {
     this.warrior = warrior;
     this.rnd     = rnd;
 }
Exemple #13
0
 public AI(Character character, Random rnd)
 {
     warrior  = Character.CopyToWarrior(warrior);
     this.rnd = rnd;
 }