mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Explosive lances now move you onto the same tile as the person you're lancing, or explodes in your hands if this isn't possible. (#67060)
* Explosive lances now move you onto the same tile as the person you're lancing, or explodes in your hands if this isn't possible. * Update spear.dm
This commit is contained in:
@@ -153,8 +153,14 @@
|
||||
if(iseffect(AM)) //and no accidentally wasting your moment of glory on graffiti
|
||||
return
|
||||
user.say("[war_cry]", forced="spear warcry")
|
||||
explosive.forceMove(AM)
|
||||
explosive.detonate(lanced_by=user)
|
||||
if(isliving(user))
|
||||
var/mob/living/living_user = user
|
||||
living_user.set_resting(new_resting = TRUE, silent = TRUE, instant = TRUE)
|
||||
living_user.Move(get_turf(AM))
|
||||
explosive.forceMove(get_turf(living_user))
|
||||
explosive.detonate(lanced_by=user)
|
||||
if(!QDELETED(living_user))
|
||||
living_user.set_resting(new_resting = FALSE, silent = TRUE, instant = TRUE)
|
||||
qdel(src)
|
||||
|
||||
//GREY TIDE
|
||||
|
||||
Reference in New Issue
Block a user