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

На главную


avatar.RunAESpell( spellId, position )

Начинает сотворение заклинания в указанную точку на карте. См. также GamePosition.

ВНИМАНИЕ! Для сторонних аддонов есть ограничения:

1. Этот метод недоступен на PvP активностях.

2. Этот метод будет работать только в обработчиках реакции на действия (не перемещение) мыши, т.е. на нажатие кнопки.

-- библиотека
avatar

-- объявление:
function RunAESpell( spellId, position )

-- параметры
spellId: SpellId - идентификатор заклинания
position: таблица GamePosition

-- возвращаемые значения
нет

-- пример использования

-- EVENT_AEMARK_POINT_CLICKED
function OnEventAEMarkPointClicked( params )
  avatar.RunAESpell( aeSpellId, params )
end

Связанные страницы: "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" "CategoryPosition"

CategoryPosition
EventAEMarkPointClicked
EventAstralUnitPosChanged
EventAvatarClientZoneChanged
EventAvatarDirChanged
EventAvatarMapChanged
EventAvatarMapInfoAvailable
EventAvatarPosChanged
EventAvatarZoneChanged
EventCameraDirectionChanged
EventCrosshairTargetPosChanged
EventObjectDetectFinished
EventObjectDetectorListChanged
EventObjectDetectStarted
EventPartyMemberPositionUpdated
EventProjectedObjectsChanged
EventRaidMemberPositionUpdated
EventSpousePositionUpdated
EventTargetPosChanged
EventTransportPosChanged
EventUnitPosChanged
FunctionAvatarGetDir
FunctionAvatarGetPos
FunctionAvatarIsNavigateToPoint
FunctionAvatarRunAESpell
FunctionCartographerCanNavigateToPoint
FunctionCartographerGetCurrentMapInfo
FunctionCartographerGetCurrentZoneInfo
FunctionCartographerGetMapBlockInfo
FunctionCartographerGetMapBlocks
FunctionCartographerGetObjectGeodata
FunctionCartographerGetQuestGeodata
FunctionCartographerGetQuestObjectiveGeodata
FunctionCartographerGetSosInfo
FunctionCartographerGetZonesMapInfo
FunctionCartographerGetZonesMapLowQuests
FunctionCartographerGetZonesMapQuests
FunctionCartographerIsCurrentZoneAnonymizedMap
FunctionCartographerIsCurrentZoneRiftMap
FunctionCartographerIsFinalQuestCompleted
FunctionCartographerIsOnCommon
FunctionMissionGetCameraDirection
FunctionObjectGetPos
FunctionTransportGetPosition
GamePosition
Geodata


CategoryLuaApi CategoryFunction CategorySpellbook CategoryAllowedInReactions CategoryPosition

На главную