
Basically, I am trying to find a way of using WeiDU to patch item files to add usability, specifically (for my own nefarious purposes!) to make druid-only items usable by a thief with the assassin kit.
Having done some reading of my own (I hate to ask for help before at least attempting to solve a problem myself), how close am I with this attempt:
COPY_EXISTING_REGEXP GLOB ~.*\.itm~ ~override~ //copies all item files READ_BYTE "0x2B" "assassin" // reads the byte containing thief assassin kit usability flag READ_BYTE "0x21" "druid" // reads the byte containing druid usability flag WRITE_BYTE "0x2B" ("%assassin%" BAND "0b11111011") // makes usable by assassins IF_EVAL (("%druid%" BAND "0b01000000") = "0b00000000") // if it is already usable by druids
And please feel free to laugh yourselves silly if I have made a total hash of it... I am still feeling my way back into things, so have pity!

Edited by Sir Kalthorine, 20 March 2005 - 04:41 AM.