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