Senior Member
Join Date: Sep 2017
Posts: 600
|
I'm having trouble figuring out what is wrong with my code. This is supposed to add situational text on any saves the Hero is not proficient with, while the referenced ability is active.
It shows the situational text on all saveswhen activated, no matter what I do. Code:
~ If we're disabled, do nothing & doneif (tagis[Helper.Disable] <> 0 ) doneif (hero.childfound[cWlk5CPacTal].field[abilActive].value = 0) var sText as string sText = "+1d4" foreach pick in hero from BaseSave where "!Helper.ProfDouble & !Helper.Proficient" #situational[eachpick,sText,field[thingname].text] nexteach Code:
~ If we're disabled, do nothing & doneif (tagis[Helper.Disable] <> 0 ) doneif (field[abilActive].value = 0) var sText as string sText = "+1d4" foreach pick in hero from BaseSkill where "!Helper.ProfDouble & !Helper.Proficient" #situational[eachpick,sText,field[thingname].text] nexteach Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#1 |
|
|