|
|
@ -158,21 +158,27 @@ public ArrayList<PlayerCharacter> affectedPlayers = new ArrayList<>(); |
|
|
|
defenders.add(pc); |
|
|
|
defenders.add(pc); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int treeRank = bane.getCity().getTOL().getRank(); |
|
|
|
//int treeRank = bane.getCity().getTOL().getRank();
|
|
|
|
|
|
|
|
|
|
|
|
for (PlayerCharacter pc : attackers) { |
|
|
|
for (PlayerCharacter pc : attackers) { |
|
|
|
if (treeRank == 8) { |
|
|
|
switch(bane.capSize){ |
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier40Man(attackers.size()); |
|
|
|
case 10: |
|
|
|
} else { |
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier10Man(attackers.size()); |
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier20Man(attackers.size()); |
|
|
|
break; |
|
|
|
|
|
|
|
case 20: |
|
|
|
|
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier20Man(attackers.size()); |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for (PlayerCharacter pc : defenders) { |
|
|
|
for (PlayerCharacter pc : defenders) { |
|
|
|
if (treeRank == 8) { |
|
|
|
switch(bane.capSize){ |
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier40Man(defenders.size()); |
|
|
|
case 10: |
|
|
|
} else { |
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier10Man(defenders.size()); |
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier20Man(defenders.size()); |
|
|
|
break; |
|
|
|
|
|
|
|
case 20: |
|
|
|
|
|
|
|
pc.ZergMultiplier = ZergManager.getMultiplier20Man(defenders.size()); |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|