ProxyOrigin beta
Interface of @v12-engine/engine
export interface ProxyOriginUnits of the caster's an effect goes off from (EffectCommon.origin): proxies, a shadow, a ball, a sphere, a soldier. The caster's are those it put down (madeBy, a spawn of the ground objects pack), or, of one nobody says put down, those of its owner. In code, a game's effect runs its effects from a unit of its own choice (EffectContext.origin, runEffects), or asks which a proxy origin picks (proxiesOf)
Members
at
at?: 'aim' | 'proxy';Where it lands: where it was aimed (aim, when left out), or where each it goes off from stands (proxy: Orianna's Dissonance around the ball, Zed's Shadow Slash around each shadow)
caster
caster?: boolean | 'otherwise';From the caster as well (true: Zed and his shadows, each a Razor Shuriken), or from the caster where none is picked (otherwise: Orianna's ball, with her when it is nowhere). From the picked alone when left out
near
near?: number;Only those within this far of where it was aimed: the soldiers near what Azir attacks. Any distance when left out
pick
pick?: 'nearest' | 'all' | 'newest' | 'oldest';Which of them: the one nearest to where it was aimed (when left out), all of them (each in the order they came into the world), the newest or the oldest
proxy
proxy: string;The unit type of the caster's it goes off from
range
range?: number;Only those within this far of the caster: Azir's soldiers within his reach. Any distance when left out
target
target?: boolean;The one it goes off from is its target too: a swap with it (Zed's Living Shadow cast again), a dash to it