Mine Changes
This commit is contained in:
@@ -346,15 +346,20 @@ public class Mine extends AbstractGameObject {
|
|||||||
int amount = 0;
|
int amount = 0;
|
||||||
switch(this.capSize){
|
switch(this.capSize){
|
||||||
case 5:
|
case 5:
|
||||||
amount = (int)(3000000/value);
|
amount = 3000000;
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
amount = (int)(6000000/value);
|
amount = 6000000;
|
||||||
break;
|
break;
|
||||||
case 20:
|
case 20:
|
||||||
amount = (int)(9000000/value);
|
amount = 9000000;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if(this.production.UUID == 7)
|
||||||
|
amount *= 0.5f;
|
||||||
|
else
|
||||||
|
amount = amount / value;
|
||||||
|
|
||||||
|
|
||||||
return this.owningGuild.getOwnedCity().getWarehouse().depositFromMine(this, resourceIB, amount);
|
return this.owningGuild.getOwnedCity().getWarehouse().depositFromMine(this, resourceIB, amount);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user