Browse Source

recalc magic value

combat-2
MagicBot 7 months ago
parent
commit
ce98f80b85
  1. 2
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

2
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -210,7 +210,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
} }
targetItem.setValue(itemPrice); targetItem.setValue(itemPrice);
targetItem.magicValue = targetItem.value + targetItem.calcMagicValue(); targetItem.magicValue = targetItem.value;
outMsg = new ItemProductionMsg(vendor.getBuilding(), vendor, targetItem, mbEnums.ProductionActionType.DEPOSIT, true); outMsg = new ItemProductionMsg(vendor.getBuilding(), vendor, targetItem, mbEnums.ProductionActionType.DEPOSIT, true);
dispatch = Dispatch.borrow(player, outMsg); dispatch = Dispatch.borrow(player, outMsg);

Loading…
Cancel
Save