code changes

This commit is contained in:
McRamon
2021-04-04 14:00:11 +03:00
parent 407341bce0
commit 738960736e
+6 -11
View File
@@ -418,7 +418,7 @@
name = "Mist Form (30)"
desc = "You take on the form of mist for a short period of time."
gain_desc = "You have gained the Mist Form ability which allows you to take on the form of mist for a short period and pass over any obstacle in your path."
action_icon_state = "jaunt"
action_icon_state = "mist"
charge_max = 600
required_blood = 30
centcom_cancast = 0
@@ -430,28 +430,23 @@
var/originalloc = get_turf(user.loc)
var/obj/effect/dummy/spell_jaunt/holder = new /obj/effect/dummy/spell_jaunt(originalloc)
var/atom/movable/overlay/animation = new /atom/movable/overlay(originalloc)
animation.name = "water"
animation.name = "blood"
animation.density = 0
animation.anchored = 1
animation.icon = 'icons/mob/mob.dmi'
animation.icon_state = "liquify"
animation.icon_state = "empty"
animation.layer = 5
animation.master = holder
U.ExtinguishMob()
flick("liquify", animation)
flick("mist", animation)
user.forceMove(holder)
user.client.eye = holder
var/datum/effect_system/steam_spread/steam = new /datum/effect_system/steam_spread()
steam.set_up(10, 0, originalloc)
steam.start()
sleep(jaunt_duration)
var/mobloc = get_turf(user.loc)
animation.loc = mobloc
steam.location = mobloc
steam.start()
user.canmove = 0
sleep(20)
flick("reappear",animation)
flick("mist_reappear",animation)
sleep(5)
if(!user.Move(mobloc))
for(var/direction in list(1,2,4,8,5,6,9,10))
@@ -470,7 +465,7 @@
name = "Shadowstep (30)"
desc = "Vanish into the shadows."
gain_desc = "You have gained the ability to shadowstep, which makes you disappear into nearby shadows at the cost of blood."
action_icon_state = "blink"
action_icon_state = "shadowblink"
charge_max = 20
required_blood = 30
centcom_cancast = 0