Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod option to have creatures regen health #3165

Open
9 tasks
ErminioLucente opened this issue Apr 18, 2024 · 1 comment
Open
9 tasks

Mod option to have creatures regen health #3165

ErminioLucente opened this issue Apr 18, 2024 · 1 comment

Comments

@ErminioLucente
Copy link

ErminioLucente commented Apr 18, 2024

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.
@Loobinex Loobinex changed the title REGEN (Request) Mod option to have creatures regen health Apr 20, 2024
@walt253
Copy link
Contributor

walt253 commented Apr 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants