robgha01 / TrufiGCD

Backport of TrufiGCD for 3.3.5
6 stars 2 forks source link

Backporting the Tooltip #1

Open robgha01 opened 6 years ago

robgha01 commented 6 years ago

line 529 in TrufiGCD.lua GameTooltip:SetSpellByID(self.spellID, false, false, true)

This is left to backport but im unsure how to fix it.

BannZay commented 4 years ago

I suppose the problem is in UNIT_SPELLCAST event. Arguments of it has been changed. But 3.3.5 contain spell name instead of spell id, what is not appropriate for GameTooltip:SetSpellByID

so if self.spellID contains spell name instead spell id it won't work