warscript
Version:
A typescript library for Warcraft III using Warpack.
49 lines (48 loc) • 2.26 kB
TypeScript
/// <reference types="warpack-types/warpack" />
/** @noSelfInFile */
import { AbilityType, AbilityTypeId } from "../ability-type";
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
export declare const enum ChannelAbilityTypeTargetingType {
NONE = 0,
UNIT = 1,
POINT = 2,
UNIT_OR_POINT = 3
}
export declare class ChannelAbilityType extends AbilityType {
static readonly BASE_ID: AbilityTypeId;
constructor(object: WarObject);
get channelingDuration(): number[];
set channelingDuration(channelingDuration: ObjectDataEntryLevelFieldValueSupplier<number>);
get targetingType(): ChannelAbilityTypeTargetingType[];
set targetingType(targetingType: ObjectDataEntryLevelFieldValueSupplier<ChannelAbilityTypeTargetingType>);
get isTargetingImageVisible(): boolean[];
set isTargetingImageVisible(isTargetingImageVisible: ObjectDataEntryLevelFieldValueSupplier<boolean>);
/**
* Whether the ability is considered physical.
* A physical ability is not disabled on silence and cannot target ethereal units.
*/
get isPhysical(): boolean[];
set isPhysical(v: ObjectDataEntryLevelFieldValueSupplier<boolean>);
/**
* Whether the ability is considered universal.
* A universal ability can target spell immune units.
*/
get isUniversal(): boolean[];
set isUniversal(v: ObjectDataEntryLevelFieldValueSupplier<boolean>);
/**
* Whether the ability is only cast once when ordered to a group of units.
*/
get isUniqueCast(): boolean[];
set isUniqueCast(isUniqueCast: ObjectDataEntryLevelFieldValueSupplier<boolean>);
get casterAttachmentPresetsDuration(): number[];
set casterAttachmentPresetsDuration(casterAttachmentsDuration: ObjectDataEntryLevelFieldValueSupplier<number>);
/**
* Whether the ability should disable and hide other abilities while being channeled.
*/
get disablesOtherAbilities(): boolean[];
set disablesOtherAbilities(shouldDisableOtherAbilities: ObjectDataEntryLevelFieldValueSupplier<boolean>);
get baseOrderTypeStringId(): string[];
set baseOrderTypeStringId(baseOrderTypeStringId: ObjectDataEntryLevelFieldValueSupplier<string>);
private setOption;
private getOption;
}