Variant Sneak Attack
I'm creating a prestige class that gets a variant of Sneak Attack at even levels. It's not rendering properly on either the Class tab nor the Specials tab. I have added ability at level 2 and level 4, and given the portfolio five levels of the class. On each, it's saying "Surprise Strike +0d6."
In the Editor, I used New (Copy) for Sneak Attack (cSneakAtt). Trying to debug it, the class is currently using a copy in which the only thing that has been changed is the UniqueID, which is now cSurpStrik. Using abSumm, I'm having it spit back the values of field[abValue].value, field[xIndex].value, and field[xCount].value. It says that all of them are zero. They're used in the Eval Scripts as: field[abValue].value += field[xCount].value field[listname].text = field[thingname].text & " " & signed(field[xIndex].value) & "d" & field[abValue2].value I've tried just giving the class cSneakAtt, and that works fine. Why is it not working? |
Can I see more of your surprise strike ability - like the whole set of code for it? (Open your .user file as a text file and copy out that <thing> element). xIndex and xCount should be set up automatically by the program, as long as these are class abilities bootstrapped to a class, with their levels specified by a ClSpecWhen tag. So with it failing at such a basic level, I'm not sure what's going on.
Also, from the class itself, maybe the bootstrap elements for surprise strike - I'd expect they look like this: Code:
<bootstrap thing="cSneakAtt"> |
Never mind. It's working fine today, despite my doing absolutely nothing with it, including not recompiling it.
|
Restarting Hero Lab fixes things occasionally.
|
If you've only been using Test Now! in the editor, I know I've made mistakes before where I thought I had done a test on each of the things I changed, but it turned out I had only tested 2 of the 3 things I had changed, and then spent a while figuring out why things weren't working. The Quick Reload Data Files option in the Develop menu (keyboard shortcut: ctrl-r) is handy in cases like this.
|
All times are GMT -8. The time now is 10:19 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.