Пользовательские дополнения
На главную
spellLib.GetRequiredBuffs( SpellId )
Возвращает список бафов, требующихся для применения умения.
-- библиотека
spellLib
-- объявление:
function GetRequiredBuffs( SpellId )
-- параметры
id: SpellId - Id умения
-- возвращаемые значения
table[1] of tables, поля:
buffId: BuffId - ид ресурса бафа
stackCount: int - требуемое число стаков бафа
-- пример использования
local spellbook = avatar.GetSpellBook()
local spellRequiredBuffs = spellLib.GetRequiredBuffs( spellbook[1] )
Связанные страницы: "CategoryLuaApi" "CategorySpellLib"
CategorySpellLib
EnumSpellbookPage
FunctionAvatarGetBuildSwitchSpell
FunctionGuildHallLibGetTeleportSpell
FunctionHangarGetLendShipSpellId
FunctionHangarGetReturnLendedShipSpellId
FunctionSpellLibCanRunAvatar
FunctionSpellLibCanRunAvatarEx
FunctionSpellLibGetActionGroups
FunctionSpellLibGetActionGroupsDescriptions
FunctionSpellLibGetAESectorProps
FunctionSpellLibGetCooldown
FunctionSpellLibGetCurrentValues
FunctionSpellLibGetDescription
FunctionSpellLibGetDescriptionParams
FunctionSpellLibGetDurationBuff
FunctionSpellLibGetIcon
FunctionSpellLibGetObjectSpell
FunctionSpellLibGetProperties
FunctionSpellLibGetRequiredBuffs
FunctionSpellLibGetRequiredResources
FunctionSpellLibGetRequirements
FunctionSpellLibGetState
FunctionSpellLibGetValuedObject
FunctionSpellLibHasDurationBuff
CategoryLuaApi
CategoryFunction
CategorySpellbook
CategorySpellLib
На главную