WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /RareMacro
    from Rev 516 to Rev 517
    Reverse comparison

Rev 516 → Rev 517

RareMacro.lua
71,14 → 71,16
local flashing
function f:PLAYER_TARGET_CHANGED()
if select(2,GetInstanceInfo()) == "none" and (GetCurrentMapContinent() == 3 or GetCurrentMapContinent() == 4) then
for i=1,#Raretable[GetRealZoneText()] do
if UnitName("target") == Raretable[GetRealZoneText()][i] and UnitIsTapped("target") == nil then
flashing = true
UIFrameFlash(LowHealthFrame, 0.5, 0.5, 60)
RaidNotice_AddMessage(RaidBossEmoteFrame, Raretable[GetRealZoneText()][i].." found!",ChatTypeInfo["WHISPER"])
elseif flashing then
UIFrameFlashStop(LowHealthFrame)
flashing = nil
if Raretable[GetRealZoneText()] then
for i=1,#Raretable[GetRealZoneText()] do
if UnitName("target") == Raretable[GetRealZoneText()][i] and UnitIsTapped("target") == nil then
flashing = true
UIFrameFlash(LowHealthFrame, 0.5, 0.5, 60)
RaidNotice_AddMessage(RaidBossEmoteFrame, Raretable[GetRealZoneText()][i].." found!",ChatTypeInfo["WHISPER"])
elseif flashing then
UIFrameFlashStop(LowHealthFrame)
flashing = nil
end
end
end
end
RareMacro.toc
2,6 → 2,6
## Title: RareMacro
## Author: Mikma
## Notes: Creates you a macro which you can use to find the Rare-mobs in WotLK/TBC zones.
## Version: 1.0.1
## Version: 1.0.2
 
RareMacro.lua
\ No newline at end of file