Create
elo-hell-archive

In-Combat Heal Rate Scaling by ELIMINATED#1572

This code is over 6 months old. The code may have expired and might no longer function.

Adds combat healing scaling, a la TF2 Medic.
That is, taking damage temporarily decreasing how much healing you receive (except from health packs).

So for example, you could make it so that Mercy heals only 30 hps on patients who have recently taken 100+ damage, but then that scales up over 8 seconds of not taking damage to a max of 80. What this means is that 1 healer comps become viable, as a single healer can be strong enough to keep an entire team topped off as they retreat for healing, while at the same time not being able to tank a ton of damage mid-combat.

The following values can be fine-tuned in the init global rule:

  • COMBATDMGCAP - Maximum stored combat damage. Taking more than this won't add to the healrate penalty
  • COMBATDMGDECAY_RATE - How fast stored combat damage goes away, restoring a player's healing received over time
  • COMBATDMGDECAY_DELAY - How long it takes after being damaged for the stored combat damage to start decreasing
  • COMBATHEALPCTMIN - The lowest healing received %, i.e. how much healing received at max damage taken

Archival Notice

This post was originally hosted on workshop.elohell.gg, a site which is no longer online. If this was originally your post, you may click the button below to transfer this post to your Workshop.codes account or delete this post entirely.

Archive Actions
Players | 1 - 12
Categories: Practice Mode
Heroes: D.va, Junker Queen, Orisa, Reinhardt, Roadhog, and 29 more...
Created at:
Last updated:
Current version: 1.0.0

Snippet

Loading...

Similar Codes

Join the Workshop.codes Discord