Variable renamed to conform with json

This commit is contained in:
2024-03-25 05:25:09 -04:00
parent 28b0fd6fd4
commit f523e4832e
6 changed files with 15 additions and 15 deletions
@@ -108,7 +108,7 @@ public class VendorSellMsgHandler extends AbstractClientMsgHandler {
cost = sell.template.item_value;
//apply damaged value reduction
float damagedModifier = sell.durabilityCurrent / sell.template.item_health_full;
float damagedModifier = sell.combat_health_current / sell.template.item_health_full;
cost *= damagedModifier;
float bargain = player.getBargain();