|
|
|
@ -68,6 +68,7 @@ public class Item extends AbstractWorldObject {
@@ -68,6 +68,7 @@ public class Item extends AbstractWorldObject {
|
|
|
|
|
|
|
|
|
|
public Item(int templateID) { |
|
|
|
|
super(); |
|
|
|
|
this.templsteID = templateID; |
|
|
|
|
this.template = ItemTemplate.itemTemplates.get(templateID); |
|
|
|
|
this.chargesRemaining = this.template.item_initial_charges; |
|
|
|
|
this.durabilityCurrent = this.template.combat_health_full; |
|
|
|
|