Ice Lance Causes Lua Error
Gaitajr opened this issue ยท 3 comments
Lua error pops up every time my mage casts Ice Lance.
Message: Interface\AddOns\HeroLib\Class\Unit\Aura.lua:43: Usage: GetPlayerAuraBySpellID(spellID)
Time: Wed Jul 20 15:48:31 2022
Count: 62
Stack: Interface\AddOns\HeroLib\Class\Unit\Aura.lua:43: Usage: GetPlayerAuraBySpellID(spellID)
Locals:
I reloaded UI and cast only Ice Lance. I had a total of three errors. These are #1 and #2.
Error one:
Message: Interface\AddOns\HeroLib\Class\Unit\Aura.lua:43: Usage: GetPlayerAuraBySpellID(spellID)
Time: Wed Jul 20 16:27:56 2022
Count: 1
Stack: Interface\AddOns\HeroLib\Class\Unit\Aura.lua:43: Usage: GetPlayerAuraBySpellID(spellID)
[string "@interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:97: in function BuffRemains' [string "@Interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:115: in function <Interface\AddOns\HeroLib\Class\Unit\Aura.lua:114> [string "@Interface\AddOns\HeroRotation_Mage\Overrides.lua"]:311: in function
BuffUp'
[string "@interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:120: in function <Interface\AddOns\HeroLib\Class\Unit\Aura.lua:119>
[string "@interface\AddOns\HeroRotation_Mage\Overrides.lua"]:327: in function BuffDown' [string "@Interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:81: in function <Interface\AddOns\HeroLib\Class\Unit\Aura.lua:79> [string "@Interface\AddOns\HeroRotation_Mage\Overrides.lua"]:285: in function
BuffStack'
[string "@interface\AddOns\HeroRotation_Mage\Overrides.lua"]:314: in function BuffUp' [string "@Interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:120: in function <Interface\AddOns\HeroLib\Class\Unit\Aura.lua:119> [string "@Interface\AddOns\HeroRotation_Mage\Overrides.lua"]:327: in function
BuffDown'
[string "@interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:81: in function <Interface\AddOns\HeroLib\Class\Unit\Aura.lua:79>
[string "@interface\AddOns\HeroRotation_Mage\Overrides.lua"]:285: in function BuffStack' [string "@Interface\AddOns\HeroRotation_Mage\Frost.lua"]:330: in function <Interface\AddOns\HeroRotation_Mage\Frost.lua:316> [string "@Interface\AddOns\HeroRotation_Mage\Frost.lua"]:476: in function
?'
[string "@interface\AddOns\HeroRotation\Main.lua"]:449: in function <Interface\AddOns\HeroRotation\Main.lua:427>
error two:
Message: Interface\AddOns\HeroLib\Class\Unit\Aura.lua:43: Usage: GetPlayerAuraBySpellID(spellID)
Time: Wed Jul 20 16:27:56 2022
Count: 1
Stack: Interface\AddOns\HeroLib\Class\Unit\Aura.lua:43: Usage: GetPlayerAuraBySpellID(spellID)
[string "@interface\AddOns\HeroRotation_Mage\Overrides.lua"]:327: in function BuffDown' [string "@Interface\AddOns\HeroLib\Class\Unit\Aura.lua"]:81: in function <Interface\AddOns\HeroLib\Class\Unit\Aura.lua:79> [string "@Interface\AddOns\HeroRotation_Mage\Overrides.lua"]:285: in function
BuffStack'
[string "@interface\AddOns\HeroRotation_Mage\Frost.lua"]:330: in function <Interface\AddOns\HeroRotation_Mage\Frost.lua:316>
[string "@interface\AddOns\HeroRotation_Mage\Frost.lua"]:476: in function `?'
[string "@interface\AddOns\HeroRotation\Main.lua"]:449: in function <Interface\AddOns\HeroRotation\Main.lua:427>
Locals: self =
{CovenantID = defined @interface\AddOns\HeroLib\Class\Unit\Player\Main.lua:58
UseCache = true
ChiDeficitPercentage = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:596
GCDStartTime = defined @interface\AddOns\HeroLib\Class\Unit\Player\Stat.lua:70
Race = defined @interface\AddOns\HeroLib\Class\Unit\Player\Main.lua:46
Insanityrain = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:648
FocusLossOnCastEnd = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:226
PainMax = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:725
IsInVehicle = defined @interface\AddOns\HeroLib\Class\Unit\Player\Main.lua:124
IsInParty = defined @interface\AddOns\HeroLib\Class\Unit\Player\Main.lua:33
EnergyDeficit = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:279
Fury = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:698
BuffUp = defined @interface\AddOns\HeroRotation_Mage\Overrides.lua:310
InstanceInfo = defined @interface\AddOns\HeroLib\Class\Unit\Player\Instance.lua:22
RageDeficit = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:139
VersatilityDmgPct = defined @interface\AddOns\HeroLib\Class\Unit\Player\Stat.lua:119
ArcaneChargesDeficitPercentage = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:681
MaelstromPercentage = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:554
ArcaneCharges = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:666
IsInDungeonArea = defined @interface\AddOns\HeroLib\Class\Unit\Player\Instance.lua:53
ActiveMitigationNeeded = defined @interface\AddOns\HeroLib\Class\Unit\Player\Tank.lua:57
UpdateActiveLegendaryEffects = defined @interface\AddOns\HeroLib\Class\Unit\Player\Equipment.lua:141
SoulShardsDeficit = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:470
AffectingCombat = defined @interface\AddOns\HeroRotation_Mage\Overrides.lua:376
GetEnemiesInRange = defined @interface\AddOns\HeroLib\Class\Unit\Player\Enemies.lua:53
IsInWhitelistedVehicle = defined @interface\AddOns\HeroLib\Class\Unit\Player\Main.lua:160
PainDeficit = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:740
AttackPower = defined @interface\AddOns\HeroLib\Class\Unit\Player\Stat.lua:78
FocusCastRegen = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:208
PainDeficitPercentage = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:745
PrevOffGCD = defined @interface\AddOns\HeroLib\Events\Prev_Spell.lua:236
MasteryPct = defined @interface\AddOns\HeroLib\Class\Unit\Player\Stat.lua:114
InsanityPercentage = defined @interface\AddOns\HeroLib\Class\Unit\Player\Power.lua:633
ManaDeficitPercentageP = defined @interface\AddOns\HeroLib\Class\
This should be fixed in commit herotc/hero-rotation@c943998