CamDawg Posted March 20, 2005 Share Posted March 20, 2005 Wand of Cloudkill's damage was bypasses MR. This is the last of the BD item recodes. // wand of cloudkill bypassing MR COPY_EXISTING ~wand13.itm~ ~override~ READ_LONG 0x64 "abil_off" READ_SHORT 0x68 "abil_num" READ_LONG 0x6a "fx_off" WHILE ("%abil_num%" > 0) BEGIN SET "abil_num" = ("%abil_num%" - 1) READ_BYTE ("%abil_off%" + (0x38 * "%abil_num%")) "type" PATCH_IF ("%type%" = 2) BEGIN // magical READ_SHORT ("%abil_off%" + 0x1E + (0x38 * "%abil_num%")) "fx_num" READ_SHORT ("%abil_off%" + 0x20 + (0x38 * "%abil_num%")) "fx_idx" WHILE ("%fx_num%" > 0) BEGIN SET "fx_num" = ("%fx_num%" - 1) READ_SHORT ("%fx_off%" + (0x30 * ("%fx_idx%" + "%fx_num%"))) "opcode" PATCH_IF ("%opcode%" = 12) BEGIN // damage WRITE_BYTE ("%fx_off%" + 0x0d + (0x30 * ("%fx_idx%" + "%fx_num%"))) 1 // dispel/not bypass MR 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.