Пример #1
0
 public static float summedMagic(Champion a_champion)
 {
     return(StrengthToMagic(a_champion) + AgilityToMagic(a_champion) + IntellectToMagic(a_champion));
 }
Пример #2
0
 public static float summedResist(Champion a_champion)
 {
     return(StrengthToResist(a_champion) + AgilityToResist(a_champion) + IntellectToResist(a_champion));
 }
Пример #3
0
 public static float summedDefense(Champion a_champion)
 {
     return(StrengthToDefense(a_champion) + AgilityToDefense(a_champion) + IntellectToDefense(a_champion));
 }
Пример #4
0
 public static float summedAttack(Champion a_champion)
 {
     return(StrengthToAttack(a_champion) + AgilityToAttack(a_champion) + IntellectToAttack(a_champion));
 }
Пример #5
0
 public abstract void invokeEffect(Champion a_champion);
Пример #6
0
 public static int attack(Champion a_attacker, Champion a_defender)
 {
     return(Math.Max((a_attacker.getStat("attack") - a_defender.getStat("defense")), 0));
 }