Jump to content

Drow scimitar


CamDawg

Recommended Posts

More bad unusability flags and an extraneous vocalize effect. BD recode.

 

// unusability flags and removal of extraneous vocalize effect
COPY_EXISTING ~dwsw1h01.itm~ ~override~
 READ_BYTE  0x21 "use1"
 WRITE_BYTE 0x21 ("%use1%" BOR   0b00100000) // adds monk flag
 READ_BYTE  0x2b "use2"
 WRITE_BYTE 0x2b ("%use2%" BOR   0b00000010) // adds beastmaster flag
 READ_LONG  0x6a "fx_off"
 READ_SHORT 0x70 "fx_num"
 WHILE ("%fx_num%" > 0) BEGIN
   SET "fx_num" = ("%fx_num%" - 1)
   READ_SHORT ("%fx_off%" +        ("%fx_num%" * 0x30)) "type"
   PATCH_IF (("%type%" = 48) AND ("%part%" = 16)) BEGIN // sets extraneous vocalize effect to 0% probability
     WRITE_BYTE ("%fx_off%" + 0x12 + ("%fx_num%" * 0x30)) 0 // 0% chance
   END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

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

×
×
  • Create New...