Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit b751d8b

Browse files
Radiant burst quality pass (#22344)
* Update radiantburst.dm * Update radiantburst.dm * Update code/datums/mutations/radiantburst.dm Co-authored-by: SapphicOverload <[email protected]> --------- Co-authored-by: SapphicOverload <[email protected]>
1 parent 425ea68 commit b751d8b

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

code/datums/mutations/radiantburst.dm

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
quality = POSITIVE
55
difficulty = 12
66
locked = TRUE
7-
text_gain_indication = span_notice("There is no darkness, even when you close your eyes!")
8-
text_lose_indication = span_notice("The blinding light fades.")
7+
text_gain_indication = span_notice("The light surges within you! Ah, such bliss.") //changing this to be a reference because who's gonna stop me, I made the gene in the first place
8+
text_lose_indication = span_notice("The shadow returns to your night sky.") //really hamfist in those references
99
power_path = /datum/action/cooldown/spell/aoe/radiantburst
1010
instability = 30
1111
power_coeff = 1 //increases aoe
@@ -22,7 +22,8 @@
2222
if(GET_MUTATION_SYNCHRONIZER(src) < 1)
2323
to_modify.safe = TRUE //don't blind yourself
2424
if(GET_MUTATION_POWER(src) > 1)
25-
to_modify.strong = TRUE //damages darkspawns more and bypasses blindness check
25+
to_modify.bonus_strength += 1 //damages darkspawns more and blinds more
26+
to_modify.aoe_radius += 1
2627

2728
/datum/action/cooldown/spell/aoe/radiantburst
2829
name = "Radiant Burst"
@@ -38,22 +39,24 @@
3839
cooldown_time = 15 SECONDS
3940
sound = 'sound/magic/blind.ogg'
4041
var/safe = FALSE
41-
var/strong = FALSE
42+
var/bonus_strength = 0
4243

4344
/datum/action/cooldown/spell/aoe/radiantburst/cast(atom/cast_on)
4445
. = ..()
4546
if(!safe && iscarbon(owner))
4647
var/mob/living/carbon/dummy = owner
47-
dummy.flash_act(3, strong) //it's INSIDE you, it's gonna blind
48+
dummy.flash_act(3 + bonus_strength) //it's INSIDE you, it's gonna blind
4849
owner.visible_message(span_warning("[owner] releases a blinding light from within themselves."), span_notice("You release all the light within you."))
4950
owner.color = LIGHT_COLOR_HOLY_MAGIC
5051
animate(owner, 0.5 SECONDS, color = null)
5152

5253
/datum/action/cooldown/spell/aoe/radiantburst/cast_on_thing_in_aoe(atom/victim, atom/caster)
54+
if(!can_see(victim, caster))
55+
return
5356
if(ishuman(victim))
5457
var/mob/living/carbon/human/hurt = victim
55-
hurt.flash_act(1, strong)//only strength of 1, so sunglasses protect from it unless strengthened
58+
hurt.flash_act(1 + bonus_strength)//only strength of 1, so sunglasses protect from it unless strengthened
5659
if(isdarkspawn(hurt))
57-
hurt.adjustFireLoss(strong? (-30) : (-20))
60+
hurt.adjustFireLoss(bonus_strength ? (-30) : (-20))
5861
to_chat(hurt, span_userdanger("The blinding light sears you!"))
5962
playsound(hurt, 'sound/weapons/sear.ogg', 75, TRUE)

0 commit comments

Comments
 (0)