oUF-wow / oUF

WoW AddOn - Unit frame framework.
MIT License
222 stars 58 forks source link

Different display name for castbars #608

Closed siweia closed 2 years ago

siweia commented 2 years ago

https://github.com/tomrus88/BlizzardInterfaceCode/blob/4334b87a5365523a8d5211fba0819818946a967f/Interface/FrameXML/CastingBarFrame.lua#L171-L173 In blizzard default UI, they use the second return value for castbar name. Normally name and text share the same string, but some spells might have more info from text.

Here is the dump for the spell when opening the weekly rewards in Great Vault.

Dump: value=UnitCastingInfo("player") [1]="Opening", [2]="Generating loot for Marksmanship", [3]=3536198, [4]=11045567, [5]=11050567, [6]=false, [7]="Cast-3-4608-2222-5-343885-000DE16769", [8]=false, [9]=343885

siweia commented 2 years ago

This shouldn't be a bug though.

ls- commented 2 years ago

Hi, thanks for bringing it up! Keep forgetting about this one.