Jump to content

Fiends will not leave


Recommended Posts

// * WIZARD_GATE {9} [spWi905 - 2905]

 

Description says the Pit Fiend should hang around for 33 rounds or 198s. The actual duration is set to 200s (big diff, I know ;) )

 

// * WIZARD_CACOFIEND {7} [spWi707 - 2707]

 

Description says the Nabassu should hang around for 15 rounds or 90s. The actual duration is set to 120s.

 

Not-fiend related.

 

You might already have this one earmarked for this, but in case you don't

 

// * WIZARD_INVISIBLE_STALKER {6} [spWi601 - 2601]

 

Description says 9 hrs, 2700s. The actual duration is set to 8 hrs, 2400s.

Link to comment
// invisible stalkers only summoned for 8 hours, should be 9
COPY_EXISTING ~spwi601.spl~ ~override~
 READ_LONG  0x64 "abil_off"
 READ_SHORT 0x68 "abil_num"
 READ_LONG  0x6a "fx_off"
 FOR (index = 0; index < abil_num; index = index + 1) BEGIN
   READ_SHORT ("%abil_off%" + 0x1e + (0x28 * "%index%")) "abil_fx_num"
   READ_SHORT ("%abil_off%" + 0x20 + (0x28 * "%index%")) "abil_fx_idx"
   FOR (index2 = 0; index2 < abil_fx_num; index2 = index2 + 1) BEGIN
     READ_SHORT ("%fx_off%" +        (("%abil_fx_idx%" + "%index2%") * 0x30)) "opcode"
     PATCH_IF ("%opcode%" = 177)) BEGIN // use eff file
       WRITE_LONG ("%fx_off%" + 0x0e + (("%abil_fx_idx%" + "%index2%") * 0x30)) 2700 // duration = 9 hours, per descript
     END
   END
 END
 BUT_ONLY_IF_IT_CHANGES

// cacofiends summoned for 120s; should be 90
COPY_EXISTING ~spwi707.spl~ ~override~
 READ_LONG  0x64 "abil_off"
 READ_SHORT 0x68 "abil_num"
 READ_LONG  0x6a "fx_off"
 FOR (index = 0; index < abil_num; index = index + 1) BEGIN
   READ_SHORT ("%abil_off%" + 0x1e + (0x28 * "%index%")) "abil_fx_num"
   READ_SHORT ("%abil_off%" + 0x20 + (0x28 * "%index%")) "abil_fx_idx"
   FOR (index2 = 0; index2 < abil_fx_num; index2 = index2 + 1) BEGIN
     READ_SHORT ("%fx_off%" +        (("%abil_fx_idx%" + "%index2%") * 0x30)) "opcode"
     PATCH_IF ("%opcode%" = 177)) BEGIN // use eff file
       WRITE_LONG ("%fx_off%" + 0x0e + (("%abil_fx_idx%" + "%index2%") * 0x30)) 90 // duration = 15 rounds, per descript
     END
   END
 END
 BUT_ONLY_IF_IT_CHANGES

// pit fiends around for an extra two seconds
COPY_EXISTING ~spwi905.spl~ ~override~
 READ_LONG  0x64 "abil_off"
 READ_SHORT 0x68 "abil_num"
 READ_LONG  0x6a "fx_off"
 FOR (index = 0; index < abil_num; index = index + 1) BEGIN
   READ_SHORT ("%abil_off%" + 0x1e + (0x28 * "%index%")) "abil_fx_num"
   READ_SHORT ("%abil_off%" + 0x20 + (0x28 * "%index%")) "abil_fx_idx"
   FOR (index2 = 0; index2 < abil_fx_num; index2 = index2 + 1) BEGIN
     READ_SHORT ("%fx_off%" +        (("%abil_fx_idx%" + "%index2%") * 0x30)) "opcode"
     PATCH_IF ("%opcode%" = 177)) BEGIN // use eff file
       WRITE_LONG ("%fx_off%" + 0x0e + (("%abil_fx_idx%" + "%index2%") * 0x30)) 198 // duration = 33 rounds, per descript
     END
   END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

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

×
×
  • Create New...