herotc/hero-rotation

[Bug]: Brewmaster Error

Closed this issue · 1 comments

What version of HeroRotation are you using?

10.2.0.02

What version of HeroLib are you using?

10.1.7.04

What version of HeroDBC are you using?

10.2.0.01

What is the issue?

This appears in my BugSack when I'm in combat sometimes

356x HeroRotation_Monk/Brewmaster.lua:278: attempt to compare function with number
[string "@HeroRotation_Monk/Brewmaster.lua"]:278: in function <HeroRotation_Monk/Brewmaster.lua:273>
[string "@HeroRotation_Monk/Brewmaster.lua"]:454: in function `?'
[string "@HeroRotation/Main.lua"]:456: in function <HeroRotation/Main.lua:434>

Locals:
(*temporary) = <function> defined =[C]:-1
(*temporary) = 18441.258000
(*temporary) = 3.869000
(*temporary) = 18441.258000
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = false
(*temporary) = "attempt to compare function with number"
S = <table> {
 PoolEnergy = <table> {
 }
 ArcaneTorrent = <table> {
 }
 FortifyingBrew = <table> {
 }
 BreathofFireDotDebuff = <table> {
 }
 InnerStrengthBuff = <table> {
 }
 CracklingJadeLightning = <table> {
 }
 HighTolerance = <table> {
 }
 BloodFury = <table> {
 }
 KegSmash = <table> {
 }
 CelestialFlames = <table> {
 }
 CharredPassionsBuff = <table> {
 }
 RushingJadeWindBuff = <table> {
 }
 BonedustBrewBuff = <table> {
 }
 StrengthofSpirit = <table> {
 }
 ElusiveBrawlerBuff = <table> {
 }
 LightStagger = <table> {
 }
 StopFoF = <table> {
 }
 SummonBlackOxStatue = <table> {
 }
 EyeoftheTiger = <table> {
 }
 TigerTailSweep = <table> {
 }
 Roll = <table> {
 }
 QuakingPalm = <table> {
 }
 ChiBurst = <table> {
 }
 BlackoutComboBuff = <table> {
 }
 GiftoftheNaaru = <table> {
 }
 ImprovedPurifyingBrew = <table> {
 }
 ChiWave = <table> {
 }
 BlackOxBrew = <table> {
 }
 TheEmperorsCapacitorBuff = <table> {
 }
 PresstheAdvantage = <table> {
 }
 RushingJadeWind = <table> {
 }
 DiffuseMagic = <table> {
 }
 ExpelHarm = <table> {
 }
 FastFeet = <table> {
 }
 TouchofDeath = <table> {
 }
 ChiTorpedo = <table> {
 }
 Resuscitate = <table> {
 }
 CalltoDominanceBuff = <table> {
 }
 AncestralCall = <table> {
 }
 Vivify = <table> {
 }
 ImpTouchofDeath = <table> {
 }
 RingofPeace = <table> {
 }
 ExplodingKeg = <table> {
 }
 SpecialDelivery = <table> {
 }
 TranscendenceTransfer = <table> {
 }
 Fireblood = <table> {
 }
 Celerity = <table> {
 }
 BagofTricks = <table> {
 }
 TigerPalm = <table> {
 }
 Provoke = <table> {
 }
 LightBrewing = <table> {
 }
 WeaponsofOrderDebuff = <table> {
 }
 CelestialBrew = <table> {
 }
 Disable = <table> {
 }
 WeaponsofOrder = <table> {
 }
 DampenHarm = <table> {
 }
 DampenHarmBuff = <table> {
 }
 InvokeNiuzaoTheBlackOx = <table> {
 }
 ModerateStagger = <table> {
 }
 FortifyingBrewBuff = <table> {
 }
 LightsJudgment = <table> {
 }
 PurifyingBrew = <table> {
 }
 PresstheAdvantageBuff = <table> {
 }
 SpearHandStrike = <table> {
 }
 BlackoutKick = <table> {
 }
 BonedustBrewDebuff = <table> {
 }
 WeaponsofOrderBuff = <table> {
 }
 BobandWeave = <table> {
 }
 Shuffle = <table> {
 }
 BonedustBrew = <table> {
 }
 TigersLust = <table> {
 }
 RisingSunKick = <table> {
 }
 BlackoutCombo = <table> {
 }
 Detox = <table> {
 }
 CharredPassions = <table> {
 }
 BreathofFire = <table> {
 }
 Transcendence = <table> {
 }
 ImprovedInvokeNiuzao = <table> {
 }
 HeavyStagger = <table> {
 }
 Clash = <table> {
 }
 LegSweep = <table> {
 }
 Berserking = <table> {
 }
 Paralysis = <table> {
 }
 Shadowmeld = <table> {
 }
 SpinningCraneKick = <table> {
 }
 SummonWhiteTigerStatue = <table> {
 }
}
Cast = <function> defined @HeroRotation/Core.lua:152
Target = <table> {
 UnitCanBeAttacked = true
 UnitName = "Zaqali Keeneye"
 UnitNPCID = 208660
 UnitID = "target"
 UseCache = true
 UnitExists = true
 UnitGUID = "Creature-0-4212-2548-54-208660-00004BD658"
}
Monk = <table> {
 LastNiuzaoStomp = <function> defined =[C]:-1
 NiuzaoGUID = "Creature-0-4212-2548-54-73967-00004BE835"
}
Player = <table> {
 UseCache = true
 ChiDeficitPercentage = <function> defined @HeroLib/Class/Unit/Player/Power.lua:595
 GCDStartTime = <function> defined @HeroLib/Class/Unit/Player/Stat.lua:70
 Race = <function> defined @HeroLib/Class/Unit/Player/Main.lua:45
 Insanityrain = <function> defined @HeroLib/Class/Unit/Player/Power.lua:647
 FocusLossOnCastEnd = <function> defined @HeroLib/Class/Unit/Player/Power.lua:226
 PainMax = <function> defined @HeroLib/Class/Unit/Player/Power.lua:724
 IsInVehicle = <function> defined @HeroLib/Class/Unit/Player/Main.lua:104
 IsInParty = <function> defined @HeroLib/Class/Unit/Player/Main.lua:32
 EnergyDeficit = <function> defined @Ad

Icon Behavior

Icon disappears

This is fixed in commit d4e81b5