CamDawg Posted March 20, 2005 Share Posted March 20, 2005 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 END END BUT_ONLY_IF_IT_CHANGES Link to comment
CamDawg Posted March 28, 2005 Author Share Posted March 28, 2005 Included in alpha 3. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.