How to make weapons unbreakable?

How exactly do you make unbreakable weapons?

Assuming you’re using febuilder, just click the “unbreakable” checkbox for that weapon in the item editor.

2 Likes

If you happen to want all items to be infinite use (fe8):

#include "eastdlib.event" 

ALIGN 4 
GetItemAttributesWithUnbreakable: 
BYTE $89 $00 $03 $48 $00 $68 $09 $18 $88 $68 $08 $21 $08 $43 $70 $47 $80 $75 $01 $08

PUSH 
ORG $16B06
SHORT $E003 // items always have the unbreakable bitflag 
ORG $17574
jumpToHack(GetItemAttributesWithUnbreakable)
POP