Commit 9934282a8e48ff265fb4cc96f6ba7c0f0e03335e

Authored by Otowa Kotori
1 parent 9582a176

Let T_RETCH heal necrotic minions

https://forums.te4.org/viewtopic.php?f=44&t=52048
@@ -2621,7 +2621,9 @@ newDamageType{ @@ -2621,7 +2621,9 @@ newDamageType{
2621 if target.turn_procs and target.turn_procs.been_retched then 2621 if target.turn_procs and target.turn_procs.been_retched then
2622 mult = 0.5 ^ target.turn_procs.been_retched 2622 mult = 0.5 ^ target.turn_procs.been_retched
2623 end 2623 end
  2624 + src:attr("can_heal_necrotic_minions", 1)
2624 target:heal(dam * 1.5 * mult, src) 2625 target:heal(dam * 1.5 * mult, src)
  2626 + src:attr("can_heal_necrotic_minions", -1)
2625 if target.turn_procs then 2627 if target.turn_procs then
2626 target.turn_procs.been_retched = (target.turn_procs.been_retched or 0) + 1 2628 target.turn_procs.been_retched = (target.turn_procs.been_retched or 0) + 1
2627 end 2629 end