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

На главную


spellLib.BuffsCanDispel ( UnitId )

Можем ли мы сбросить один из отрицательных эффектов (игнорируя текущее действие, кулдаун, ограничения цели и т.д.).

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

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

-- параметры
id: UnitId - Id объекта

-- возвращаемые значения
boolean - можно ли снять один из эффектов в принципе (игнорируя текущее действие, кулдаун и ограничения цели)

-- пример использования
self:Activate( spellLib.BuffsCanDispel ( unitId ) )

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

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


CategoryLuaApi CategoryFunction CategorySpellbook CategorySpellLib

На главную