mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Passes thrownthing to hitby (#41411)
* Passes thrownthing to hitby * Items now also pass thrownthing * No longer uses default arguments Also fixes bananium shield * Adds more arguments to hitby calls * Standardises throw_impact * Clears up some loose ends * Adds back wacky comment * Reinstates can_push=FALSE on bananium shield
This commit is contained in:
@@ -213,9 +213,9 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
. = ..()
|
||||
name = "alien hunter ([rand(1, 1000)])"
|
||||
|
||||
/obj/effect/hallucination/simple/xeno/throw_impact(A)
|
||||
/obj/effect/hallucination/simple/xeno/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
|
||||
update_icon("alienh_pounce")
|
||||
if(A == target && target.stat!=DEAD)
|
||||
if(hit_atom == target && target.stat!=DEAD)
|
||||
target.Paralyze(100)
|
||||
target.visible_message("<span class='danger'>[target] flails around wildly.</span>","<span class ='userdanger'>[name] pounces on you!</span>")
|
||||
|
||||
@@ -1291,4 +1291,4 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
H.hal_target = target
|
||||
H.preparePixelProjectile(target, start)
|
||||
H.fire()
|
||||
qdel(src)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user