Item state.

Hierarchy

  • Item

Properties

canCast?: boolean

(Optional) Only relevant for items with an 'active' effect, also affected by cooldown or if the current hero is muted.

charges?: number

(Optional) If the item has a set number of charges (may replenish or not).

containsRune?: boolean

(Optional) Only relevant for empty bottle.

cooldown?: number

(Optional) Only relevant for items with an 'active' effect.

itemLevel: number

item level.

name: string

Item name.

passive: boolean

If the item does not have an 'active' effect.

purchaser: number

Player who purchased the item.

Generated using TypeDoc