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

На главную


EVENT_DEFAULT_SPELL_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, спелл стал активным
  objectId: ObjectId or nil - идентификатор предмета к которому привязан данный спелл

Search: "CategoryLuaApi" "CategoryEffect"

EnumEffectType
EventActionPanelElementEffect
EventAstrolabeSpellEffect
EventBestFriendTeleportSpellEffect
EventContainerItemEffect
EventDefaultSpellEffect
EventDepositeBoxItemEffect
EventEquipmentItemEffect
EventInventoryItemEffect
EventSpellbookElementEffect
EventUnstuckSpellEffect

Search: "CategoryLuaApi" "CategorySpellbook"

AbilityId
ActionGroupId
EnumSubElement
EventAbilitiesElementAdded
EventDefaultSpellChanged
EventDefaultSpellEffect
EventSpellbookChanged
EventSpellbookElementAdded
EventSpellbookElementChanged
EventSpellbookElementEffect
FunctionAvatarGetAbilities
FunctionAvatarGetAbilityInfo
FunctionAvatarGetAbilityReplacementSpell
FunctionAvatarGetAbilityReplacementSpells
FunctionAvatarGetActionGroupSpells
FunctionAvatarGetActionGroupStatBonus
FunctionAvatarGetSpellBook
FunctionAvatarIsBuffDisease
FunctionAvatarIsBuffMagic
FunctionAvatarIsBuffPoison
FunctionAvatarRunAESpell
FunctionAvatarRunSpell
FunctionItemLibGetActionGroupsInfo
FunctionSpellLibBuffsCanDispel
FunctionSpellLibCanRunAvatar
FunctionSpellLibCanRunAvatarEx
FunctionSpellLibGetActionGroups
FunctionSpellLibGetAESectorProps
FunctionSpellLibGetCooldown
FunctionSpellLibGetCurrentValues
FunctionSpellLibGetDescription
FunctionSpellLibGetDurationBuff
FunctionSpellLibGetGroups
FunctionSpellLibGetGroupsDescriptions
FunctionSpellLibGetIcon
FunctionSpellLibGetObjectSpell
FunctionSpellLibGetProperties
FunctionSpellLibGetRequiredBuffs
FunctionSpellLibGetRequiredResources
FunctionSpellLibGetRequirements
FunctionSpellLibGetState
FunctionSpellLibHasDurationBuff
SpellId


CategoryLuaApi CategoryEvent CategorySpellbook CategoryEffect

На главную