Senior Member
Join Date: Oct 2011
Posts: 6,793
|
A Disclaimer: This is kinda hacky, and I don't recommend doing this as a rule. If we ever shift the phase or priority of the eval rule, it might break the following workaround.
It looks like the eval rule runs in the Validation Phase, at Priority 20000. So, make your eval script which deletes the tag (the one ShadowChemosh helped you with) happen shortly before that. Say Validation 19900. Now try adding a second eval that runs shortly after the eval rule, say at Validation 20100. You should have a handle on deleting tags from the example above, and assigning them works much the same. It uses the "assign" command, like so: Code:
~ Add dead god tag to the hero perform hero.assign[DeityCat.DeadGod] |
#11 |
Senior Member
Join Date: Apr 2012
Location: Indiana
Posts: 117
|
Quote:
Quote:
In just mostly lurking on the boards and soaking up the knowledge of the program to be found here I'm continually amazed by the info shared and the speed in which a reply is given to questions by the LW staff. Aaron and Mathias are constantly monitoring the forums and on several occasions I've seen a very detailed response to a challenging question from them sometimes in under 10 minutes, even under 5 minutes in some cases, from the timestamp of the initial post. I'm not sure about the makeup of the hierarchy of Lone Wolf but I get the feeling that when Colen or Rob chime in you know you've gotten the attention of the higher ups of the company as well. These guys are all about helping out their costumers, and for that I tip my hat to you sirs! Oh, and don't want to forget about Liz either! So, again, please cut the guys a little slack... it could be worse, they could have not answered at all. And if that ever happens, just sic Shadow on them to smack 'em across the head with his Core Rule Book. (I hear he does that sort of thing...) |
||
#12 |
Senior Member
Join Date: Nov 2008
Location: Jonesboro, Arkansas
Posts: 150
|
The one-two punch in the eval scripts worked perfectly.
The feat works as described in the book. Good job, guys. |
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
I have no idea what your talking about! *quickly tries to hide the core rule book behind his back*
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 2011
Posts: 6,793
|
ShadowChemosh can be pretty fearsome. It's the eyes.
The terrible EYES... |
#15 |
Senior Member
Join Date: Nov 2008
Location: Jonesboro, Arkansas
Posts: 150
|
Got another feat with an odd thing.
Craven from Champions of Ruin. You get to add your character level to Sneak Attack damage. The feat has a couple requirements and gives a penalty to saves versus fear, but I got those done using other feats with similar effects for the basis. Is there a way to script it to have the flat character level damage bonus show up with the Sneak Attack dice in the Specials tab ala "Sneak Attack +xd6+y?" |
#16 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Code:
field[livename].text = "Sneak Attack +" & field[abValue].value & "d6" Render/10100 Code:
~ If this feat has the disable tag, get out now! doneif (tagis[Helper.FtDisable] <> 0) ~ If the Sneak Attack class special is not live than get out now! doneif (hero.childlives[cSneakAtt] <> 1) ~ Calculate the characters total level using the level macro field[abValue].value += #totallevelcount[] ~ We need to append level damage to sneak attack class special LiveName. hero.child[cSneakAtt].field[livename].text &= "+" & field[abValue].value 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. |
|
#17 |
Senior Member
Join Date: Nov 2008
Location: Jonesboro, Arkansas
Posts: 150
|
Works beautifully.
|
#18 |
|
|