/EnemyScanner
GameTooltip:SetPoint(GetTipAnchor(frame)) |
GameTooltip:ClearLines() |
local raidclass = RAID_CLASS_COLORS[class] |
if not raidclass then raidclass = {} end |
local r,g,b = raidclass.r,raidclass.g,raidclass.b |
GameTooltip:AddDoubleLine(name,action,r,g,b) |
GameTooltip:Show() |
row.text:SetText(entry.name:match("[^-]+").." "..levelcolorhex..entry.level) |
local raidclass = RAID_CLASS_COLORS[entry.class] |
if not raidclass then |
raidclass = {} |
raidclass.r, raidclass.g, raidclass.b = 0.5, 0.5, 0.5 |
end |
row.text:SetTextColor(raidclass.r, raidclass.g, raidclass.b, 1) |
level = GetSpellLevelLearned(spellID) |
elseif GetSpellLevelLearned(spellID) < temptable[guidsource]["level"] or GetSpellLevelLearned(spellID) == temptable[guidsource]["level"] then |
level = temptable[guidsource]["level"] |
elseif GetSpellLevelLearned(spellID) > MAX_PLAYER_LEVEL_TABLE[GetAccountExpansionLevel()] then |
level = MAX_PLAYER_LEVEL_TABLE[GetAccountExpansionLevel()] |
end |
end |
local found = false |
## Title: EnemyScanner |
## Notes: Enemy detected! |
## SavedVariables: EnemyScannerDB |
## Version: 2.2 |
## Version: 2.3 |
EnemyScanner.lua |
EnemyScannerSpellsManual.lua |