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

На главную


avatar.RunAESpell( spellId, position )

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

ВНИМАНИЕ! В пользовательских аддонах есть ограничение: этот метод будет работать только в обработчиках реакции на действия (не перемещение) мыши. То есть на нажатие кнопки.

-- библиотека
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
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" "CategoryPosition"

CategoryPosition
EventAEMarkPointClicked
EventAstralUnitPosChanged
EventAvatarClientZoneChanged
EventAvatarDirChanged
EventAvatarMapChanged
EventAvatarPosChanged
EventAvatarZoneChanged
EventCameraDirectionChanged
EventObjectDetectFinished
EventObjectDetectorListChanged
EventObjectDetectStarted
EventPartyMemberPositionUpdated
EventProjectedObjectsChanged
EventRaidMemberPositionUpdated
EventSpousePositionUpdated
EventTransportPosChanged
EventUnitPosChanged
FunctionAvatarGetDir
FunctionAvatarGetPos
FunctionAvatarIsNavigateToPoint
FunctionAvatarRunAESpell
FunctionCartographerCanNavigateToPoint
FunctionCartographerGetCurrentMap
FunctionCartographerGetCurrentZone
FunctionCartographerGetMapBlockInfo
FunctionCartographerGetMapBlocks
FunctionCartographerGetObjectGeodata
FunctionCartographerGetQuestGeodata
FunctionCartographerGetQuestObjectiveGeodata
FunctionCartographerGetSosInfo
FunctionCartographerGetZonesMapInfo
FunctionCartographerGetZonesMapQuests
FunctionCartographerIsFinalQuestCompleted
FunctionCartographerNavigateToObject
FunctionCartographerNavigateToPoint
FunctionCartographerNavigateToRule
FunctionMissionGetCameraDirection
FunctionObjectGetPos
FunctionTransportGetPosition
GamePosition
Geodata


CategoryLuaApi CategoryFunction CategorySpellbook CategoryAllowedInReactions CategoryPosition

На главную