/trunk/zz_Worldboss
## Interface: 60000 |
## Interface: 60100 |
## Title: zz_Worldboss |
## Notes: Worldboss reminder |
## Author: Rilgamon |
if(strlen(newline)<=(db['wraplength'] or 200)) then |
line = newline |
else |
GameTooltip:AddDoubleLine(nd and " " or (addon['classcolor'](cdn,(charData['class']))), line) |
if(line ~= "" and (((db['sameRealm'] and cr == realm) and true or false) or not db['sameRealm'])) then |
GameTooltip:AddDoubleLine(nd and " " or (addon['classcolor'](cdn,(charData['class']))), line) |
end |
nd = true |
line = "" |
end |
end) |
end |
addon['updatePrefs']() |
addon['RegisterFunc']({"PLAYER_LOGOUT","PLAYER_REGEN_DISABLED","PLAYER_REGEN_ENABLED","QUEST_COMPLETE","QUEST_FINISHED"},"OnEvent", event) |
addon['RegisterFunc']({"PLAYER_REGEN_DISABLED","PLAYER_REGEN_ENABLED","QUEST_COMPLETE","QUEST_FINISHED"},"OnEvent", event) |
end |
addon['startup'](addon, name, childName, init, true, defaults) |