Skip to content

Commit

Permalink
Fix ashran currency detection on gossip
Browse files Browse the repository at this point in the history
  • Loading branch information
QartemisT authored Sep 3, 2024
1 parent 02b9559 commit cef7ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBM-PvP/Battlegrounds/Ashran.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ do
end
local cid = self:GetCIDFromGUID(UnitGUID("target") or "")
if cid == 81870 or cid == 82204 or cid == 183198 then -- Anenga (Alliance) | Atomik/Narduke (Horde)
local _, currency = GetCurrencyInfo(944) -- Artifact Fragment
if currency > 0 and GetNumGossipOptions() == 3 then -- If boss isn't already summoned
local currency = GetCurrencyInfo(944) -- Artifact Fragment
if currency and currency.quantity > 0 and GetNumGossipOptions() == 3 then -- If boss isn't already summoned
local gossipOptionID = self:GetGossipID()
if gossipOptionID then
self:SelectGossip(gossipOptionID)
Expand Down

0 comments on commit cef7ad7

Please sign in to comment.