Senior Member
Join Date: Oct 2016
Posts: 621
|
Well the first special ability is a complicated one in the Ultimate Gladiator class.
Basically it grants a +1 dodge to AC if you are using a shield AND fighting defensively or using the total defense action. The ability can be taken multiple times at levels 1, 5, 9, 13, and 17 it's effects stacking to a max of +5 a 17th level. So what I need is, the ability needs to check for the number of times the ability has been selected, check that the character's class level is sufficient for the number of times selected, check for a shield, provide an In-Play check box to indicate defensive action is being taken and apply that bonus as a dodge bonus to AC. I'm not asking anyone to do this for me, I am asking for someone to hold my hand like a grade schooler and walk me through it. Any takers? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Don't have allot of time today. HERE is a link to a UP Aegis class ability that has similar logic in regards to the levels and the bonus increasing.
Fighting Defensively and Shields are tags you can look for on the HERO. Take a look at the hero tags as you activate Fighting Defensively or equipping a shield. name="Nimble" description="The aegis gains a +2 enhancement bonus to Dexterity while he is wearing his astral suit. This customization can be selected a second time beginning at 5th level, and a third time starting at 10th level. Each subsequent time it is taken, the enhancement bonus to Dexterity is increased by +2." Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Thanks SC I'll look
|
#3 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
I am confused, what is this line doing?
call PUPreReqs |
#4 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Hey, anyone, is it possible to call up a variable used in a pre-req and use it in an eval script?
|
#5 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
also, how would I go about having an ability check to see if you are fighting defensively or using total defense?
If that is not possible, because I couldn't find an adjustment for fighting defensively or the other, is there a script that I could add to put a check box (or 2) on the In-Play tab to indicate, possibly with adjustments, that you are doing one of those ? |
#6 |
Senior Member
Join Date: May 2015
Posts: 830
|
Quote:
|
|
#7 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Quote:
Hero.child[AbilityName].variablename.value or Hero.child[AbilityName].field[variablename].text So if you wanted to know the character's initiative bonus: hero.child[Initiative].field[Bonus].value http://forums.wolflair.com/showthread.php?t=21663 http://forums.wolflair.com/showthread.php?t=33740 |
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
See #7 in THIS post.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#9 |
|
|