Indicates the damage caused by the item when used as a weapon. The value indicates the base damage without the influence of enchantments or effects.
if(item.attack > 1) assert(item.tool);
See Implementation
Indicates the damage caused by the item when used as a weapon. The value indicates the base damage without the influence of enchantments or effects.