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

На главную

## 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
EventAvatarAliveChanged
EventAvatarBarriersChanged
EventAvatarCreated
EventAvatarStatsChanged
EventAvatarTargetTargetChanged
EventCharacterClassChangerChanged
EventDruidPetCommandPointsChanged
EventFairyBonusChanged
EventNecromancerBloodPoolChanged
FunctionAvatarCancelClassChanger
FunctionAvatarChangeFairyBonus
FunctionAvatarGetBarriersDelay
FunctionAvatarGetBarriersInfo
FunctionAvatarGetClass
FunctionAvatarGetClassChangerBonusStats
FunctionAvatarGetClassChangerInfo
FunctionAvatarGetClassChangerRangeBonusStats
FunctionAvatarGetClassId
FunctionAvatarGetDeviceList
FunctionAvatarGetDruidPetCommandPoints
FunctionAvatarGetHealthRegen
FunctionAvatarGetId
FunctionAvatarGetInnateStats
FunctionAvatarGetMainhandSpeed
FunctionAvatarGetManaRegen
FunctionAvatarGetNecromancerBloodPool
FunctionAvatarGetNextLevelUnlockInfo
FunctionAvatarGetOffhandSpeed
FunctionAvatarGetPower
FunctionAvatarGetRangedSpeed
FunctionAvatarGetResistances
FunctionAvatarGetServerId
FunctionAvatarGetStamina
FunctionAvatarGetStatsBonusesPart
FunctionAvatarGetUnitList
FunctionAvatarGetViewedBuildFreeRubyPoints
FunctionAvatarGetViewedBuildFreeStatPoints
FunctionAvatarGetViewedBuildFreeTalentPoints
FunctionAvatarGetWisdom
FunctionAvatarIsAbleToMove
FunctionAvatarIsAlive
FunctionAvatarIsExist
FunctionAvatarIsNavigateToPoint
FunctionAvatarIsNextLevelLocked
FunctionAvatarSetClassChangerInfo
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

На главную