Fixes infernal jaunt causing devils to get stuck if interrupted (#34056)

* Fixes infernal jaunt causing devils to get stuck if stunned.

* defines because I know a maintainer will yell at me for this.
This commit is contained in:
Shadowlight213
2018-01-05 04:04:38 -08:00
committed by CitadelStationBot
parent 3266cdfe0c
commit e20cbe5aa7
+3 -2
View File
@@ -118,14 +118,15 @@
revert_cast()
return ..()
else
user.notransform = 1
user.notransform = TRUE
user.fakefire()
to_chat(src, "<span class='warning'>You begin to phase back into sinful flames.</span>")
if(do_mob(user,user,150))
user.infernalphaseout()
else
to_chat(user, "<span class='warning'>You must remain still while exiting.</span>")
user.ExtinguishMob()
user.notransform = FALSE
user.fakefireextinguish()
start_recharge()
return
revert_cast()