Esempio n. 1
0
 public static void DeactivatePhalanx(TroopScript troopThatUsedPhalanx)
 {
     troopThatUsedPhalanx.GetArmor().Defence-=Mathf.RoundToInt(troopThatUsedPhalanx.GetArmor().Defence/3);
     troopThatUsedPhalanx.SetBaseMovement(troopThatUsedPhalanx.GetBaseMovement()+1);
 }
Esempio n. 2
0
 public static void ActivatePhalanx(TroopScript troopThatUsesPhalanx)
 {
     troopThatUsesPhalanx.GetArmor().Defence+=Mathf.RoundToInt(troopThatUsesPhalanx.GetArmor().Defence/2);
     troopThatUsesPhalanx.SetBaseMovement(troopThatUsesPhalanx.GetBaseMovement()-1);
 }