From 47871acdf9116da522d7da9f7c6a738360e93f29 Mon Sep 17 00:00:00 2001 From: Code611 <44381232+Code611@users.noreply.github.com> Date: Sun, 11 Jun 2023 22:02:41 -0500 Subject: [PATCH] Holy Light rod now gives favor upon healing. (#19223) * favor * reduced to 20% point gain in comparison to "active" healing --- code/datums/status_effects/buffs/buffs.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/datums/status_effects/buffs/buffs.dm b/code/datums/status_effects/buffs/buffs.dm index f4f329aa5b0c..e603e30897fe 100644 --- a/code/datums/status_effects/buffs/buffs.dm +++ b/code/datums/status_effects/buffs/buffs.dm @@ -463,6 +463,9 @@ itemUser.adjustCloneLoss(-0.5 * efficiency) //Becasue apparently clone damage is the bastion of all health //Heal all those around you, unbiased for(var/mob/living/L in view(7, owner)) + if(ispath(rod_type, /obj/item/rod_of_asclepius/white)) //Used for adjusting the Holy Light Sect Favor from white rod healing. + var/total_healing = (min(L.getBruteLoss(), 3.5*efficiency) + min(L.getFireLoss(), 3.5*efficiency) + min(L.getOxyLoss(), 3.5*efficiency) + min(L.getToxLoss(), 3.5 * efficiency)) + GLOB.religious_sect.adjust_favor(total_healing * 0.2) if(L.health < L.maxHealth) new /obj/effect/temp_visual/heal(get_turf(L), "#375637") if(iscarbon(L))