|
|
|
@ -2,9 +2,10 @@ package engine.gameManager;
@@ -2,9 +2,10 @@ package engine.gameManager;
|
|
|
|
|
|
|
|
|
|
import engine.objects.Bane; |
|
|
|
|
import engine.objects.Guild; |
|
|
|
|
import engine.objects.PlayerCharacter; |
|
|
|
|
|
|
|
|
|
public class ZergManager { |
|
|
|
|
public static float getMultiplier5Man(int count){ |
|
|
|
|
public static float getMultiplier5Man(int count, PlayerCharacter pc){ |
|
|
|
|
float multiplier = 1.0f; |
|
|
|
|
switch(count){ |
|
|
|
|
case 1: |
|
|
|
@ -34,10 +35,14 @@ public class ZergManager {
@@ -34,10 +35,14 @@ public class ZergManager {
|
|
|
|
|
multiplier -= 1.0f; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
return multiplier; |
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static float getMultiplier10Man(int count){ |
|
|
|
|
public static float getMultiplier10Man(int count, PlayerCharacter pc){ |
|
|
|
|
float multiplier = 1.0f; |
|
|
|
|
if(count <=4) |
|
|
|
|
return 0.0f; |
|
|
|
@ -88,10 +93,14 @@ public class ZergManager {
@@ -88,10 +93,14 @@ public class ZergManager {
|
|
|
|
|
multiplier -= 1.0f; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
return multiplier; |
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static float getMultiplier20Man(int count){ |
|
|
|
|
public static float getMultiplier20Man(int count, PlayerCharacter pc){ |
|
|
|
|
float multiplier = 1.0f; |
|
|
|
|
if(count < 10){ |
|
|
|
|
multiplier += 1.25f; |
|
|
|
@ -162,7 +171,11 @@ public class ZergManager {
@@ -162,7 +171,11 @@ public class ZergManager {
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return multiplier; |
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static int getBaneCapSize(Guild defender){ |
|
|
|
@ -193,18 +206,31 @@ public class ZergManager {
@@ -193,18 +206,31 @@ public class ZergManager {
|
|
|
|
|
} |
|
|
|
|
return capSize; |
|
|
|
|
} |
|
|
|
|
public static float getMultiplier30Man(int count){ |
|
|
|
|
public static float getMultiplier30Man(int count, PlayerCharacter pc){ |
|
|
|
|
float multiplier = 1.0f; |
|
|
|
|
|
|
|
|
|
return multiplier; |
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
public static float getMultiplier40Man(int count){ |
|
|
|
|
public static float getMultiplier40Man(int count, PlayerCharacter pc){ |
|
|
|
|
float multiplier = 1.0f; |
|
|
|
|
|
|
|
|
|
return multiplier; |
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
public static float getMultiplierUnlimited(int count){ |
|
|
|
|
public static float getMultiplierUnlimited(int count, PlayerCharacter pc){ |
|
|
|
|
float multiplier = 1.0f; |
|
|
|
|
return multiplier; |
|
|
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|