Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Hide Zero Ability Score Warnings (http://forums.wolflair.com/showthread.php?t=65202)

Fenris447 December 16th, 2020 07:54 AM

Hide Zero Ability Score Warnings
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?

Fenris447 February 24th, 2021 08:48 AM

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.

Fenris447 February 25th, 2021 05:57 AM

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:

hero.childfound[aINT].field[aFinalVal].value -= 1
Replace aINT with whatever score you want reduced to zero.

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.

All times are GMT -8. The time now is 02:18 AM.

Powered by vBulletin® - Copyright ©2000 - 2021, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.