Prevents armor from being damaged
armor item string or numeric id
Registers armor's hurt and tick functions
armor item string or numeric id
This event is called when the damage is dealt to the player that has this armor put on.
the {id: , count: , data: , extra: } object to change armor item, if nothing is returned, armor will be damaged by default.
This event is called when player takes off or changes this armor item.
This event is called when player takes on this armor, or spawns with it.
This event is called every tick for every player that has this armor put on.
the {id: , count: , data: , extra: } object to change armor item, if nothing is returned, armor will not be changed.
Generated using TypeDoc
Module used to manage armor's behavior