|
|
|
@ -1885,7 +1885,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1885,7 +1885,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
if (!building.transferGold(-rankCost, false)) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
DateTime dateToUpgrade = DateTime.now().plusHours(Mob.getUpgradeTime(this)); |
|
|
|
|
//DateTime dateToUpgrade = DateTime.now().plusHours(Mob.getUpgradeTime(this));
|
|
|
|
|
DateTime dateToUpgrade = DateTime.now().plusMinutes(5); |
|
|
|
|
Mob.setUpgradeDateTime(this, dateToUpgrade); |
|
|
|
|
|
|
|
|
|
// Schedule upgrade job
|
|
|
|
|