Summoned beta
Interface of @v12-engine/engine
export interface SummonedOn a unit a spell brought: who brought it (by, its master). Dispelling hurts what carries it. A summon effect gives it the rest: whether it walks with its master when it has nothing to do, whom it goes for, and whether it dies with its master (diesWithMaster; a raiseDead unit has only by, and outlives the one that raised it)
Members
aggro
aggro?: SummonAggro;Whom it takes up: nearest what any idle unit finds; mastersAttacker also whoever hits its master, at once and ahead of what is nearer; none leaves it to the game's targetScore and orders
at
at?: number;The game's time, in seconds, it was brought at
by
by: EntityId;The master: who cast the spell
diesWithMaster
diesWithMaster?: boolean;Dies when its master does
foe
foe?: EntityId;The last who hit its master (aggro: 'mastersAttacker'), and until when (game seconds) it counts for more
foeUntil
foeUntil?: number;Until when (game seconds) the last who hit the master counts for more
follow
follow?: boolean;Walks with its master, within 2 cells, when it has no target (an idle summon)