Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
I cannot get this to work...It is a modified Monk unarmed damage as a custom ability.
Code:
Post Levels Priority 5000 ~ Get our unarmed strike pick, delete the damage tag from it, and assign ~ a new damage tag. var dice as string perform hero.child[wUnarmed].delete[wMain.?] if (field[xTotalLev].value <= 3) then perform hero.child[wUnarmed].assign[wMain.1d6_5] dice = "1d6" elseif (field[xTotalLev].value < 8) then perform hero.child[wUnarmed].assign[wMain.1d8_6] dice = "1d8" elseif (field[xTotalLev].value >= 8) then perform hero.child[wUnarmed].assign[wMain.1d10_304] dice = "1d10" endif level 4-7 its 1d8 and 8 and up is 1d10... I noticed [xAllLev] wouldn't work in custom abilities, just in class specials.... I swear I had this same script working like last week. Last edited by Pezmerga; October 2nd, 2011 at 12:24 AM. |
#1 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
I figured out what was going on. I have a feat as a prereq that changes unarmed damage to 1d4. This is taking precedence over the class ability.
Changed the feats timing to Pre-Levels and now it works fine! Last edited by Pezmerga; October 2nd, 2011 at 12:17 AM. |
#2 |
|
|