CamDawg Posted March 20, 2005 Share Posted March 20, 2005 Dragonslayer does not display a regeneration icon while equipped. // dragonslayer missing regeneration portrait icon COPY_EXISTING ~sw1h32.itm~ ~override~ READ_LONG 0x64 "abil_off" READ_SHORT 0x68 "abil_num" READ_LONG 0x6a "fx_off" READ_SHORT 0x70 "fx_num" SET "new_fx" = 1 WRITE_SHORT 0x70 ("%fx_num%" + "%new_fx%") WHILE ("%abil_num%" > 0) BEGIN SET "abil_num" = ("%abil_num%" - 1) READ_SHORT ("%abil_off%" + 0x20 + ("%abil_num%" * 0x38)) "abil_fx_idx" WRITE_SHORT ("%abil_off%" + 0x20 + ("%abil_num%" * 0x38)) ("%abil_fx_idx%" + "%new_fx%") // adding new global effects END INSERT_BYTES ("%fx_insert%" ) 0x30 // new effect WRITE_SHORT ("%fx_insert%" ) 142 // display icon WRITE_BYTE ("%fx_insert%" + 0x02) 1 // target:self WRITE_LONG ("%fx_insert%" + 0x08) 87 // regeneration WRITE_BYTE ("%fx_insert%" + 0x0c) 2 // instant/while equipped WRITE_BYTE ("%fx_insert%" + 0x0d) 2 // not dispel/not bypass WRITE_BYTE ("%fx_insert%" + 0x12) 100 // probability Link to comment
CamDawg Posted March 28, 2005 Author Share Posted March 28, 2005 Included in alpha 3. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.