![]() |
Member
Join Date: May 2008
Posts: 43
|
I'm in a Pathfinder campaign, and the DM is using the Toughness Feat DDO style (where you get the additional 3 HP up front and then 1 HP per level and it does not stack). I've been looking at the editor to customize the feat (first copying the existing Toughness feat), but am at a loss on how to script it from there. Any ideas?
|
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 12,872
|
Here you are (since I wrote this for something else).
Timing: UserPreAt, 100 Code:
~Count the number of hit dice var HD as number HD = hero.tagcount[Hero.HitDice] ~ Add to our HP hero.child[Totals].field[tHP].value += HD Code:
~Count the number of hit dice var HD as number HD = hero.tagcount[Hero.HitDice] + 3 ~ Add to our HP hero.child[Totals].field[tHP].value += HD |
![]() |
![]() |
Member
Join Date: May 2008
Posts: 43
|
Thanks! I added this to the portfolio and it works like a charm.
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|