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

На главную


spellLib.GetDurationBuffId( spellId )

Получить ресурс durationBuff спелла.

durationBuff - специальный бафф связанный со спеллом оставшееся время действия которого надлежит показывать на иконке спелла в панели действий. Например время жизни механизмов инженера и тп.

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

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

-- параметры
id: SpellId - Id умения

-- возвращаемые значения
BuffId or nil - идентификатор бафа, если такой баф есть у спелла

-- пример использования
local durationBuff = spellLib.GetDurationBuffId( spellId )

Связанные страницы: "CategoryLuaApi" "CategorySpellLib"

CategorySpellLib
EnumSpellbookPage
FunctionAvatarGetBuildSwitchSpell
FunctionGuildHallLibGetTeleportSpell
FunctionHangarGetLendShipSpellId
FunctionHangarGetReturnLendedShipSpellId
FunctionSpellLibCanRunAvatar
FunctionSpellLibCanRunAvatarEx
FunctionSpellLibGetActionGroups
FunctionSpellLibGetActionGroupsDescriptions
FunctionSpellLibGetAESectorProps
FunctionSpellLibGetCooldown
FunctionSpellLibGetCurrentValues
FunctionSpellLibGetDescription
FunctionSpellLibGetDescriptionParams
FunctionSpellLibGetDurationBuffId
FunctionSpellLibGetIcon
FunctionSpellLibGetObjectSpell
FunctionSpellLibGetProperties
FunctionSpellLibGetRequiredBuffs
FunctionSpellLibGetRequiredResources
FunctionSpellLibGetRequirements
FunctionSpellLibGetState
FunctionSpellLibGetSysName
FunctionSpellLibGetValuedObject


CategoryLuaApi CategoryFunction CategorySpellbook CategorySpellLib

На главную