Skip to content

Commit

Permalink
make his grace heal IPCs (#27865)
Browse files Browse the repository at this point in the history
* make his grace heal IPCs

* remove unnecessary line for his grace buff

Co-authored-by: DGamerL <[email protected]>
Signed-off-by: Paul <[email protected]>

---------

Signed-off-by: Paul <[email protected]>
Co-authored-by: DGamerL <[email protected]>
  • Loading branch information
pwbokie and DGamerL authored Jan 7, 2025
1 parent ec84f16 commit c9d2ab2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions code/datums/status_effects/buffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@
qdel(src)
return
var/grace_heal = bloodlust * 0.05
owner.adjustBruteLoss(-grace_heal)
owner.adjustFireLoss(-grace_heal)
owner.adjustToxLoss(-grace_heal)
owner.adjustOxyLoss(-(grace_heal * 2))
owner.adjustCloneLoss(-grace_heal)

var/mob/living/carbon/human/owner_human = owner
owner_human.adjustBruteLoss(-grace_heal, robotic = TRUE)
owner_human.adjustFireLoss(-grace_heal, robotic = TRUE)
owner_human.adjustToxLoss(-grace_heal)
owner_human.adjustOxyLoss(-(grace_heal * 2))
owner_human.adjustCloneLoss(-grace_heal)

/datum/status_effect/his_grace/on_remove()
add_attack_logs(owner, owner, "lost His Grace's stun immunity", ATKLOG_ALL)
Expand Down

0 comments on commit c9d2ab2

Please sign in to comment.