Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
What is the proper method to handle Armor Proficiency?
To add I have been using these. These appear to work. It enables the ability to select the armor. perform hero.assign[ArmProfGrp.ArmorHeavy] perform hero.assign[ArmProfGrp.ArmorMed] perform hero.assign[ArmProfGrp.ArmorLight] The next step however is to check is the proficiency is applied. I copied this over from the PF Feats and they compile and are certainly doing something as adding this displays an error message and grays the feat out. tagis[Hero.ProfHeavy] <> 0 This issue however is the second feat does not recognise the proficiency added by the first feat. Feat 1: Eval Script: perform hero.assign[ArmProfGrp.ArmorHeavy] Feat 2: Expr-reqs: tagis[Hero.ProfHeavy] <> 0 Has anyone got this working? Last edited by daplunk; February 1st, 2016 at 06:44 PM. |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Why are you checking for a different tag in Feat two than you applied in Feat one? I am confused?
|
#2 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
Because i havn't figured out how to use that tag in code without spilling an error
I've since proved the PF code is not working. Yet to figure out the correct code for the 5e method though. |
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
An expr-req of:
tagis[ArmProfGrp.ArmorHeavy] <> 0 gives you an error? What does the error say? |
#4 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
No error i had the syntax wrong.
I was trying the following: tagis[Hero.ProfHeavy] <> 0 tagis[Hero.ArmProfGrp.ArmorHeavy] <> 0 tagis[Hero.ArmProfGrp] <> 0 tagis[Hero.ArmorHeavy] <> 0 Yours worked perfectly: tagis[ArmProfGrp.ArmorHeavy] <> 0 Thanks Aaron, your a life saver. |
#5 |
|
|