|
|
@ -141,6 +141,12 @@ public class VendorDialogMsg extends ClientNetMsg { |
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "You Are Already The Active Character."); |
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "You Are Already The Active Character."); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(playerCharacter.getTimestamps().containsKey("BoxChange") && playerCharacter.getTimeStamp("BoxChange") + 5000 > System.currentTimeMillis()) { |
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "You Are Enrolling Too Often."); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
playerCharacter.getTimestamps().put("BoxChange",System.currentTimeMillis()); |
|
|
|
playerCharacter.isBoxed = false; |
|
|
|
playerCharacter.isBoxed = false; |
|
|
|
playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true); |
|
|
|
playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true); |
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "Promoting To Active Duty"); |
|
|
|
ChatManager.chatSystemInfo(playerCharacter, "Promoting To Active Duty"); |
|
|
|