WoWInterface SVN BabySeal

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 9 to Rev 8
    Reverse comparison

Rev 9 → Rev 8

BabySeal/BabySeal.lua
5,7 → 5,8
]]
 
local addon, BabySeal = ...
BabySeal.prefix = string.format("|cff00aaff%s:|r |cffff0000Warning!|r", addon)
BabySeal.prefix = string.format("|cff00aaff%s|r", addon)
BabySeal.wp = "|cffff0000Warning!|r"
 
function BabySeal:PLAYER_LOGIN()
BabySealDB = BabySealDB or {
60,7 → 61,7
if db.raidwarning then
RaidNotice_AddMessage(RaidWarningFrame, s, ChatTypeInfo["RAID_WARNING"])
else
print(self.prefix, s)
print(self.wp, s)
end
 
if db.sound then
73,8 → 74,14
local name, rank, icon, count, dispelType, duration, expires, caster, isStealable = UnitBuff("player", v)
 
if name then
self.playerBuff = caster == "player" and true or false
return true, expires
if caster == "player" then
self.playerBuff = true
return true, expires
else
-- equivalent buff is active, but is not mine
self.playerBuff = false
return true, expires
end
end
end
 
BabySeal Property changes : Deleted: tsvn:logtemplate - Ailae@BabySeal: