CamDawg Posted March 25, 2005 Share Posted March 25, 2005 Baldurdash uses this to patch spin618, which is the Moon card from the Deck of Many Things. BD says this patch will allow the effect to bypass the Cloak of Mirroring, but tbh I don't see how it works--all it does is change the Max HP bonus to add to both max and current HP instead of just adding to max. This is a fix, yes, but a different one and I don't see how it would affect the stated bug. // deck of many things, moon spell COPY_EXISTING ~spin618.spl~ ~override~ READ_LONG 0x64 "abil_off" READ_SHORT 0x68 "abil_num" READ_LONG 0x6a "fx_off" PATCH_IF (SOURCE_SIZE > 0x71) THEN BEGIN // protects against invalid files WHILE ("%abil_num%" > 0) BEGIN SET "abil_num" = ("%abil_num%" - 1) READ_SHORT ("%abil_off%" + (0x28 * "%abil_num%")) "type" PATCH_IF ("%type%" = 1) BEGIN // if melee READ_SHORT ("%abil_off%" + 0x1e + (0x28 * "%abil_num%")) "fx_num" READ_SHORT ("%abil_off%" + 0x20 + (0x28 * "%abil_num%")) "fx_idx" WHILE ("%fx_num%" > 0) BEGIN SET "fx_num" = ("%fx_num%" - 1) READ_SHORT ("%fx_off%" + 0x0d + (0x30 * ("%fx_idx%" + "%fx_num%"))) "opcode" PATCH_IF ("%opcode%" = 18) BEGIN // max hp bonus WRITE_LONG ("%fx_off%" + 0x08 + (0x30 * ("%fx_idx%" + "%fx_num%"))) 0 // increase/decrease END END END 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.