Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Code:
component.BaseSave In the script, you can then access the save directly, without having to worry about checking tags or names: Code:
~if we're not shown yet, just get out now doneif (tagis[Helper.ShowSpec] = 0) ~if we're not the first copy, just get out now doneif (tagis[Helper.FirstCopy] = 0) field[abValue].value += #attrmod[aCHA] field[livename].text = field[thingname].text & " (" & signed(field[abValue].value & ")" ~if nothing's been selected, there's nothing we can do doneif (field[usrChosen1].ischosen = 0) field[usrChosen1].chosen.field[Bonus].value += field[abValue].value |
#11 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
edit: I see the Activation #2 box, but no third one so that wont work either since I need 3 save choices. Last edited by Pezmerga; November 5th, 2010 at 07:37 AM. |
|
#12 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Ok I have Dark One's Own Luck as a Custom Ability. It reads...
You are favored by the dark powers if you have this invocation. You gain a luck bonus equal to your Charisma bonus (if any) on Fortitude saves, Reflex saves, or Will saves (your choice each time you use this ability) for a period of 24 hours. You can’t apply this ability to two different save types at the same time. This bonus can never exceed your class level. The only real solution I can think of is to Make a Class Special for each of the Saves and have those granted by the Custom ability, but how would I Validate that only one was active at a time? I know the Judgements are somewhat Similar, but they are all Class Specials. Maybe Make Dark One's Own Luck point (Custom Ability) to another Dark One's Own Luck (Class Special) and set it up like the Judgements? |
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Why not use a Custom Ability instead with an Count of only 1. Then they will be able to select only one of Three Custom abilities. Those three abilities each will be tied to a single save type. Its easy to change and the edit checking is built in as you have it set to only allow one Custom Ability.
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. |
#14 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
Only thing Id like to do now is make Ability Focus work with the Warlocks Invocations and Eldritch Blast. Im gonna post the updated Class in User data in a minute. I also fixed Charm, I had it as a Least invocation. |
|
#15 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Is there a way to hide abilities in the Class tab? Not that its a huge deal but the way I did Dark One's own luck shows up like this if you select the invocation.
1 Dark One's Own Luck 1 Dark One's Own Luck - Fortitude 1 Dark One's Own Luck - Reflex 1 Dark One's Own Luck - Will 1 Eldritch Blast - 1d6 etc. It's not a huge deal but it would be nice to hide the individual saves that are tied to the master ability. Oh and I thought of one more thing....How would I designate a bonus to the saves as a "Luck" bonus? For stacking issues that probably won't come up often , but still . Heres the code for the reflex option for Dark Own's own luck. Code:
field[abValue].value = #attrmod[aCHA] if (field[abValue].value > #levelcount[Warlock]) then field[abValue].value = #levelcount[Warlock] endif field[livename].text = field[thingname].text & " (" & signed(field[abValue].value) & ")" ~only run the rest if we're activated doneif (field[abilActive].value = 0) hero.child[svRef].field[Bonus].value += field[abValue].value ~if we're active, tell that to the hero, so we can enforce the ~restriction on the number of save bonuses active at once perform forward[Custom.DarkLuck] Last edited by Pezmerga; November 6th, 2010 at 01:08 PM. |
#16 |
|
|