- Left button on a enemy bar now show enemy damage taken, middle button open player detail window for that enemy.
- Added new profile: Minimalistic v2. - Minimalistic v2 is now the default skin. - Graphical changes on icon packs with transparency. - Removed slash command '/d', added '/de' instead. - Added custom spells for Atonement Critical, Power Word: Solace Critical, Lifebloom (the blood effect). - Revision done on Welcome Screen, many things removed, other added. - New API: instance:GetNumRows() return how many bars fit within the instance height. - New API: instance:GetRow (number) return the bar object. - New API: actorcontainer:ListActors() return a ipairs list of characters objects inside the container. - New API: _detalhes:CreateTestBars() create 10 bars of random characters for damage and heal. - New API: _detalhes:StartTestBarUpdate() begin to add and subtract value from created test actors. - New API: _detalhes:StopTestBarUpdate() stop the bar update test. - New Event: DETAILS_INSTANCE_NEWROW triggers when a new row is created. Signature: [1] instance [2] bar object.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
["DETAILS_INSTANCE_CHANGESEGMENT"] = {},
|
||||
["DETAILS_INSTANCE_CHANGEATTRIBUTE"] = {},
|
||||
["DETAILS_INSTANCE_CHANGEMODE"] = {},
|
||||
["DETAILS_INSTANCE_NEWROW"] = {},
|
||||
|
||||
--> data
|
||||
["DETAILS_DATA_RESET"] = {},
|
||||
@@ -68,6 +69,7 @@ local common_events = {
|
||||
["DETAILS_INSTANCE_CHANGESEGMENT"] = true,
|
||||
["DETAILS_INSTANCE_CHANGEATTRIBUTE"] = true,
|
||||
["DETAILS_INSTANCE_CHANGEMODE"] = true,
|
||||
["DETAILS_INSTANCE_NEWROW"] = true,
|
||||
["DETAILS_DATA_RESET"] = true,
|
||||
["DETAILS_DATA_SEGMENTREMOVED"] = true,
|
||||
["COMBAT_PLAYER_ENTER"] = true,
|
||||
@@ -198,6 +200,7 @@ local common_events = {
|
||||
function _detalhes:SendEvent (event, object, ...)
|
||||
|
||||
--> send event to all registred plugins
|
||||
|
||||
if (event == "PLUGIN_DISABLED" or event == "PLUGIN_ENABLED") then
|
||||
return object:OnDetailsEvent (event, ...)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user