Jump to content

Edwin's NS bonuses

Recommended Posts

Edwin's bonuses from the Nether Scroll include a Play Sound effect with a spurious Save vs Death check which has been removed. Also, half of the bonuses bypassed MR while the rest did not--I've changed them all to bypass since Edwin is a more than willing reader and wants the effects of the scroll.


// Edwin's Nether Scroll bonuses; removes spurious save check on play sound and changes effects to bypass MR
COPY_EXISTING ~spin664.spl~ ~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_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)
       WRITE_BYTE ("%fx_off%" + 0x0d + (0x30 * ("%fx_idx%" + "%fx_num%"))) 0 // no dispel/bypass
       READ_SHORT ("%fx_off%" +        (0x30 * ("%fx_idx%" + "%fx_num%"))) "opcode"
       PATCH_IF ("%opcode%" = 174) BEGIN // play sound
         WRITE_LONG ("%fx_off%" + 0x24 + (0x30 * ("%fx_idx%" + "%fx_num%"))) 0 // no save

Link to comment


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

  • Create New...