Callirgos Posted June 15, 2013 Share Posted June 15, 2013 Hi. I'm trying to add an AC bonus. But the bonus must be shield type. How do I specify that? Parameter 1 = the AC bonus Parameter 2 = 3 ( for shield ) ?? Also when removing AC bonus opcode 0 in a patch, it will remove all types regardless of different values in parameter 2, correct? Link to comment
Wisp Posted June 15, 2013 Share Posted June 15, 2013 Hi. I'm trying to add an AC bonus. But the bonus must be shield type. How do I specify that? Parameter 1 = the AC bonus Parameter 2 = 3 ( for shield ) ?? According to the IESDP, p2 would be 3, yes. Also when removing AC bonus opcode 0 in a patch, it will remove all types regardless of different values in parameter 2, correct? Yes, DELETE_ITEM_EFFECT does not discriminate more than that. It'd be pretty straightforward to add, however. Link to comment
Callirgos Posted June 16, 2013 Author Share Posted June 16, 2013 Great. Thanks for your help. I've got a handle on the simple things now Link to comment
Callirgos Posted June 20, 2013 Author Share Posted June 20, 2013 I'm trying something a little more complicated. How can I add an equip effect for (206) orotection from spell? Link to comment
Wisp Posted June 20, 2013 Share Posted June 20, 2013 With the ADD_ITEM_EQEFFECT function. Link to comment
Callirgos Posted June 20, 2013 Author Share Posted June 20, 2013 Okay, I'm a little confused about how to write the "resource" line and reference a specific spell. Link to comment
Wisp Posted June 20, 2013 Share Posted June 20, 2013 somefile.itm is given on-equip immunity to Chromatic Orb: COPY_EXISITING somefile.itm override LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 206 target = 1 timing = 2 STR_VAR resource = spwi118 END BUT_ONLY Link to comment
Callirgos Posted June 20, 2013 Author Share Posted June 20, 2013 Ah.... That makes sense. What is BUT_ONLY for? I'm not using this and my files are patching fine. I'm interested because I've seen it more than a few times but I don't use it. Link to comment
Mike1072 Posted June 20, 2013 Share Posted June 20, 2013 Ah.... That makes sense. What is BUT_ONLY for? I'm not using this and my files are patching fine. I'm interested because I've seen it more than a few times but I don't use it. WeiDU Readme. It prevents WeiDU from copying the file if you made no changes to it, which is especially important when you conditionally apply changes (e.g. copy all items and add an effect to the ones that are necklaces). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.