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