mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Does offer a much more pleasant basis to work with in the future, if someone wishes to add more spell-like abilities.
24 lines
780 B
Plaintext
24 lines
780 B
Plaintext
/spell/targeted/ethereal_jaunt/shift
|
|
name = "Phase Shift"
|
|
desc = "This spell allows you to pass through walls"
|
|
|
|
charge_max = 200
|
|
spell_flags = Z2NOCAST | INCLUDEUSER | CONSTRUCT_CHECK
|
|
invocation_type = SpI_NONE
|
|
range = -1
|
|
duration = 50 //in deciseconds
|
|
|
|
hud_state = "const_shift"
|
|
|
|
/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)
|
|
|
|
/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)
|
|
|
|
/spell/targeted/ethereal_jaunt/shift/jaunt_steam(var/mobloc)
|
|
return |