Skip to content
Snippets Groups Projects
Commit 170a9aed authored by DarkGod's avatar DarkGod
Browse files

Multiple stacks of Retch on the ground have disminishing returns on the...

Multiple stacks of Retch on the ground have disminishing returns on the healing; to alleviate NPC necromancers summoning lots of ghouls and being basically on infinite regen mode :)
parent 0e9c4304
No related branches found
No related tags found
No related merge requests found
......@@ -2612,7 +2612,14 @@ newDamageType{
end
if target and (target:attr("undead") or target:attr("retch_heal")) then
target:heal(dam * 1.5, src)
local mult = 1
if target.turn_procs and target.turn_procs.been_retched then
mult = 0.5 ^ target.turn_procs.been_retched
end
target:heal(dam * 1.5 * mult, src)
if target.turn_procs then
target.turn_procs.been_retched = (target.turn_procs.been_retched or 0) + 1
end
if src.callTalent then
if rng.percent(src:callTalent(src.T_RETCH, "getPurgeChance")) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment