- Added Observer channel for Raid Tools, it only reports the cooldown/interrupt/death to you in your chat window.

- More updates on the new plugin Raid Check.
This commit is contained in:
tercio
2014-12-19 22:47:02 -02:00
parent e70b25602e
commit 7c5a420349
12 changed files with 404 additions and 53 deletions
+17 -1
View File
@@ -23,7 +23,7 @@
if (PluginAbsoluteName) then
local plugin = _detalhes.plugin_database [PluginAbsoluteName]
if (plugin) then
return plugin.__enabled
return plugin.enabled
end
else
return self.__enabled
@@ -37,6 +37,22 @@
return self.__description
end
function _detalhes:DisablePlugin (AbsoluteName)
local plugin = _detalhes:GetPlugin (AbsoluteName)
if (plugin) then
local saved_table = _detalhes:GetPluginSavedTable (AbsoluteName)
saved_table.enabled = false
plugin.__enabled = false
_detalhes:SendEvent ("PLUGIN_DISABLED", plugin)
_detalhes:DelayOptionsRefresh()
return true
end
end
function _detalhes:CheckDefaultTable (current, default)
for key, value in pairs (default) do
if (type (value) == "table") then