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

На главную

## avatar.GetBarriersInfo()

Возвращает информацию о барьерах (паладина).

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

    -- объявление:
    function GetBarriersInfo()

    -- параметры:
    нет

    -- возвращаемые значения:
    таблица, индексированная 0..BarriersCount - 1, значения таблицы - таблицы с полями:
     damage: number (int) - величина текущего урона в барьере
     remainingTimeMs: number (int) - оставшееся время до разрешения барьера

Пример:

    local barriers = avatar.GetBarriersInfo()
    for i = 0, GetTableSize( barriers ) - 1 do
     local barrier = barriers[i]
     common.LogInfo( "common", "damage: " .. barrier.damage .. ", time (ms): " .. barrier.remainingTimeMs )
    end

#### Search: "CategoryLuaApi" "CategoryAvatarInfo"

EnumCreatureStat
EnumsInnateStats
EnumsResistances
EventAvatarBarriersChanged
EventAvatarCreated
EventAvatarPrimaryTargetChanged
EventAvatarSecondaryTargetChanged
EventAvatarStatsChanged
EventAvatarTargetTargetChanged
EventCharacterClassChangerChanged
EventDruidPetCommandPointsChanged
EventNecromancerBloodPoolChanged
FunctionAvatarCancelClassChanger
FunctionAvatarGetBarriersDelay
FunctionAvatarGetBarriersInfo
FunctionAvatarGetClass
FunctionAvatarGetClassChangerBonusStats
FunctionAvatarGetClassChangerInfo
FunctionAvatarGetClassChangerRangeBonusStats
FunctionAvatarGetClassId
FunctionAvatarGetDeviceList
FunctionAvatarGetDruidPetCommandPoints
FunctionAvatarGetHealthRegen
FunctionAvatarGetId
FunctionAvatarGetInnateStats
FunctionAvatarGetMainhandSpeed
FunctionAvatarGetManaRegen
FunctionAvatarGetNecromancerBloodPool
FunctionAvatarGetNextLevelUnlockInfo
FunctionAvatarGetOffhandSpeed
FunctionAvatarGetPower
FunctionAvatarGetRangedSpeed
FunctionAvatarGetResistances
FunctionAvatarGetStamina
FunctionAvatarGetUnitList
FunctionAvatarGetViewedBuildFreeRubyPoints
FunctionAvatarGetViewedBuildFreeStatPoints
FunctionAvatarGetViewedBuildFreeTalentPoints
FunctionAvatarGetWisdom
FunctionAvatarIsAbleToMove
FunctionAvatarIsExist
FunctionAvatarIsNavigateToPoint
FunctionAvatarIsNextLevelLocked
FunctionAvatarSetClassChangerInfo
FunctionProtectedMissionGetInnateStatSecondary
InnateStatSecondary

#### Search: "CategoryLuaApi" "CategoryClassSpecific"

EventAvatarBarriersChanged
EventAvatarPsionicChannelChanged
EventAvatarPsionicContactAdded
EventAvatarPsionicContactChanged
EventAvatarPsionicContactRemoved
EventAvatarPsionicDangerSenseLocated
EventAvatarPsionicDangerSenseTarget
EventAvatarPsionicReadThought
EventAvatarPsionicUnreadableThought
EventAvatarStalkerCartridgeBeltChanged
EventAvatarWarriorCombatAdvantageChanged
EventResurrectRejected
EventResurrectRequested
EventVariableValueChanged
FunctionAvatarGetBarriersDelay
FunctionAvatarGetBarriersInfo
FunctionAvatarGetPsionicContacts
FunctionAvatarGetStalkerCartridge
FunctionAvatarGetVariableInfo
FunctionAvatarGetVariables
FunctionAvatarGetWarriorCombatAdvantage
FunctionAvatarHasPsionicChannel
FunctionAvatarResurrectReply

CategoryLuaApi CategoryFunction CategoryAvatar CategoryAvatarInfo CategoryClassSpecific

На главную