Flashy flash and Gondola Pods
and cult effect addition, fixes CTF
This commit is contained in:
@@ -400,7 +400,7 @@
|
||||
|
||||
//Stun
|
||||
/obj/item/melee/blood_magic/stun
|
||||
name = "Stunning Aura "
|
||||
name = "Stunning Aura"
|
||||
color = RUNE_COLOR_RED
|
||||
invocation = "Fuu ma'jin!"
|
||||
|
||||
@@ -412,12 +412,27 @@
|
||||
return
|
||||
if(iscultist(user))
|
||||
user.visible_message("<span class='warning'>[user] holds up [user.p_their()] hand, which explodes in a flash of red light!</span>", \
|
||||
"<span class='cultitalic'>You stun [L] with the spell!</span>")
|
||||
var/obj/item/nullrod/N = locate() in L
|
||||
if(N)
|
||||
target.visible_message("<span class='warning'>[L]'s holy weapon absorbs the light!</span>", \
|
||||
"<span class='userdanger'>Your holy weapon absorbs the blinding light!</span>")
|
||||
"<span class='cultitalic'>You attempt to stun [L] with the spell!</span>")
|
||||
|
||||
user.mob_light(_color = LIGHT_COLOR_BLOOD_MAGIC, _range = 3, _duration = 2)
|
||||
|
||||
var/anti_magic_source = L.anti_magic_check()
|
||||
if(anti_magic_source)
|
||||
|
||||
L.mob_light(_color = LIGHT_COLOR_HOLY_MAGIC, _range = 2, _duration = 100)
|
||||
var/mutable_appearance/forbearance = mutable_appearance('icons/effects/genetics.dmi', "servitude", -MUTATIONS_LAYER)
|
||||
L.add_overlay(forbearance)
|
||||
addtimer(CALLBACK(L, /atom/proc/cut_overlay, forbearance), 100)
|
||||
|
||||
if(istype(anti_magic_source, /obj/item))
|
||||
var/obj/item/ams_object = anti_magic_source
|
||||
target.visible_message("<span class='warning'>[L] starts to glow in a halo of light!</span>", \
|
||||
"<span class='userdanger'>Your [ams_object.name] begins to glow, emitting a blanket of holy light which surrounds you and protects you from the flash of light!</span>")
|
||||
else
|
||||
target.visible_message("<span class='warning'>[L] starts to glow in a halo of light!</span>", \
|
||||
"<span class='userdanger'>A feeling of warmth washes over you, rays of holy light surround your body and protect you from the flash of light!</span>")
|
||||
else
|
||||
to_chat(user, "<span class='cultitalic'>In an brilliant flash of red, [L] falls to the ground!</span>")
|
||||
L.Knockdown(160)
|
||||
L.flash_act(1,1)
|
||||
if(issilicon(target))
|
||||
@@ -780,4 +795,4 @@
|
||||
to_chat(user, "<span class='cultlarge'><b>Your hands glow with POWER OVERWHELMING!!!</b></span>")
|
||||
else
|
||||
to_chat(user, "<span class='cultitalic'>You need a free hand for this rite!</span>")
|
||||
qdel(rite)
|
||||
qdel(rite)
|
||||
@@ -617,7 +617,7 @@
|
||||
name = "swarmer blockade"
|
||||
desc = "A quickly assembled energy blockade. Will not retain its form if damaged enough, but disabler beams and swarmers pass right through."
|
||||
icon_state = "barricade"
|
||||
light_range = 1
|
||||
light_range = MINIMUM_USEFUL_LIGHT_RANGE
|
||||
max_integrity = 50
|
||||
|
||||
/obj/structure/swarmer/blockade/CanPass(atom/movable/O)
|
||||
|
||||
Reference in New Issue
Block a user