COPY_EXISTING ~shld04.itm~ ~override/_@shld04.itm~ ~shld04.itm~ ~override/shld04.itm~ READ_BYTE 0x31 "prof" READ_LONG 0x64 "abil_off" READ_SHORT 0x68 "abil_num" WRITE_SHORT 0x68 ("%abil_num%" + 1) READ_LONG 0x6a "fx_off" WRITE_LONG 0x6a ("%fx_off%" + 0x38) READ_SHORT 0x70 "fx_num" READ_SHORT ("%abil_off%" + 0x1e + (("%abil_num%" - 1) * 0x38)) "last_fx_num" READ_SHORT ("%abil_off%" + 0x20 + (("%abil_num%" - 1) * 0x38)) "last_fx_idx" SET "new_fx" = ("%last_fx_idx%" + "%last_fx_num%") PATCH_IF (~%DEST_RES%~ STRING_COMPARE_CASE ~%SOURCE_RES%~ != 0) BEGIN // if battle WRITE_BYTE "0x1f" "0x70" //shield profeciency WRITE_SHORT "0x1c" "0x15" // hammer type READ_BYTE 0x18 "flags" WRITE_BYTE 0x18 ("%flags%" BAND 0b11111011) //set unmovable INSERT_BYTES ("%fx_off%" + ("%new_fx%" * 0x30)) 0x30 // new effect WRITE_SHORT ("%fx_off%" + ("%new_fx%" * 0x30)) 235 // wing buffet WRITE_BYTE ("%fx_off%" + 0x02 + ("%new_fx%" * 0x30)) 2 // target: pre-target WRITE_BYTE ("%fx_off%" + 0x0c + ("%new_fx%" * 0x30)) 1 // instant/permanent till death WRITE_BYTE ("%fx_off%" + 0x04 + ("%new_fx%" * 0x30)) 2 // distance 2 WRITE_BYTE ("%fx_off%" + 0x08 + ("%new_fx%" * 0x30)) 2 //type 2 WRITE_BYTE ("%fx_off%" + 0x12 + ("%new_fx%" * 0x30)) 100 // probability INSERT_BYTES ("%fx_off%" ) 0x38 // new ability WRITE_BYTE ("%fx_off%" ) 1 //melee WRITE_BYTE ("%fx_off%" + 0x01) 0 // ID to use - no matter WRITE_SHORT ("%fx_off%" + 0x02) 1 // in weapon slots WRITE_ASCII ("%fx_off%" + 0x04) ~Ishld29~ //icon - useless WRITE_SHORT ("%fx_off%" + 0x0c) 1 // target: creature WRITE_BYTE ("%fx_off%" + 0x26) 1 // use strength WRITE_SHORT ("%fx_off%" + 0x0e) 0 // range: 0 WRITE_SHORT ("%fx_off%" + 0x12) 6 // speed 6 WRITE_SHORT ("%fx_off%" + 0x16) 6 // damX WRITE_SHORT ("%fx_off%" + 0x18) 1 // Xdam WRITE_SHORT ("%fx_off%" + 0x1c) 2 // dam type - blunt WRITE_SHORT ("%fx_off%" + 0x2c) 50 // overhand WRITE_SHORT ("%fx_off%" + 0x2e) 50 // backhand WRITE_SHORT ("%fx_off%" + 0x1e) 1 // num effects: 1 WRITE_SHORT ("%fx_off%" + 0x20) ("%new_fx%") // fx index WRITE_SHORT ("%fx_off%" + 0x22) 0 // num charges: 0 WRITE_BYTE ("%fx_off%" + 0x24) 0 // don't vanish WRITE_SHORT ("%fx_off%" + 0x2a) 1 // projectile: none ENDwhat isn't right?
I Want to release this as sooner as possible, before my new work starts
Edited by @vGur, 10 September 2009 - 02:09 PM.