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

На главную

## EVENT_ATTACK_RESULT

Уведомление о неудачной немагической атаке. Более подробная информация - функция avatar.GetAttackResult библиотеки "avatar".

    -- поля:
    -- unitId: ObjectId (not nil) - идентификатор юнита
    -- code: number (enum) - код ошибки:

     ATTACK_RESULT_UNKNOWN - Внутренняя ошибка
     ATTACK_FAILED_DISTANCE - Слишком далеко
     ATTACK_FAILED_IN_FRONT - Не в передней полусфере
     ATTACK_FAILED_NO_LOS - Нет прямой видимости

#### Search: "CategoryLuaApi" "CategoryAction"

EnumActionFailCause
EnumActionResultSpecial
EventActionFailedExploit
EventActionFailedOther
EventActionFailedSpell
EventActionPanelChanged
EventActionPanelElementChanged
EventActionPanelElementEffect
EventActionProcessTerminated
EventActionProgressFinish
EventActionProgressFreeze
EventActionProgressStart
EventActionProgressUpdate
EventActionResultSpecialSpell
EventAEMarkPointClicked
EventAttackResult
EventAvatarDestinyPointsChanged
EventAvatarExperienceChanged
EventAvatarRestedExperienceChanged
EventClientImageHideAll
EventClientImageShow
EventClientMessage
EventContextActionPointStarted
EventContextActionsChanged
EventHealingReceived
EventLootMark
EventMobEvaded
EventTakeItemsFailed
FunctionAvatarBindItemToActionPanel
FunctionAvatarBindMountMetamorphToActionPanel
FunctionAvatarBindMountSkinToActionPanel
FunctionAvatarBindMountToActionPanel
FunctionAvatarBindSpellToActionPanel
FunctionAvatarGetActionInfo
FunctionAvatarGetAttackResult
FunctionAvatarGetContextActions
FunctionAvatarGetMaxActionCount
FunctionAvatarGetPetAggroMode
FunctionAvatarGetPetMoveMode
FunctionAvatarIsPetInCombat
FunctionAvatarPetAttack
FunctionAvatarSetPetAggroMode
FunctionAvatarSetPetMoveMode
FunctionAvatarStopCasting
FunctionAvatarUnBindFromActionPanel

CategoryLuaApi CategoryEvent CategoryAction

На главную