Junior Member
Join Date: Apr 2015
Posts: 24
|
Hello as the title says I wish to add the Int Mod to a class special ability.
I created my own ability that grants 1d6 per 2 levels but I would like to add the Int modifier to damage like the Alchemist Bomb ability. please help with either scripting eval or how I would go about doing that. On a side note I would also like to know how to increase variable X in Xd6 per 2 levels for this same ability. Thanks. |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
First things first, in the editor go to Class -> Class Special. Then click "New (copy)" and fiend Bomb (UID is cAlcBomb) and say OK. Take a look at the eval scripts, particularly #1 & #3. Script #1 sets a variable to the number of times the special is live on the character and sets a second variable adding your Int Mod. Be sure to check timing (Phase/Priority) because its very important.
Script #3 has to do with setting the name as it will be seen in a) the list (the level by level break down on the class page), b) the livename (which is displayed on the Specials tab), and c) the sbName (what is shown in a statblock - you can probably skip this part if you have no particular interest in exporting as statblocks for printing). It also sets the abSumm (The text that shows on the special tab after the name). Also make sure you pay attention to which fields have preset values in them (aka not defined by eval script #1). As they are used in setting the name in eval script #3. After checking all this out make sure to come back and update with your progress and/or ask more questions. There's always someone around to help. |
#2 |
|
|