Jump to content

Recommended Posts

Posted (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 by Harpagornis
Posted

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

  • Like 1
Posted (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 by Harpagornis
Posted (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! :biggrin:

 

"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 by Harpagornis
  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...