SConrad Posted January 11, 2005 Share Posted January 11, 2005 Right, the dragon takes all the equipment with the scripting-action DestroyAllDestructableEquipment(), but that action doesn't affect magical (indestructible) items. So, I've made all undroppable items magical. I'm not sure if this can cause other problems, Cam said something about Hakeshars eating items and stuff, but I don't know. I'll provide my solution, and if anyone can spot a problem with making the lot magical, please say so. I really couldn't find any other solution to the bug. COPY_EXISTING_REGEXP GLOB ~.*\.itm~ ~override~ READ_BYTE 0x18 "flags" SET "patched" = 0 WHILE ((("%flags%" BAND "0b00000100") = "0b00000000") AND ("%patched%" = 0)) BEGIN WRITE_BYTE "0x18" ("%flags%" BOR "0b01000000") SET "patched" = 1 END BUT_ONLY_IF_IT_CHANGES EDIT: Typo in the code... Link to comment
This topic is now archived and is closed to further replies.