Skip to content

Commit

Permalink
[MIRROR] cult stun gets weaker at when cult gets red eyes, and then a…
Browse files Browse the repository at this point in the history
…lso halo stage [MDB IGNORE] (#2849)

* cult stun gets weaker at when cult gets red eyes, and then also halo stage (#83659)

## About The Pull Request

cult stun gets weaker with cult stage
at red eyes, stun lasts 9.6 seconds from 16 seconds by default
at halo, stun lasts 1.9 seconds

## Why It's Good For The Game

getting stinky handed in the middle of a fight with a halo cultist just
isnt really fun because then the cultist has like 16 seconds to beat you
to death
with this you may have a chance of getting back on your feet and showing
the narsie scum whos boss

## Changelog
:cl:
balance: cult stun gets weaker when they get red eyes and later more
when they have halos
/:cl:

* cult stun gets weaker at when cult gets red eyes, and then also halo stage

---------

Co-authored-by: jimmyl <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed Jun 5, 2024
1 parent 9ddb0e1 commit d0d6505
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions code/modules/antagonists/cult/blood_magic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
//Cult Blood Spells
/datum/action/innate/cult/blood_spell/stun
name = "Stun"
desc = "Empowers your hand to stun and mute a victim on contact."
desc = "Empowers your hand to stun and mute a victim on contact. Gets weaker depending on how many have joined the Cult."
button_icon_state = "hand"
magic_path = "/obj/item/melee/blood_magic/stun"
health_cost = 10
Expand Down Expand Up @@ -416,7 +416,10 @@
return
if(IS_CULTIST(target))
return
if(IS_CULTIST(user))
var/datum/antagonist/cult/cultist = IS_CULTIST(user)
if(!isnull(cultist))
var/datum/team/cult/cult_team = cultist.get_team()
var/effect_coef = 1 - (cult_team.cult_risen ? 0.4 : 0) - (cult_team.cult_ascendent ? 0.5 : 0)
user.visible_message(span_warning("[user] holds up [user.p_their()] hand, which explodes in a flash of red light!"), \
span_cult_italic("You attempt to stun [target] with the spell!"))
user.mob_light(range = 1.1, power = 2, color = LIGHT_COLOR_BLOOD_MAGIC, duration = 0.2 SECONDS)
Expand All @@ -440,17 +443,17 @@
to_chat(user, span_warning("The spell had no effect!"))
else
to_chat(user, span_cult_italic("In a brilliant flash of red, [target] falls to the ground!"))
target.Paralyze(16 SECONDS)
target.Paralyze(16 SECONDS * effect_coef)
target.flash_act(1, TRUE)
if(issilicon(target))
var/mob/living/silicon/silicon_target = target
silicon_target.emp_act(EMP_HEAVY)
else if(iscarbon(target))
var/mob/living/carbon/carbon_target = target
carbon_target.adjust_silence(12 SECONDS)
carbon_target.adjust_stutter(30 SECONDS)
carbon_target.adjust_timed_status_effect(30 SECONDS, /datum/status_effect/speech/slurring/cult)
carbon_target.set_jitter_if_lower(30 SECONDS)
carbon_target.adjust_silence(12 SECONDS * effect_coef)
carbon_target.adjust_stutter(30 SECONDS * effect_coef)
carbon_target.adjust_timed_status_effect(30 SECONDS * effect_coef, /datum/status_effect/speech/slurring/cult)
carbon_target.set_jitter_if_lower(30 SECONDS * effect_coef)
uses--
..()

Expand Down

0 comments on commit d0d6505

Please sign in to comment.