Variable renamed to conform with json
This commit is contained in:
1 parent
28b0fd6fd4
commit
f523e4832e
6 files changed
+15
-15
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user