Jump to content
  • 0

Mid-combat Regen


IVeve

Question

I'm trying to implement a way for the player to regain mana during combat, but the regen ticks trigger only after combat's over. I can't find any flag in the config or editor which allows the regeneration to happen inside combat. Is there some other intended way of handling always-ticking mana regeneration during combat or do I have to edit the source?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

You'll have to edit the source code. It's not a feature right now, though if you were to supply a PR for a server config toggle for this it would probably be accepted as options never hurt.

Β 

Every entity (including players) have an update method, I'm not 100% sure if it's handled in there or in the map update method though.

Link to comment
Share on other sites

×
×
  • Create New...