• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Heelp with feat

Kaleb

Well-known member
I simply want to add 1d6 to the total of my stealth attack dice how do I do this

Here is the script for stealth attack


Post-Levels 10,0000
field[abValue].value += field[xCount].value
field[livename].text = "Stealth Attack +" & field[abValue].value & "d6"
field[abSumm].text = "+" & field[abValue].value & "d6 damage if you flank your target or your target is flat-footed."
field[listname].text = "Stealth Attack +" & field[xIndex].value & "d6"
 
Post-Levels 10,0000
field[abValue].value += field[xCount].value
field[livename].text = "Stealth Attack +" & field[abValue].value & "d6"
field[abSumm].text = "+" & field[abValue].value & "d6 damage if you flank your target or your target is flat-footed."
field[listname].text = "Stealth Attack +" & field[xIndex].value & "d6"
That is the magic field right their in bold (abValue). You simply need to add "1" that value before Post-Levels 10000. As its a field on the "Thing" you can adjust it from the outside from another script.

Post-Levels/5000
Code:
#value[[B]ENTER_YOUR_UNIQUE_ID_HERE[/B]] += 1
#value is a macro designed to make a short cut to writing out the following:

Code:
hero.child[ENTER_YOUR_UNIQUE_ID_HERE].field[abValue].value += 1

Make sure you replace ENTER_YOUR_UNIQUE_ID_HERE with your actual Unique ID. :)
 
Shadow, here is what I put for my ecal script I am getting the error use of a reserved word in line 2
PostLevels 5000 1

field[livename].text = "Stealth Attack +" & field[abValue].value & "d6"
field[abSumm].text = "+" & field[abValue].#value[cRslStAtt] += 1 & "d6 damage if you flank your target or your target is flat-footed."
field[listname].text = "Stealth Attack +" & field[xIndex].value & "d6"

Shadow sense the [livename].txt =Stealth attack and cRslStAtt is the Unique Id for Stealth attack would I use stealth attack in place of the Unique Id for stealth attack?
 
Last edited:
I am sorry I am confused. I assumed you had a class ability called "Stealth Attack" and you wanted to add a feat/trait/magic item that would increase the number of dice by 1. So that is what I wrote a script that would run on a feat and increase the number of dice on your Class Ability by 1.

Are you really asking for a script that will level up your Stealth Attack just like Sneak Attack does?
 
Back
Top