combat_health_full used from json
This commit is contained in:
@@ -2333,7 +2333,7 @@ public class CharacterItemManager {
|
||||
return;
|
||||
|
||||
//don't damage noob gear, hair or beards.
|
||||
if (item.template.item_health_full == 0)
|
||||
if (item.template.combat_health_full == 0)
|
||||
return;
|
||||
|
||||
if (!item.isCanDestroy())
|
||||
|
||||
@@ -231,7 +231,7 @@ public class Item extends AbstractWorldObject {
|
||||
writer.putString(item.name); // Unknown. pad?
|
||||
writer.put((byte) 1); // End Datablock byte
|
||||
|
||||
writer.putFloat(item.template.item_health_full);
|
||||
writer.putFloat(item.template.combat_health_full);
|
||||
writer.putFloat((float) item.combat_health_current);
|
||||
|
||||
writer.put((byte) 1); // End Datablock byte
|
||||
|
||||
Reference in New Issue
Block a user