TargetSearch
A shot’s test, the entity that fired it, which it never hits, who is behind it, whether it hurts her allies, and what else it passes through.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
friendlyFire? |
boolean | null |
The weapon’s own friendly fire, over the world’s; left out, the world’s. |
instigator? |
Instigator | null |
Who is behind the shot, taken as it was fired; left out, the shooter’s now. |
passes? |
(target) => boolean |
A target the shot passes through besides the spared, such as a downed hostile for an ability’s projectile: read before the nearest is picked, so what stands behind one is met in the same step. |
shooter |
Entity | null |
- |
test |
ShotTest |
- |