Browse Source

debitWorkOrderCost method created

combat-2
MagicBot 7 months ago
parent
commit
ac347db0c8
  1. 3
      src/engine/gameManager/ForgeManager.java

3
src/engine/gameManager/ForgeManager.java

@ -123,7 +123,8 @@ public enum ForgeManager implements Runnable {
// Deduct gold cost from building // Deduct gold cost from building
debitWorkOrderCost(workOrder); if (debitWorkOrderCost(workOrder) == false)
return 58; //58: The formula is beyond the means of this facility
// Create in-memory items and add to collections // Create in-memory items and add to collections

Loading…
Cancel
Save