Hey everyone, so I started making a custom tooltip addon off of what was said in this forum
https://eu.battle.net/forums/en/wow/topic/2690980060.
It is looking like this.
The TOC
## Interface: 70300
## Title: Changebladestorm
Changebladestorm.lua
THE LUA
local function ReplaceTitle(tooltip)
local title = _G[tooltip:GetName().."TextLeft1"]
if title then
local text = title:GetText()
title:SetText(gsub(text, GetSpellInfo(227847), "Kill")) -- Bladestorm
title:SetText(gsub(text, GetSpellInfo(48743), "Link Souls")) -- Death Pact
end
end
GameTooltip:HookScript("OnTooltipSetSpell", ReplaceTitle)
ItemRefTooltip:HookScript("OnTooltipSetSpell", ReplaceTitle)
So I tried with and without the second title:settext link souls line since I was only trying to edit one ability tooltip. I had no luck either way. Any suggestions on getting this working? Thank you very much!
Also with this I have a couple and or possibly one big addon request!
Please I was wondering if there is an addon that has a way to change NPC type (Humanoid, Mechanical ect.), player class names (In the character panel), Talent Spec names (Such as Warrior Protection), Talent names (Such as Warrior Protection Talent Warbringer), ability names (With description) and player class names in battlegrounds. Thank you, I know I gave a big list I really have been wanting to edit these. This would all be very cool! Thank you very much!