dkfans / keeperfx

Open source remake and Fan Expansion of Dungeon Keeper.
https://keeperfx.net/
GNU General Public License v2.0
742 stars 76 forks source link

Mod option to have creatures regen health #3165

Open ErminioLucente opened 4 months ago

ErminioLucente commented 4 months ago

For custom creature types that dont eat or use lairs, rather, regeneration as their only means of healing. Can be used in map scripts also to enable regeneration for heroes/other creatures without it. Can also be casted by spells on self or allies.

[CREATURE]

[SPELL]

walt253 commented 4 months ago

No need for a boolean, If Regen interval set to 0 you just disable it anyway to avoid a division by 0.