phylll / mychs-macro-magic

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

Implement proper support for undead (infinite endurance) and unhurtable (infinite health) creatures #18

Closed phylll closed 2 years ago

phylll commented 2 years ago

Ghost creatures (health = 0) and undead creatures (endurance = 0) should never lose any of the respective attributes, and do not suffer from the requisite limitations when reaching the 50% mark or any other. Attack and defense scripts need to learn to recognize this, probably most elegantly by checking for the respective max as 0.

phylll commented 2 years ago

Implemented with https://github.com/phylll/mychs-macro-magic/commit/52ac49817c10c135caaec732a530a3dc00457bfb