WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Custom Ability Tooltip and other Custom (https://www.wowinterface.com/forums/showthread.php?t=55832)

Papiyaman 11-02-17 01:24 AM

Custom Ability Tooltip and other Custom
 
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!


All times are GMT -6. The time now is 01:43 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI