UNPKG

warscript

Version:

A typescript library for Warcraft III using Warpack.

19 lines (18 loc) 539 B
/** @noSelfInFile */ import { Event } from "../../../event"; declare module "../unit" { namespace Unit { const baseMovementSpeedChangedEvent: Event<[ unit: Unit, previousValue: number, newValue: number ]>; } interface Unit { /** The current movement speed excluding bonuses. */ movementSpeedBase: number; readonly movementSpeedBonus: number; /** The current movement speed including bonuses. */ readonly movementSpeed: number; } }