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

На главную


spellLib.GetRequiredBuffs( SpellId )

Возвращает список бафов, требующихся для применения умения.

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

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

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

-- возвращаемые значения

table of ObjectId or nil - индексированный с 0 список идентификаторов бафов, требующихся для применения умения

-- пример использования
local spellbook = avatar.GetSpellBook()
local spellRequiredBuffs = spellLib.GetRequiredBuffs( spellbook[1] )

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

CategorySpellLib
EnumSpellbookPage
FunctionAvatarGetBuildSwitchSpell
FunctionHangarGetLendShipSpellId
FunctionHangarGetReturnLendedShipSpellId
FunctionSpellLibCanRunAvatar
FunctionSpellLibCanRunAvatarEx
FunctionSpellLibGetActionGroups
FunctionSpellLibGetCooldown
FunctionSpellLibGetCurrentValues
FunctionSpellLibGetDescription
FunctionSpellLibGetGroups
FunctionSpellLibGetGroupsDescriptions
FunctionSpellLibGetIcon
FunctionSpellLibGetObjectSpell
FunctionSpellLibGetProperties
FunctionSpellLibGetRequiredBuffs
FunctionSpellLibGetRequiredResources
FunctionSpellLibGetRequirements
FunctionSpellLibGetState
FunctionSpellLibGetValuedObject


CategoryLuaApi CategoryFunction CategorySpellbook CategorySpellLib

На главную