Skip to content

Commit

Permalink
fix(Fire): Fix trinket handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilraaz committed Sep 25, 2024
1 parent e27f93f commit e4eebe6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion HeroRotation_Mage/Fire.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ local VarCombustionOnUse
local VarTreacherousTransmitterPrecombatCast
local VarTrinketFailures = 0
local function SetTrinketVariables()
Trinket1, Trinket2 = Player:GetTrinketItems()
local T1, T2 = Player:GetTrinketItems()

-- If we don't have trinket items, try again in 5 seconds.
if VarTrinketFailures < 5 and ((T1.ID == 0 or T2.ID == 0) or (T1.SpellID > 0 and not T1.Usable or T2.SpellID > 0 and not T2.Usable)) then
Expand All @@ -118,6 +118,9 @@ local function SetTrinketVariables()
return
end

Trinket1 = T1.Object
Trinket2 = T2.Object

VarCombustionOnUse = I.ForgedGladiatorsBadge:IsEquipped() or I.TreacherousTransmitter:IsEquipped() or I.CrimsonGladiatorsBadge:IsEquipped() or I.DraconicGladiatorsBadge:IsEquipped() or I.ObsidianGladiatorsBadge:IsEquipped() or I.VerdantGladiatorsBadge:IsEquipped() or I.MoonlitPrism:IsEquipped() or I.IrideusFragment:IsEquipped() or I.SpoilsofNeltharus:IsEquipped() or I.TimebreachingTalon:IsEquipped() or I.HornofValor:IsEquipped()

VarTreacherousTransmitterPrecombatCast = 12
Expand Down

0 comments on commit e4eebe6

Please sign in to comment.