예제 #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;
 }