Jump to content

Ring of free action


Drew

Recommended Posts

We can use the trick I used for Tutufix walking speeds: use opcode 176 instead of 126. Confirmed as working.

 

@Kish

This should also work for the Feet of the Wind issue. Just change the opcode from 126 to 176 and it'll be fine.

 

// kit innate speed increases should not be prevented by free action
COPY_EXISTING ~spcl151.spl~ ~override~ // barbarian
             ~spcl812.spl~ ~override~ // monk i
             ~spcl813.spl~ ~override~ // monk ii
 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%" + (0x30 * ("%abil_fx_idx%" + "%index2%"))) "opcode"
     PATCH_IF ("%opcode%" = 126) BEGIN // max hp bonus
       WRITE_SHORT ("%fx_off%" + (0x30 * ("%abil_fx_idx%" + "%index2%"))) 176
     END
   END
 END
 BUT_ONLY_IF_IT_CHANGES

 

edit: Added Barbarian movement bonus here as well.

Link to comment

Archived

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

×
×
  • Create New...