WoWInterface SVN mikma

Compare Revisions

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

Rev 517 → Rev 516

RareMacro.lua
71,16 → 71,14
local flashing
function f:PLAYER_TARGET_CHANGED()
if select(2,GetInstanceInfo()) == "none" and (GetCurrentMapContinent() == 3 or GetCurrentMapContinent() == 4) then
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
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
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.2
## Version: 1.0.1
 
RareMacro.lua
\ No newline at end of file