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