Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

TargetsAllowed

Source

class TargetsAllowed

Source

string air

Source

Can only target air units.

string alive

Source

Can only target alive units (non-skeleton).

string allies

Source

Can only target allied units, but not units on the same team as casting unit.

string ancient

Source

Can only target ancients i.e only the night elf buildings that can uproot.

string dead

Source

Can only target dead units (corpses, skeletons).

string debris

Source

Can only target debris, e.g crates.

string decoration

Source

TODO: unknown what this target allows.

string enemies

Source

Can only target enemy units.

string friend

Source

Can only target allied and own units.

string ground

Source

Can only target units without flying/hover movement type.

string hero

Source

Can only target hero units.

string invulnerable

Source

Can only target invulnerable targets.

string item_t

Source

Can only target items lying on the ground.

string mechanical

Source

Can only target mechanichal units catapults etc.

string neutral

Source

Can only target units which belong to neutral players (Neutral Hostile, Neutral Passive)

string nonancient

Source

Can only target non-ancient units.

string none

Source

No targets allowed.

string nonhero

Source

Can only target non-heroes.

string nonsapper

Source

Can only target non-suicidal units.

string notself

Source

Cannot target casting unit.

string organic

Source

Can only target non-mechanical units.

string player_t

Source

TOOD: this is unknown what it does.

string playerunits

Source

Only able to target units from the same player as casting unit.

string sapper

Source

Can only target suicidal units such as Goblin Sapper.

string self

Source

Can only target caster.

string structure

Source

Can target buildings.

string terrain

Source

Can only target landscape such as grass, water or dirt.

string tree

Source

Can only target trees.

string vulnerable

Source

Can only target units that can take damage.

string wall

Source

TODO: uncertain if this limits valid targets to gates.

string ward

Source

Limit to units which are wards (Statis Traps, etc).