Hyacathusarullistad Posted November 10, 2013 Share Posted November 10, 2013 (edited) Very simple question that I'm unclear on. I'm trying to set an enchantment on a set of robes to be dependent on wearing a specific pair of gloves as well. I know how to achieve this: GetEquipped / [GloveID] / == 1 / AND. My question is this: if I have several leveled versions of this pair of gloves, do I create new effects in the enchantment with conditions of their own? Or can I list them as conditions along with the existing one? If the latter, do I tag them as OR, or AND? Edited November 10, 2013 by Hyacathusarullistad Link to comment Share on other sites More sharing options...
zebem Posted November 11, 2013 Share Posted November 11, 2013 The best way would probably be to make a condition for every version of the glove and mark them as OR. If you mark them all as OR only one of the conditions must be true for the whole expression to equal true. Link to comment Share on other sites More sharing options...
MonoGami Posted November 11, 2013 Share Posted November 11, 2013 It might be easier to add a keyword to the gloves or make them give a perk to the player, then have the robes check for that. Link to comment Share on other sites More sharing options...
Hyacathusarullistad Posted March 30, 2014 Author Share Posted March 30, 2014 (edited) So I'm back again, on a very similar topic. So similar that I felt it'd be better to bump my existing topic rather than create a new one. I'm trying to create an enchantment that applies a perk. I created a new magical effect (Value Modifier, Constant Effect, Self, SpeedMult), directed it to apply a duplicate of the vanilla perk I want (Ranger), and set the enchantment's strength to 300% (for testing purposes). I want the perk to apply only while the character is wearing the item in question (a pair of boots), the boots' matching helmet, and has a bow equipped, out, and drawn. I believe - though please correct me if I'm wrong - that these are the restrictions I need: GetEquipped / Armor: 'HyacCWArrowHood' / == 1 / AND ----> So it only works while wearing the hood. GetEquipped / Armor: 'HyacCWArrowBoots' / == 1 / AND ----> So it only works while wearing the boots. GetEquippedItemType / Left / == 7 / AND ----> So it only works while wielding a bow. IsWeaponOut / NONE / == 2 / AND ----> So it only works while the bow is "unsheated". IsAttacking / NONE / == 1 / AND ----> So it only works while the wielder is attacking. IsAttackType / Keyword: 'WeapTypeBow' / == 1 / AND ----> So it only works if said attack comes from a bow. My question is: assuming this list of restrictions is correct, where do I apply the necessary conditions? I can't seem to get it to work regardless of whether I apply conditions to the enchantment, the magical effect, or the perk itself. If they're not correct, how do I go about correcting them? Edited March 30, 2014 by Hyacathusarullistad Link to comment Share on other sites More sharing options...
Hyacathusarullistad Posted March 30, 2014 Author Share Posted March 30, 2014 Well. Several hours of trial and error later, I've determined that I was simply overzealous in my application of conditions. I got the job done by applying GetEquipped / Armor: 'HyacCWArrowHood' / == 1 / AND, GetEquippedItemType / Left / == 7 / AND, and IsAttacking / NONE / == 1 / AND to the enchantment itself. Works like a charm now. Link to comment Share on other sites More sharing options...
Recommended Posts