phylll / mychs-macro-magic

A simple, sane, and friendly little scripting language for your Roll20 macros.
MIT License
0 stars 0 forks source link

Check attribute validation function(s) #39

Closed phylll closed 2 years ago

phylll commented 2 years ago

If endurance or health attributes are not specified in calls to m3mgdModifyEndurance() or m3mgdModifyHealth(), the fallbacks don't work properly. Review the validation algorithm.

phylll commented 2 years ago

m3mgdValidateTokenAttribute() was indeed written illogically. Fixed via c23f26276827b7c3ee964d73deaf4320ee8de5b6