Harpagornis Posted September 21, 2018 Posted September 21, 2018 (edited) My goal: Make Druid-Shifters unable to wear Armor. I tried to imitate the Mage_Slayer code for no potions and scrolls but its not working. Even when copying the ID`s for no_potions to the Shifter they can still use them... So what tables will i have to rework? The Character table -> Shifter? And is it enough to modify the MageSlayer no_potions table? Is there a "StatusEffectType":"CannotUseArmor"? I have tried this too but nothing happened... Thanks for your help! Edited September 21, 2018 by Harpagornis PoE II: Druid Shifter: Evolution Mod
Armakoir Posted September 21, 2018 Posted September 21, 2018 I think you would have to modify individual armor entries. But the shortcut is putting an ActivationPrerequisite on the Shifter abilities such that they don't allow usage while wearing Light, Medium, and/or Heavy armor. https://eternity.obsidian.net/game-data-formats/conditionals#IsArmorTypeEquipped 1 My PoE2 Mods: The Class Project | Thrown Weaponry Kits | Informative Proficiency Descriptions
Harpagornis Posted September 21, 2018 Author Posted September 21, 2018 Oh... thats interesting... the Armor related ActivationPrerequisite is a very good idea that puts the player into some kind of dilemma... abilities or armor... i like that! Thanks again @Armakoir! 1 PoE II: Druid Shifter: Evolution Mod
Harpagornis Posted September 21, 2018 Author Posted September 21, 2018 (edited) Something is wrong... When using the following code in the Ability_Tables (plus Medium & Heavy) the spell is disabled even when wearing no armor "ActivationPrerequisites":{"Conditional":{"Operator":0,"Components":[{"$type":"OEIFormats.FlowCharts.ConditionalCall, OEIFormats","Data":{"FullName":"Boolean IsArmorTypeEquipped(Guid, ArmorCategory)","Parameters":["b1a8e901-0000-0000-0000-000000000000","Light"],"Flags":"","UnrealCall":"","FunctionHash":2080256364,"ParameterHash":-1000434638},"Not":false,"Operator":0}]}} EDIT: Isnt "Not":"True" correct? Edited September 21, 2018 by Harpagornis PoE II: Druid Shifter: Evolution Mod
Harpagornis Posted September 21, 2018 Author Posted September 21, 2018 (edited) Okay, after changing the code to "Not":"True" the spell is disabled when wearing armor but enabled when being naked. I just messed up the code. Like always! "ActivationPrerequisites":{"Conditional":{"Operator":0,"Components":[{"$type":"OEIFormats.FlowCharts.ConditionalCall, OEIFormats","Data":{"FullName":"Boolean IsArmorTypeEquipped(Guid, ArmorCategory)","Parameters":["b1a8e901-0000-0000-0000-000000000000","Light"],"Flags":"","UnrealCall":"","FunctionHash":2080256364,"ParameterHash":-1000434638},"Not":"True","Operator":0}]}} Edited September 21, 2018 by Harpagornis 1 PoE II: Druid Shifter: Evolution Mod
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now