Files
vgstation13/code/modules/spells/aoe_turf/blink.dm
ComicIronic 6b4270882a Added bitflags to spells.
Also made construct UI work under the new system.
2015-02-12 20:15:43 +00:00

27 lines
570 B
Plaintext

/atom/movable/spell/aoe_turf/blink
name = "Blink"
desc = "This spell randomly teleports you a short distance."
school = "abjuration"
charge_max = 20
spell_flags = Z2NOCAST | IGNOREDENSE | IGNORESPACE
invocation = "none"
invocation_type = "none"
range = 7
inner_radius = 1
cooldown_min = 5 //4 deciseconds reduction per rank
smoke_spread = 0
smoke_amt = 1
/atom/movable/spell/aoe_turf/blink/cast(var/list/targets, mob/user)
if(!targets.len)
return
var/turf/T = pick(targets)
if(T)
if(user.buckled)
user.buckled.unbuckle()
user.loc = T
return