|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|
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; |
|
|
|
|
} |
|
|
|
|
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,6 +171,10 @@ public class ZergManager {
@@ -162,6 +171,10 @@ public class ZergManager {
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(pc,"Zerg Multiplier Set: " + multiplier); |
|
|
|
|
if(multiplier == 0.0f) |
|
|
|
|
return 1.0f; |
|
|
|
|
else |
|
|
|
|
return multiplier; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|