Quote:
Originally Posted by Bob G
Thanks Shadow. I'm still very new to the editor, where do I define Listname and xCount?
|
You don't.
Listname is the field name that is displayed on classes tab name when you click the star:
Image3.png
xCount is a field that is defined on all Class Abilities Things. In addition xCount automaticlaly increases its value as more abilities become active. So if you have an ability bootstrapped at levels 1, 4, 8, 12, etc. Then when a character is level 1 to 3 xCount = 1. When character level is 4-7 xCount = 2. Etc.
Put this script on your ability at Post-Level/10000:
Then bootstrap it at the correct levels when the bonus increases 1,4,8, etc. You will see the bonus all work without having to know anything else about your ability:
Code:
~ Set the list name
field[listname].text = field[thingname].text & " " & field[xIndex].value
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set the bonus based on the number of active abilities
field[abValue].value += field[xCount].value
field[livename].text = field[thingname].text & " " & field[abValue].value
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ Give a Competence Bonus (BonComp) to the Stealth Skill
#applybonus[BonComp,hero.child[skStealth],field[abValue].value]