TBC PvP trinket
XyzKangUI opened this issue ยท 4 comments
Can you add UNIT_SPELLCAST_SUCCEEDED event for trinket alerting, since they apparently don't show in combat log.
Example:
function GladiatorlosSA:UNIT_SPELLCAST_SUCCEEDED(event, unitTarget, castGUID, spellID)
if gsadb.class and spellID == 42292 then
local guid = UnitGUID(unitTarget)
local c = self:ArenaClass(guid)
if c then
self:PlaySound(c);
end
end
end
Anyway, I hope this example will be sufficient for a TBC trinket alert implementation. Thanks for your work.
On a side note, the drinking tooltip claims that "Alert Drinking" only announces when enemy is drinking. But it also announces friendly drinks. I suggest editing tooltip or if UnitIsEnemy("player", uid) and gsadb.drinking then
?
Wow I am so sorry, I did not get any notifications for this ticket.
Does that solution actually work? I was under the impression that I could only actually pull data like that from the combat log. If that's all it takes to fix the issue then I feel like a complete moron.
Wow I am so sorry, I did not get any notifications for this ticket.
Does that solution actually work? I was under the impression that I could only actually pull data like that from the combat log. If that's all it takes to fix the issue then I feel like a complete moron.
Yes it works in TBCC, been using it for one month now. Although I use Gladiatorlosa 1.13 version or something instead of the Shadowlands one. Please don't forget the drinking fix or tooltip correction. Here is the commit of the changes (temporary repo, will be deleted when you add it) https://github.com/XyzKangUI/temprepo/commit/0474026851867a82b20cff0a50627bd03e4528c2
That's great to hear, thank you for the fix! Will look at implementing them when I get time to sit down and do some coding. Will be updating the TBC-specific version with these since I guess there's still some outstanding issues with the Shadowlands/TBC cross-compatibility.
I can't believe it was that simple, I guess I still have a lot to learn.
Posted an update with both the Trinket and Drinking fixes to Curse, please give TBC-1.2 a try whenever Curse gets around to approving it.
Thank you very much for your help, going to close this ticket now. Feel free to open another if new issues crop up or something went horribly wrong with that update. (I don't play TBC so I wasn't able to extensively test them myself.)