keeperfx
keeperfx copied to clipboard
Mod option to have creatures regen health
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]
- [ ] REGEN_AMOUNT = 0 > 256 [effectiveness of the spell]
- [ ] REGEN_INTERVAL = The delay [tics] between each heal.
- [ ] REGEN_SOUND = Sound played when regen activates [default is nothing]
- [ ] REGEN_EFFECT = The effect played when regen activates [default is nothing]
[SPELL]
- [ ] REGEN_AMOUNT = 0 > 256 [effectiveness of the spell]
- [ ] REGEN_INTERVAL = The delay [tics] between each heal.
- [ ] REGEN_SOUND = Sound played when regen activates
- [ ] REGEN_EFFECT = The effect played when regen activates
- [ ] Additional, can be combined with STRENGTH_BASED for the amount regained.
No need for a boolean, If Regen interval set to 0 you just disable it anyway to avoid a division by 0.