UNPKG

warscript

Version:

A typescript library for Warcraft III using Warpack.

6 lines (5 loc) 396 B
/** @noSelfInFile */ import { AbilityTypeId } from "./object-data/entry/ability-type"; import { UnitAbility } from "./internal/ability"; import { Player } from "../core/types/player"; export declare const castAbility: (owner: Player, abilityTypeId: AbilityTypeId, ...args: [x: number, y: number] | [number, x: number, y: number] | [(ability: UnitAbility) => void, x: number, y: number]) => void;