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

Available Packages:

InstantDummyCaster

Source

int DUMMY_CASTER_UNIT_ID

Source

int DUMMY_ROOT_ABIL_ID

Source

class InstantDummyCaster

Source

Dummy caster for casting instant spells. vec3 can be used for casterpos so that any effects/projectiles on/from caster will be on given height. Can't cast channeling spells or impale. If not specified otherwise, any damage from spells will be inflicted by DUMMY_PLAYER. Spells are recommended to be 0 cooldown, 92083 cast range and 0 manacost.

unit caster

Source

function castImmediate(player owner, int abilityId, int lvl, int orderId, vec3 pos) returns boolean

Source

function castImmediate(player owner, int abilityId, int lvl, string order, vec3 pos) returns boolean

Source

function castImmediate(player owner, int abilityId, int lvl, string order, vec2 pos) returns boolean

Source

function castImmediate(player owner, int abilityId, int lvl, int orderId, vec2 pos) returns boolean

Source

function castPoint(player owner, int abilityId, int lvl, int orderId, vec2 targetPos, vec3 casterPos) returns boolean

Source

function castPoint(player owner, int abilityId, int lvl, int orderId, vec2 targetPos) returns boolean

Source

function castPoint(player owner, int abilityId, int lvl, string order, vec2 targetPos) returns boolean

Source

function castPoint(player owner, int abilityId, int lvl, string order, vec2 targetPos, vec3 casterPos) returns boolean

Source

function castPoint(player owner, int abilityId, int lvl, string order, vec2 targetPos, vec2 casterPos) returns boolean

Source

function castPoint(player owner, int abilityId, int lvl, int orderId, vec2 targetPos, vec2 casterPos) returns boolean

Source

function castTarget(player owner, int abilityId, int lvl, int orderId, widget target, vec3 casterPos) returns boolean

Source

function castTarget(player owner, int abilityId, int lvl, int orderId, widget target) returns boolean

Source

function castTarget(player owner, int abilityId, int lvl, string order, widget target) returns boolean

Source

function castTarget(player owner, int abilityId, int lvl, string order, widget target, vec3 casterPos) returns boolean

Source

function castTarget(player owner, int abilityId, int lvl, string order, widget target, vec2 casterPos) returns boolean

Source

function castTarget(player owner, int abilityId, int lvl, int orderId, widget target, vec2 casterPos) returns boolean

Source