This commit is contained in:
kevinz000
2020-01-11 10:49:44 -08:00
parent b6e14c6b86
commit 9fd9f60855
13 changed files with 30 additions and 25 deletions
+2 -2
View File
@@ -377,9 +377,9 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for th
if("oxyloss")
target.adjustOxyLoss(amount)
if("stun")
target._REFACTOR_AdjustStun(amount)
target._REFACTORING_AdjustStun(amount)
if("knockdown")
target._REFACTOR_AdjustKnockdown(amount)
target._REFACTORING_AdjustKnockdown(amount)
if("unconscious")
target.AdjustUnconscious(amount)
else
@@ -40,7 +40,8 @@
return
mobloc = get_turf(target.loc)
jaunt_steam(mobloc)
target.canmove = 0
ADD_TRAIT(target, TRAIT_MOBILITY_NOMOVE)
target.update_mobility()
holder.reappearing = 1
playsound(get_turf(target), 'sound/magic/ethereal_exit.ogg', 50, 1, -1)
sleep(25 - jaunt_in_time)
@@ -55,7 +56,8 @@
if(T)
if(target.Move(T))
break
target.canmove = 1
REMOVE_TRAIT(target, TRAIT_MOBILITY_NOMOVE)
target.update_mobility()
/obj/effect/proc_holder/spell/targeted/ethereal_jaunt/proc/jaunt_steam(mobloc)
var/datum/effect_system/steam_spread/steam = new /datum/effect_system/steam_spread()