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

Add support for vitals regeneration #254

Closed
Gordian3 opened this issue Apr 19, 2017 · 3 comments
Closed

Add support for vitals regeneration #254

Gordian3 opened this issue Apr 19, 2017 · 3 comments

Comments

@Gordian3
Copy link
Contributor

There is currently no support for a character to regenerate vitals to the current maximum values of the character. This issue is asking for a mechanism to be added for the server to periodically increment these values and pass them along to the client session owning the character.

Mostly this would be visible after @grantxp and adding to any vital.

TBD: Do we need to broadcast the vitals increases to other accounts on the landblock (or adjacent landblock)?

This regen mechanism can have the actual formula for the amount of regen or that can be left as a TBD and just use a default value. If not done for this issue, then please create a new issue.

On logout or other client disconnect, the periodic vital increases should stop.

Do not increase beyond the current maximums (would account for debuffs or vitae if implemented)

@Gordian3
Copy link
Contributor Author

Some info on the Natural Regen rates can be seen at: http://acpedia.org/wiki/Natural_Resistances#Natural_Resistance_Bonus

Mostly this references the modifiers to the natural rates due to attributes (and spells).
I'm not sure where to find the actual natural rate. Perhaps some math can be done on some pcaps showing vital restoration and we can work back from the characters stats and spells?

@Gordian3
Copy link
Contributor Author

I can't find the official natural regen formula documented. Following is from a Letter to the Players, Nov 2001.

b. New regeneration rates--As the game of Asheron's Call grows and progresses, certain design dynamics have become outdated. The hit point regeneration rate has become one of those antiquated systems. We wanted to decrease downtime, especially the downtime for those without life magic who also don't have healing. We think we've struck the right compromise with the current hit point and Stamina regen rates.

@ddevec
Copy link
Contributor

ddevec commented Jun 1, 2017

Update:

We now have the framework support for regenerating creature vitals (vitals will go up over time), but with completely bogus numbers. The test hook for this is /setvital.

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

No branches or pull requests

3 participants