[MIRROR] Multiple buckling and wizard spell fixes (#11437)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-16 05:31:14 +02:00
committed by GitHub
co-authored by Will Cameron Lennox Kashargul
parent 90a9f2c39c
commit 91bb52b6d4
8 changed files with 20 additions and 14 deletions
+4 -3
View File
@@ -51,11 +51,11 @@
L+=T
if(!L.len)
to_chat(user, "The spell matrix was unable to locate a suitable teleport destination for an unknown reason. Sorry.")
to_chat(user, span_warning("The spell matrix was unable to locate a suitable teleport destination for an unknown reason. Sorry."))
return
if(user && user.buckled)
user.buckled = null
user.buckled.unbuckle_mob( user, TRUE)
var/attempt = null
var/success = 0
@@ -68,7 +68,8 @@
break
if(!success)
user.loc = pick(L)
to_chat(user, span_warning("The spell matrix was unable to locate a suitable teleport destination, because the destination area is entirely obstructed. Sorry."))
user.forceMove(pick(L))
return