AdiButtonAuras

AdiButtonAuras

404k Downloads

Lua error in warlock rules

ckaotik opened this issue ยท 0 comments

commented

Using latest dev build. I don't know that much about warlocks but changing the offending GetPlayerAura to GetPlayerBuff seems to solve the issue.

8x AdiButtonAuras\rules\Warlock.lua:89: Unknown symbol 'GetPlayerAura'.
[C]: ?
AdiButtonAuras\core\SafeEnv.lua:87: in function <AdiButtonAuras\core\SafeEnv.lua:84>
AdiButtonAuras\rules\Warlock.lua:89: in function `handler'
AdiButtonAuras\core\Overlays.lua:438: in function <AdiButtonAuras\core\Overlays.lua:430>

Locals:
t = <table> {
 DescribeLPSSource = <function> defined @AdiButtonAuras\core\RuleDSL.lua:250
 BuildKey = <function> defined @AdiButtonAuras\core\Utils.lua:85
 BuildAuraHandler_FirstOf = <function> defined @AdiButtonAuras\core\RuleDSL.lua:302
 BuildDesc = <function> defined @AdiButtonAuras\core\RuleDSL.lua:238
 DescribeHighlight = <function> defined @AdiButtonAuras\core\RuleDSL.lua:217
 ShowPower = <function> defined @AdiButtonAuras\core\RuleDSL.lua:492
 UnitPowerMax = <function> defined =[C]:-1
 format = <function> defined =[C]:-1
 GetTime = <function> defined =[C]:-1
 UnitClass = <function> defined =[C]:-1
 SelfBuffAliases = <function> defined @AdiButtonAuras\core\RuleDSL.lua:564
 floor = <function> defined =[C]:-1
 UnitCastingInfo = <function> defined =[C]:-1
 IterateAuras = <function> defined @AdiButtonAuras\core\AuraTools.lua:275
 GetDebuff = <function> defined @AdiButtonAuras\core\AuraTools.lua:244
 PetBuffs = <function> defined @AdiButtonAuras\core\RuleDSL.lua:552
 GetTotemInfo = <function> defined =[C]:-1
 BuffAliases = <function> defined @AdiButtonAuras\core\RuleDSL.lua:556
 UnitPower = <function> defined =[C]:-1
 UnitHealth = <function> defined =[C]:-1
 SimpleDebuffs = <function> defined @AdiButtonAuras\core\RuleDSL.lua:526
 ImportPlayerSpells = <function> defined @AdiButtonAuras\core\RuleDSL.lua:492
 UnitIsDeadOrGhost = <function> defined =[C]:-1
 DescribeFilter = <function> defined @AdiButtonAuras\core\RuleDSL.lua:221
 SimpleBuffs = <function> defined @AdiButtonAuras\core\RuleDSL.lua:534
 Configure = <function> defined @AdiButtonAuras\core\RuleDSL.lua:492
 GetComboPoints = <function> defined =[C]:-1
 GetSpellInfo = <function> defined =[C]:-1
 UnitHealthMax = <function> defined =[C]:-1
 min = <function> defined =[C]:-1
 IteratePlayerBuffs = <function> defined @AdiButtonAuras\core\AuraTools.lua:252
 SafeGetGlobal = <function> defined @AdiButtonAuras\core\SafeEnv.lua:73
 IteratePlayerDebuffs = <function> defined @AdiButtonAuras\core\AuraTools.lua:252
 tinsert = <function> defined =[C]:-1
 SharedSimpleDebuffs = <function> defined @AdiButtonAuras\core\RuleDSL.lua:530
 string = <table> {
 }
 DescribeAllSpells = <function> defined @AdiButtonAuras\core\RuleDSL.lua:231
 bit = <table> {
 }
 print = <function> defined @FrameXML\RestrictedInfrastructure.lua:116
 IterateDebuffs = <function> defined @AdiButtonAuras\core\AuraTools.lua:252
 table = <table> {
 }
 IterateBuffs = <function> defined @AdiButtonAuras\core\AuraTools.lua:252
 GetLib = <function> defined @AdiButtonAuras\core\SafeEnv.lua:66
 ipairs = <function> defined =[C]:-1
 GetNumGroupMembers = <function> defined =[C]:-1
 PLAYER_CLASS = "WARLOCK"
 AddRuleFor = <function> defined @AdiButtonAuras\core\RuleDSL.lua:168
 STAGGER_YELLOW_TRANSITION = 0.3
 GetPlayerDebuff = <function> defined @AdiButtonAuras\core\AuraTools.lua:244
 UnitStagger = <function> defined =[C]:-1
 GetAura = <function> defined @AdiButtonAuras\core\AuraTools.lua:272
 BuildAuraHandler_Longest = <function> defined @AdiButtonAuras\core\RuleDSL.lua:279
 UnitChannelInfo = <function> defined =[C]:-1
 math = <table> {
 }
 L = <table> {
 }
 pairs = <function> defined =[C]:-1
 UnitCanAttack = <function> defined =[C]:-1
 DescribeAllTokens = <function> defined @AdiButtonAuras\core\RuleDSL.lua:225
 SelfBuffs = <function> defined @AdiButtonAuras\core\RuleDSL.lua:548
 Debug = <function> defined @AdiButtonAuras\core\RuleDSL.lua:73
 GetPlayerBuff = <function> defined @AdiButtonAuras\core\AuraTools.lua:244
 GetBuff = <function> defined @AdiButtonAuras\core\