Browse Source

gold amount no longer reduced for mine production

lakebane-master
FatBoy-DOTC 6 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 {
amount = 12000000; amount = 12000000;
break; break;
} }
if(this.production.UUID == 7)
amount *= 0.5f; if(this.production.UUID != 7)
else
amount = amount / value; amount = amount / value;
return (int) amount;
return amount;
} }
public Boolean onExit(HashSet<AbstractWorldObject> currentPlayers){ public Boolean onExit(HashSet<AbstractWorldObject> currentPlayers){
ArrayList<Integer> purge = new ArrayList<>(); ArrayList<Integer> purge = new ArrayList<>();

Loading…
Cancel
Save