|
|
@ -172,7 +172,6 @@ public class Item extends AbstractWorldObject { |
|
|
|
} else |
|
|
|
} else |
|
|
|
this.magicValue = this.value; // Value was overridden in vendor inventory
|
|
|
|
this.magicValue = this.value; // Value was overridden in vendor inventory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void _serializeForClientMsg(Item item, ByteBufferWriter writer) |
|
|
|
public static void _serializeForClientMsg(Item item, ByteBufferWriter writer) |
|
|
@ -972,6 +971,9 @@ public class Item extends AbstractWorldObject { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Value is overridden the db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.value == this.template.item_value) |
|
|
|
this.magicValue = this.template.item_value + calcMagicValue(); |
|
|
|
this.magicValue = this.template.item_value + calcMagicValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|