Thread Tools Display Modes
11-02-17, 01:24 AM   #1
Papiyaman
A Kobold Labourer
 
Papiyaman's Avatar
Join Date: Nov 2017
Posts: 1
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!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Custom Ability Tooltip and other Custom

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off