mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 02:13:06 +00:00
notransformation protection was stopping movement calls to the holder object. Refractored code so wraith phase shift isn't copypaste just to change animations.
113 lines
3.4 KiB
Plaintext
113 lines
3.4 KiB
Plaintext
//////////////////////////////Construct Spells/////////////////////////
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/conjure/construct/lesser
|
|
charge_max = 1800
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/conjure/floor
|
|
name = "Floor Construction"
|
|
desc = "This spell constructs a cult floor"
|
|
|
|
school = "conjuration"
|
|
charge_max = 20
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = 0
|
|
summon_type = list(/turf/simulated/floor/engine/cult)
|
|
centcom_cancast = 0 //Stop crashing the server by spawning turfs on transit tiles
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/conjure/wall
|
|
name = "Lesser Construction"
|
|
desc = "This spell constructs a cult wall"
|
|
|
|
school = "conjuration"
|
|
charge_max = 100
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = 0
|
|
summon_type = list(/turf/simulated/wall/cult)
|
|
centcom_cancast = 0 //Stop crashing the server by spawning turfs on transit tiles
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/conjure/wall/reinforced
|
|
name = "Greater Construction"
|
|
desc = "This spell constructs a reinforced metal wall"
|
|
|
|
school = "conjuration"
|
|
charge_max = 300
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = 0
|
|
centcom_cancast = 0 //Stop crashing the server by spawning turfs on transit tiles
|
|
delay = 50
|
|
|
|
summon_type = list(/turf/simulated/wall/r_wall)
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/conjure/soulstone
|
|
name = "Summon Soulstone"
|
|
desc = "This spell reaches into Nar-Sie's realm, summoning one of the legendary fragments across time and space"
|
|
|
|
school = "conjuration"
|
|
charge_max = 3000
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = 0
|
|
|
|
summon_type = list(/obj/item/device/soulstone)
|
|
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/conjure/lesserforcewall
|
|
name = "Shield"
|
|
desc = "This spell creates a temporary forcefield to shield yourself and allies from incoming fire"
|
|
|
|
school = "transmutation"
|
|
charge_max = 300
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = 0
|
|
summon_type = list(/obj/effect/forcefield)
|
|
summon_lifespan = 200
|
|
|
|
|
|
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/shift
|
|
name = "Phase Shift"
|
|
desc = "This spell allows you to pass through walls"
|
|
|
|
school = "transmutation"
|
|
charge_max = 200
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
range = -1
|
|
include_user = 1
|
|
jaunt_duration = 50 //in deciseconds
|
|
centcom_cancast = 0 //Stop people from getting to centcom
|
|
|
|
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/shift/jaunt_disappear(var/atom/movable/overlay/animation, var/mob/living/target)
|
|
animation.icon_state = "phase_shift"
|
|
animation.dir = target.dir
|
|
flick("phase_shift",animation)
|
|
|
|
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/shift/jaunt_reappear(var/atom/movable/overlay/animation, var/mob/living/target)
|
|
animation.icon_state = "phase_shift2"
|
|
animation.dir = target.dir
|
|
flick("phase_shift2",animation)
|
|
|
|
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/shift/jaunt_steam(var/mobloc)
|
|
return
|
|
|
|
/obj/effect/proc_holder/spell/targeted/projectile/magic_missile/lesser
|
|
name = "Lesser Magic Missile"
|
|
desc = "This spell fires several, slow moving, magic projectiles at nearby targets."
|
|
|
|
school = "evocation"
|
|
charge_max = 400
|
|
clothes_req = 0
|
|
invocation = "none"
|
|
invocation_type = "none"
|
|
proj_lifespan = 10
|
|
max_targets = 6
|