Jump to content

Sensate Amulet, Spear of Kuldahar exploits

Recommended Posts

Sensate Amulet and Spear of Kuldahar could be exploited for instant healing by re-equipping them repeatedly. This loophole is closed by changing their Max HP bonuses to affect Max HP only instead of Max and Current HP.


// sensate amulet should increase max HP and not current & max HP to close healing loophole
COPY_EXISTING ~wa2amu.itm~   ~override~
             ~wa2spear.itm~ ~override~
 READ_LONG  0x6a "fx_off"
 READ_SHORT 0x70 "fx_num"
 WHILE ("%fx_num%" > 0) BEGIN
   SET "fx_num" = ("%fx_num%" - 1)
   READ_BYTE ("%fx_off%" +        ("%fx_num%" * 0x30)) "type"
   PATCH_IF ("%type%" = 18) BEGIN // max hp bonus
     WRITE_LONG ("%fx_off%" + 0x08 + ("%fx_num%" * 0x30)) 3 // increase max without increasing current

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...