Browse Source

gold amount no longer reduced for mine production

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
c696bd368e
  1. 8
      src/engine/objects/Mine.java

8
src/engine/objects/Mine.java

@ -574,11 +574,11 @@ public class Mine extends AbstractGameObject { @@ -574,11 +574,11 @@ public class Mine extends AbstractGameObject {
amount = 12000000;
break;
}
if(this.production.UUID == 7)
amount *= 0.5f;
else
if(this.production.UUID != 7)
amount = amount / value;
return (int) amount;
return amount;
}
public Boolean onExit(HashSet<AbstractWorldObject> currentPlayers){
ArrayList<Integer> purge = new ArrayList<>();

Loading…
Cancel
Save