[MIRROR] Fixes some rando failures off the ignore list of projectiles (#27456)

* Fixes some rando failures off the ignore list of projectiles (#82855)

* Fixes some rando failures off the ignore list of projectiles

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-04-27 02:41:33 +02:00
committed by GitHub
parent 42672c3169
commit 9603a2a889
6 changed files with 11 additions and 12 deletions

View File

@@ -39,5 +39,5 @@
P.range = override_projectile_range
P.preparePixelProjectile(shootat_turf, target)
P.firer = firer // don't hit ourself that would be really annoying
P.impacted = list(target = TRUE) // don't hit the target we hit already with the flak
P.impacted = list(WEAKREF(target) = TRUE) // don't hit the target we hit already with the flak
P.fire()

View File

@@ -281,7 +281,7 @@
P.original = target
P.fired_from = parent
P.firer = parent // don't hit ourself that would be really annoying
P.impacted = list(parent = TRUE) // don't hit the target we hit already with the flak
P.impacted = list(WEAKREF(parent) = TRUE) // don't hit the target we hit already with the flak
P.suppressed = SUPPRESSED_VERY // set the projectiles to make no message so we can do our own aggregate message
P.preparePixelProjectile(target, parent)
RegisterSignal(P, COMSIG_PROJECTILE_SELF_ON_HIT, PROC_REF(pellet_hit))