|
4 | 4 | quality = POSITIVE |
5 | 5 | difficulty = 12 |
6 | 6 | 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 |
9 | 9 | power_path = /datum/action/cooldown/spell/aoe/radiantburst |
10 | 10 | instability = 30 |
11 | 11 | power_coeff = 1 //increases aoe |
|
22 | 22 | if(GET_MUTATION_SYNCHRONIZER(src) < 1) |
23 | 23 | to_modify.safe = TRUE //don't blind yourself |
24 | 24 | 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 |
26 | 27 |
|
27 | 28 | /datum/action/cooldown/spell/aoe/radiantburst |
28 | 29 | name = "Radiant Burst" |
|
38 | 39 | cooldown_time = 15 SECONDS |
39 | 40 | sound = 'sound/magic/blind.ogg' |
40 | 41 | var/safe = FALSE |
41 | | - var/strong = FALSE |
| 42 | + var/bonus_strength = 0 |
42 | 43 |
|
43 | 44 | /datum/action/cooldown/spell/aoe/radiantburst/cast(atom/cast_on) |
44 | 45 | . = ..() |
45 | 46 | if(!safe && iscarbon(owner)) |
46 | 47 | 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 |
48 | 49 | owner.visible_message(span_warning("[owner] releases a blinding light from within themselves."), span_notice("You release all the light within you.")) |
49 | 50 | owner.color = LIGHT_COLOR_HOLY_MAGIC |
50 | 51 | animate(owner, 0.5 SECONDS, color = null) |
51 | 52 |
|
52 | 53 | /datum/action/cooldown/spell/aoe/radiantburst/cast_on_thing_in_aoe(atom/victim, atom/caster) |
| 54 | + if(!can_see(victim, caster)) |
| 55 | + return |
53 | 56 | if(ishuman(victim)) |
54 | 57 | 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 |
56 | 59 | if(isdarkspawn(hurt)) |
57 | | - hurt.adjustFireLoss(strong? (-30) : (-20)) |
| 60 | + hurt.adjustFireLoss(bonus_strength ? (-30) : (-20)) |
58 | 61 | to_chat(hurt, span_userdanger("The blinding light sears you!")) |
59 | 62 | playsound(hurt, 'sound/weapons/sear.ogg', 75, TRUE) |
0 commit comments