Пользовательские дополнения
На главную
EVENT_SPELLBOOK_ELEMENT_EFFECT
Оповещение о начале эффекта для элемента в книге умений.
Типы эффектов: ''' EFFECT_TYPE_...'''. Для некоторых из них в сообщении передаются дополнительные поля.
Событие ГКД: EVENT_GLOBAL_COOLDOWN
'''Внимание! Для событий COOLDOWN учитывается только КД самого спелла и КД группы спеллов (разные ранги, умения за слезы и тп). ГКД не учитывается! При начале и окончании ГКД данное событие не приходит'''
-- поля:
effect: number(enum EFFECT_TYPE_...) - тип начавшегося эффекта
id: SpellId - Id ресурса умения ( этот параметр НЕ УБИРАТЬ )
Для effect == EFFECT_TYPE_COOLDOWN_STARTED дополнительные поля:
duration: number(int) - общая продолжительность в миллисекундах
remaining: number(int) - оставшееся время в миллисекундах
Для effect == EFFECT_TYPE_SPELL_PREPARED дополнительное поле:
prepared: boolean - текущее значение флага prepared
Для effect == EFFECT_TYPE_SPELL_ACTIVE_STATE_CHANGED дополнительное поле:
isActive: boolean - true, спелл стал активным
objectId: ObjectId or nil - идентификатор предмета к которому привязан данный спелл
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
На главную