Senior Member
Join Date: Sep 2017
Posts: 600
|
I'm working on getting vehicles like the Ghosts of Saltmarsh ships set up. They all have Intelligence, Wisdom, and Charisma of zero. Hero Lab outputs warnings for each, saying that a "value less than or equal to zero may mean you are dead or unable to act."
Any idea how to hide this warning? 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 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
Just giving this a little bump. I never solved it, and it’s coming up again in more stuff I’m working on. What I really need to do is to either disable or automatically validate the eval rule that is running on a particular ability (aINT, aWIS, aCHA) that checks if it's at or below 0.
The other thing I'll explore is setting the score to 1, then subtracting 1 from it after that eval script runs. It's dirty, but it might be dirty enough to work. But I'd still like to know if one Thing can affect another Thing's eval script. 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! Last edited by Fenris447; February 24th, 2021 at 09:15 AM. |
#2 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
So my dirty solution works, or at least works enough. I set the ability scores to 1 (-9 in the race tab of the editor). I determined the validation for zero scores runs at Validation phase 10000. Because the scores are 1, that validation error doesn't report. Then I added an eval script at Validation phase 11000:
Code:
hero.childfound[aINT].field[aFinalVal].value -= 1 Fortunately, both 1 and 0 ability scores grant a -5 bonus to skills and such that use those scores. But I'm sure there might be edge cases where it being 1 (instead of 0) will break something. But at least with all the vehicles and objects I'll be using this for, it doesn't hurt anything. 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! |
#3 |
|
|