Пользовательские дополнения

На главную


EVENT_GLOBAL_COOLDOWN

Оповещение о начале эффекта для элемента в книге умений.

Типы эффектов: ''' EFFECT_TYPE_...'''. Для некоторых из них в сообщении передаются дополнительные поля.

-- поля:
effect: number (enum EFFECT_TYPE_...) - тип начавшегося эффекта
id: number (int64) - номер события. Гарантируется что событие с бОльшим номером содержит более актуальную информацию. Для случая нескольких событий в кадре (порядок прихода не определен)

Для effect == EFFECT_TYPE_COOLDOWN_STARTED и effect == EFFECT_TYPE_COOLDOWN_CHANGED дополнительные поля:
  duration: number(int) - общая продолжительность в миллисекундах
  remaining: number(int) - оставшееся время в миллисекундах

Для effect == EFFECT_TYPE_COOLDOWN_FINISHED дополнительных полей нет.

Другие типы effect для ГКД недопустимы.

Search: "CategoryLuaApi" "CategoryEffect"

EnumEffectType
EventActionPanelElementEffect
EventAstrolabeSpellEffect
EventBestFriendTeleportSpellEffect
EventContainerItemEffect
EventDefaultSpellEffect
EventGlobalCooldown
EventSpellbookElementEffect
EventUnstuckSpellEffect

Search: "CategoryLuaApi" "CategorySpellbook"

AbilityId
ActionGroupId
EnumSubElement
EventAbilitiesElementAdded
EventDefaultSpellChanged
EventDefaultSpellEffect
EventGlobalCooldown
EventSpellbookChanged
EventSpellbookElementAdded
EventSpellbookElementChanged
EventSpellbookElementEffect
FunctionAvatarDropSpell
FunctionAvatarGetAbilities
FunctionAvatarGetAbilityInfo
FunctionAvatarGetAbilityReplacementSpell
FunctionAvatarGetAbilityReplacementSpells
FunctionAvatarGetActionGroupSpells
FunctionAvatarGetActionGroupStatBonus
FunctionAvatarGetSpellBook
FunctionAvatarHasSpell
FunctionAvatarPrepareSpell
FunctionAvatarRunAESpell
FunctionAvatarRunSpell
FunctionItemLibGetActionGroupsInfo
FunctionSpellLibCanRunAvatar
FunctionSpellLibCanRunAvatarEx
FunctionSpellLibGetActionGroups
FunctionSpellLibGetActionGroupsDescriptions
FunctionSpellLibGetAESectorProps
FunctionSpellLibGetCooldown
FunctionSpellLibGetCurrentValues
FunctionSpellLibGetDescription
FunctionSpellLibGetDescriptionParams
FunctionSpellLibGetDurationBuff
FunctionSpellLibGetIcon
FunctionSpellLibGetObjectSpell
FunctionSpellLibGetProperties
FunctionSpellLibGetRequiredBuffs
FunctionSpellLibGetRequiredResources
FunctionSpellLibGetRequirements
FunctionSpellLibGetState
FunctionSpellLibHasDurationBuff
SpellId


CategoryLuaApi CategoryEvent CategorySpellbook CategoryEffect

На главную