Skip to content

Commit

Permalink
[Core] Add SpellID to item
Browse files Browse the repository at this point in the history
  • Loading branch information
Kutikuti committed Mar 1, 2018
1 parent 964906a commit 1d517fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ local function ItemTooltipOverride(self)
if itemID then
TooltipLine(self, itemID, "ItemID")

RPPMTooltip(self, GetItemSpellID(itemID))
local spellID = GetItemSpellID(itemID)
if spellID then
TooltipLine(self, spellID, "SpellID")
RPPMTooltip(self, GetItemSpellID(itemID))
end
end
end
end
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ If there is hotfixes in game, you will just have to update the addon to get the
- RPPM
- Item :
- ID
- Spell ID
- RPPM
- Artifact :
- Artifact ID
- Spell ID
Expand Down

0 comments on commit 1d517fa

Please sign in to comment.