Skip to content

Separate HP Max & HP Regen Max#16

Open
Komerad wants to merge 1 commit intoMrOats:masterfrom
Komerad:master
Open

Separate HP Max & HP Regen Max#16
Komerad wants to merge 1 commit intoMrOats:masterfrom
Komerad:master

Conversation

@Komerad
Copy link
Copy Markdown

@Komerad Komerad commented Mar 23, 2019

Seperate player max HP and the max regen amount:

  • 2 new convars:
    • pregen.hpmaxregen <int>
    • pregen.apmaxregen <int>
  • Players only regen to the new convar's values: IE Default of 40 for HP, 15 for AP.

The old convars (pregen.hpmax & pregen.apmax) now only correlate to the actual max a player may have.

Tested and seems to be working: Would love some more feedback.

Also included a version with HP/AP max overrides commented out. (Use case: Servers running many maps like MommaMesa which override it as well, causing degenerating HP from it's default max)

Seperate player max HP and the max regen amount:
  - 2 new convars:
    * `pregen.hpmaxregen <int>`
    * `pregen.apmaxregen <int>`

The old convars (`pregen.hpmax` & `pregen.apmax`) now only correlate to the actual max a player may have.
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

Successfully merging this pull request may close these issues.

1 participant