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