Browse Source

chinese mines moved earlier by 1 hour

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
6b8d1e6f71
  1. 30
      src/engine/objects/Mine.java

30
src/engine/objects/Mine.java

@ -131,20 +131,20 @@ public class Mine extends AbstractGameObject {
EuroMines.get(4).liveTime = 13; EuroMines.get(4).liveTime = 13;
EuroMines.get(5).liveTime = 13; EuroMines.get(5).liveTime = 13;
EuroMines.get(6).liveTime = 13; EuroMines.get(6).liveTime = 13;
ChinaMines.get(0).liveTime = 8; ChinaMines.get(0).liveTime = 7;
ChinaMines.get(1).liveTime = 8; ChinaMines.get(1).liveTime = 7;
ChinaMines.get(2).liveTime = 8; ChinaMines.get(2).liveTime = 7;
ChinaMines.get(3).liveTime = 9; ChinaMines.get(3).liveTime = 8;
ChinaMines.get(4).liveTime = 9; ChinaMines.get(4).liveTime = 8;
ChinaMines.get(5).liveTime = 9; ChinaMines.get(5).liveTime = 8;
ChinaMines.get(6).liveTime = 9; ChinaMines.get(6).liveTime = 8;
ChinaMines.get(7).liveTime = 9; ChinaMines.get(7).liveTime = 8;
ChinaMines.get(8).liveTime = 9; ChinaMines.get(8).liveTime = 8;
ChinaMines.get(9).liveTime = 9; ChinaMines.get(9).liveTime = 8;
ChinaMines.get(10).liveTime = 10; ChinaMines.get(10).liveTime = 9;
ChinaMines.get(11).liveTime = 10; ChinaMines.get(11).liveTime = 9;
ChinaMines.get(12).liveTime = 10; ChinaMines.get(12).liveTime = 9;
ChinaMines.get(13).liveTime = 10; ChinaMines.get(13).liveTime = 9;
AmericaMines.get(0).liveTime = 20; AmericaMines.get(0).liveTime = 20;
AmericaMines.get(1).liveTime = 20; AmericaMines.get(1).liveTime = 20;
AmericaMines.get(2).liveTime = 20; AmericaMines.get(2).liveTime = 20;
@ -719,7 +719,7 @@ public class Mine extends AbstractGameObject {
this.dividedPlayers.put(nation,newEntry); this.dividedPlayers.put(nation,newEntry);
} }
} }
if(updated == true){ if(updated == true && this.dividedPlayers.size() > 1){
for(Integer playerID : this._playerMemory){ for(Integer playerID : this._playerMemory){
player = PlayerCharacter.getFromCache(playerID); player = PlayerCharacter.getFromCache(playerID);
if(this.dividedPlayers.containsKey(player.getGuild().getNation())){ if(this.dividedPlayers.containsKey(player.getGuild().getNation())){

Loading…
Cancel
Save