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

На главную


EVENT_SPELLBOOK_ELEMENT_EFFECT

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

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

-- поля:
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, спелл стал активным

Search: "CategoryLuaApi" "CategoryEffect"

EnumEffectType
EventActionPanelElementEffect
EventAstrolabeSpellEffect
EventBestFriendTeleportSpellEffect
EventContainerItemEffect
EventDepositeBoxItemEffect
EventEquipmentItemEffect
EventInventoryItemEffect
EventSpellbookElementEffect
EventUnstuckSpellEffect

Search: "CategoryLuaApi" "CategorySpellbook"

AbilityId
ActionGroupId
EnumSubElement
EventAbilitiesElementAdded
EventSpellbookChanged
EventSpellbookElementAdded
EventSpellbookElementChanged
EventSpellbookElementEffect
FunctionAvatarGetAbilities
FunctionAvatarGetAbilityInfo
FunctionAvatarGetActionGroupInfo
FunctionAvatarGetActionGroupSpells
FunctionAvatarGetActionGroupStatBonus
FunctionAvatarGetBuffLinkedSpell
FunctionAvatarGetItemActionGroupsInfo
FunctionAvatarGetSpellBook
FunctionAvatarRunAESpell
FunctionAvatarRunSpell
FunctionAvatarRunTargetSpell
FunctionSpellLibCanRunAvatar
FunctionSpellLibCanRunAvatarEx
FunctionSpellLibGetActionGroups
FunctionSpellLibGetCooldown
FunctionSpellLibGetCurrentValues
FunctionSpellLibGetDescription
FunctionSpellLibGetGroups
FunctionSpellLibGetGroupsDescriptions
FunctionSpellLibGetIcon
FunctionSpellLibGetObjectSpell
FunctionSpellLibGetProperties
FunctionSpellLibGetRequiredBuffs
FunctionSpellLibGetRequiredResources
FunctionSpellLibGetRequirements
FunctionSpellLibGetState
SpellId


CategoryLuaApi CategoryEvent CategorySpellbook CategoryEffect

На главную