Skip to content

Commit

Permalink
Allows wardens to heal eachother again at half the health and gives a…
Browse files Browse the repository at this point in the history
… bigger message (#5982)

# About the pull request
Allows wardens to heal eachother once again, but for half the health
this time.

# Explain why it's good for the game
This was removed because people were dual wardening and keeping
eachother alive very well
this should tackle that and hopefully only allow it to be used on crit /
near crit situations so.
Also gives reju/heal a bigger message so its easier to see if it went
through.

I hate not being able to save another warden because hes of the same
strain
# Testing Photographs and Procedure
i made it so its good
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
balance: Wardens can heal eachother once again, but only half the health
qol: Gives SPAN_XENOHIGHDANGER to heal/reju on positives, since its very
easy to miss if you actually healed soembody.
/:cl:

---------

Co-authored-by: InsaneRed <[email protected]>
Co-authored-by: Birdtalon <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2024
1 parent 7820fe7 commit 860a5f4
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,6 @@
if (!X.Adjacent(A))
to_chat(X, SPAN_XENODANGER("We must be within touching distance of [targetXeno]!"))
return
if(istype(targetXeno.strain, /datum/xeno_strain/warden))
to_chat(X, SPAN_XENODANGER("We cannot heal a sister of the same strain!"))
return
if (SEND_SIGNAL(targetXeno, COMSIG_XENO_PRE_HEAL) & COMPONENT_CANCEL_XENO_HEAL)
to_chat(X, SPAN_XENOWARNING("We cannot heal this xeno!"))
return
Expand All @@ -847,13 +844,21 @@
if (!behavior.use_internal_hp_ability(bonus_heal))
bonus_heal = 0

to_chat(X, SPAN_XENODANGER("We heal [targetXeno]!"))
to_chat(X, SPAN_XENOHIGHDANGER("We heal [targetXeno]!"))
to_chat(targetXeno, SPAN_XENOHIGHDANGER("We are healed by [X]!"))
targetXeno.gain_health(heal_amount + bonus_heal)
//Amount to heal in this cast of the ability
var/quantity_healed = heal_amount
if(istype(targetXeno.strain, /datum/xeno_strain/warden))
// Half the healing if warden
quantity_healed = quantity_healed / 2
else
quantity_healed = quantity_healed + bonus_heal

targetXeno.gain_health(quantity_healed)
targetXeno.visible_message(SPAN_BOLDNOTICE("[X] places its claws on [targetXeno], and its wounds are quickly sealed!")) //marines probably should know if a xeno gets healed
X.gain_health(heal_amount*0.5 + bonus_heal*0.5)
X.flick_heal_overlay(3 SECONDS, "#00B800")
behavior.transferred_healing += heal_amount
behavior.transferred_healing += quantity_healed
use_plasma = TRUE //it's already hard enough to gauge health without hp showing on the mob
targetXeno.flick_heal_overlay(3 SECONDS, "#00B800")//so the visible_message and recovery overlay will warn marines and possibly predators that the xenomorph has been healed!

Expand All @@ -869,7 +874,7 @@
if (!behavior.use_internal_hp_ability(debuff_cost))
return

to_chat(X, SPAN_XENODANGER("We rejuvenate [targetXeno]!"))
to_chat(X, SPAN_XENOHIGHDANGER("We rejuvenate [targetXeno]!"))
to_chat(targetXeno, SPAN_XENOHIGHDANGER("We are rejuvenated by [X]!"))
targetXeno.visible_message(SPAN_BOLDNOTICE("[X] points at [targetXeno], and it spasms as it recuperates unnaturally quickly!")) //marines probably should know if a xeno gets rejuvenated
targetXeno.xeno_jitter(1 SECONDS) //it might confuse them as to why the queen got up half a second after being AT rocketed, and give them feedback on the Praetorian rejuvenating
Expand Down

0 comments on commit 860a5f4

Please sign in to comment.