Closed BobStumpp closed 3 years ago
Thanks for the report. I'm pushing to have release 3.3 finished this week, but I'll see about squeezing it in last-minute.
This was a great fix. I took it one step further and applied a similar fix to Alert, so that both things will play nicely with other Initiative bonus features in the future.
EDIT: Nevermind, Alert was already doing what I made it do. I only made it more complicated, so I'm nixing my "fix" and just using yours. Ha!
The Gloom Stalker (Ranger Subclass) ability of Dread Ambusher adds your Wisdom modifier to your initiative roll. When you add the Alert Feat, your Wisdom Modifier is removed from your initiative.
Updating the Evaluation Script to :
doneif (tagis[Helper.Disable] <> 0) var InBon as number InBon = maximum(0, #attrmod[aWIS]) + #skillbonus[Initiative]
applybonus[Bonus, hero.child[Initiative], InBon]
Corrects the issue. The change is to add the existing skillbonus to the InBon variable before setting the Bonus.