Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 18th, 2017, 12:15 PM
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?
ErinRigh is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 18th, 2017, 12:28 PM
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.
ShadowChemosh is offline   #2 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 18th, 2017, 12:58 PM
Thanks SC I'll look
ErinRigh is offline   #3 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 18th, 2017, 01:17 PM
I am confused, what is this line doing?

call PUPreReqs
ErinRigh is offline   #4 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 18th, 2017, 02:21 PM
Hey, anyone, is it possible to call up a variable used in a pre-req and use it in an eval script?
ErinRigh is offline   #5 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old November 18th, 2017, 02:40 PM
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 ?
ErinRigh is offline   #6 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old November 18th, 2017, 03:10 PM
Quote:
Originally Posted by ErinRigh View Post
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 ?
When you enable those conditions in the conditions tab they add a tag to the hero, look for that tag and have your script check for it.
Minous is offline   #7 Reply With Quote
EightBitz
Senior Member
 
Join Date: May 2013
Posts: 1,458

Old November 19th, 2017, 12:42 AM
Quote:
Originally Posted by ErinRigh View Post
Hey, anyone, is it possible to call up a variable used in a pre-req and use it in an eval script?
Something like:
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
EightBitz is offline   #8 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 19th, 2017, 01:27 PM
Quote:
Originally Posted by ErinRigh View Post
I am confused, what is this line doing?

call PUPreReqs
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.
ShadowChemosh is offline   #9 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:12 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.