Browse Source

combat bug fix

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
6915e30eb2
  1. 8
      src/engine/objects/Mine.java

8
src/engine/objects/Mine.java

@ -731,10 +731,10 @@ public class Mine extends AbstractGameObject {
break; break;
} }
player.mineAppliedID = this.getObjectUUID(); player.mineAppliedID = this.getObjectUUID();
ChatManager.chatSystemInfo(player,"ZergBuff: " + player.ZergMultiplier); //ChatManager.chatSystemInfo(player,"ZergBuff: " + player.ZergMultiplier);
} else{ } else{
player.ZergMultiplier = 1.0f; //something went wrong reset to default until next cycle player.ZergMultiplier = 1.0f; //something went wrong reset to default until next cycle
ChatManager.chatSystemInfo(player,"There Was a Problem"); //ChatManager.chatSystemInfo(player,"There Was a Problem");
} }
} }
//} //}
@ -746,7 +746,7 @@ public class Mine extends AbstractGameObject {
if(currentPlayers.contains(player) == false){ if(currentPlayers.contains(player) == false){
purge.add(id); purge.add(id);
player.ZergMultiplier = 1.0f; player.ZergMultiplier = 1.0f;
ChatManager.chatSystemInfo(player,"Left Mine, Multiplier: " + player.ZergMultiplier); //ChatManager.chatSystemInfo(player,"Left Mine, Multiplier: " + player.ZergMultiplier);
} }
} }
@ -757,7 +757,7 @@ public class Mine extends AbstractGameObject {
this._recentMemory.put(id, System.currentTimeMillis() + 60000); this._recentMemory.put(id, System.currentTimeMillis() + 60000);
} else if(this._recentMemory.get(id) > System.currentTimeMillis()){ } else if(this._recentMemory.get(id) > System.currentTimeMillis()){
this._playerMemory.remove(id); this._playerMemory.remove(id);
ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(id),"Left Have Been Removed from The Mine List"); //ChatManager.chatSystemInfo(PlayerCharacter.getPlayerCharacter(id),"Left Have Been Removed from The Mine List");
} }
} }
} }

Loading…
Cancel
Save