HeroLib

HeroLib

2M Downloads

Trinket issue

Promixius opened this issue ยท 1 comments

commented

It renders herorotation useless untill the useable trinket is on cd, as long as the trinket is on cd everything works but off of cd herorotation remains disabled.

11259x ...rfaceHeroLib/Class/Unit/Player/Equipment.lua:109: attempt to get length of local 'ExcludedTrinkets' (a nil value)
[string "@HeroLib/Class/Unit/Player/Equipment.lua"]:109: in function GetUseableTrinkets' [string "@HeroRotation_Hunter/Survival.lua"]:197: in function <HeroRotation_Hunter/Survival.lua:156> [string "@HeroRotation_Hunter/Survival.lua"]:495: in function ?'
[string "@HeroRotation/Main.lua"]:455: in function <HeroRotation/Main.lua:433>

Locals:
self =

{
CovenantID = defined @HeroLib/Class/Unit/Player/Main.lua:58
UseCache = true
ChiDeficitPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:595
GCDStartTime = defined @HeroLib/Class/Unit/Player/Stat.lua:70
Race = defined @HeroLib/Class/Unit/Player/Main.lua:46
Insanityrain = defined @HeroLib/Class/Unit/Player/Power.lua:647
FocusLossOnCastEnd = defined @HeroLib/Class/Unit/Player/Power.lua:226
PainMax = defined @HeroLib/Class/Unit/Player/Power.lua:724
IsInVehicle = defined @HeroLib/Class/Unit/Player/Main.lua:124
IsInParty = defined @HeroLib/Class/Unit/Player/Main.lua:33
EnergyDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:279
Fury = defined @HeroLib/Class/Unit/Player/Power.lua:697
InstanceInfo = defined @HeroLib/Class/Unit/Player/Instance.lua:22
RageDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:139
VersatilityDmgPct = defined @HeroLib/Class/Unit/Player/Stat.lua:119
FocusTimeToXPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:202
MaelstromPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:553
ArcaneCharges = defined @HeroLib/Class/Unit/Player/Power.lua:665
IsInDungeonArea = defined @HeroLib/Class/Unit/Player/Instance.lua:53
ActiveMitigationNeeded = defined @HeroLib/Class/Unit/Player/Tank.lua:57
UpdateActiveLegendaryEffects = defined @HeroLib/Class/Unit/Player/Equipment.lua:144
SoulShardsDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:469
EssenceDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:766
GetEnemiesInRange = defined @HeroLib/Class/Unit/Player/Enemies.lua:53
IsInWhitelistedVehicle = defined @HeroLib/Class/Unit/Player/Main.lua:160
PainDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:739
AttackPower = defined @HeroLib/Class/Unit/Player/Stat.lua:78
FocusCastRegen = defined @HeroLib/Class/Unit/Player/Power.lua:208
PainDeficitPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:744
PrevOffGCD = defined @HeroLib/Events/Prev_Spell.lua:236
MasteryPct = defined @HeroLib/Class/Unit/Player/Stat.lua:114
InsanityPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:632
ManaDeficitPercentageP = defined @HeroLib/Class/Unit/Player/Power.lua:113
FuryDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:707
PrevGCD = defined @HeroLib/Events/Prev_Spell.lua:202
AstralPowerMax = defined @HeroLib/Class/Unit/Player/Power.lua:481
IsMounted = defined @HeroLib/Class/Unit/Player/Main.lua:28
EssenceDeficitPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:771
EnergyRegenPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:289
RunicPowerDeficit = defined @HeroLib/Class/Unit/Player/Power.lua:389
FuryPercentage = defined @HeroLib/Class/Unit/Player/Power.lua:702
Insanity = defined @HeroLib/Class/Unit/Player/Power.lua:627
EnergyTimeToMaxPredicted = defined @HeroLib/Class/Unit/Player/Power.lua:336
ArcaneChargesPercentage = defined @h

commented