CamDawg Posted March 8, 2005 Share Posted March 8, 2005 Boots of Speed use Haste opcode instead of Movementrate Bonus and are also unusable by monks. BD recode; included in alpha v3. // boots of speed fix COPY_EXISTING ~boot01.itm~ ~override~ READ_BYTE 0x21 "use" WRITE_BYTE 0x21 ("%use%" BAND 0b11011111) // removes monk flag READ_LONG 0x6a "fx_off" READ_SHORT 0x70 "fx_num" WHILE ("%fx_off%" > 0) BEGIN SET "fx_off" = ("%fx_off%" - 1) READ_SHORT ("%fx_off%" + ("%fx_num%" * 0x30)) "type" PATCH_IF( "%type%" = 16 ) BEGIN // if haste effect WRITE_SHORT ("%fx_off%" + ("%fx_num%" * 0x30)) 126 // change to movementrate bonus WRITE_LONG ("%fx_off%" + 0x04 + ("%fx_num%" * 0x30)) 200 // of 200% WRITE_LONG ("%fx_off%" + 0x08 + ("%fx_num%" * 0x30)) 2 // via set% WRITE_BYTE ("%fx_off%" + 0x0d + ("%fx_num%" * 0x30)) 0 END END BUT_ONLY_IF_IT_CHANGES Link to comment
CamDawg Posted March 12, 2005 Author Share Posted March 12, 2005 Grandmaster Armor (leat24) uses the exact same fix. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.