9b385c79e3
- Updated NickTag to the latest version. - Added a welcome window on first run. - Added a new attribute: frags, which will show adds killed. - Added boss end which will end a combat when some requisites are done. - Fixed a issue when ending a combat did not close heal actor timer. - Fixed a green texture shown when an actor don't have a avatar. - Fixed a issue on reverse report were dead shown nothing. - Fixed bug were a instance segment didn't change while in combat. - Fixed problem when removing a combat table did not reduce absorbs amount. - Pet equilization at the end of a encountr has been disabled. - Equilization at the end of a encounter has been improved. - New API: _detalhes:GetEncounterEnd (mapid, bossindex) get table with boss end.
41 lines
926 B
Lua
41 lines
926 B
Lua
debugstack = debug.traceback
|
|
strmatch = string.match
|
|
|
|
loadfile("../LibStub.lua")()
|
|
|
|
|
|
-- Pretend like loaded libstub is old and doesn't have :IterateLibraries
|
|
assert(LibStub.minor)
|
|
LibStub.minor = LibStub.minor - 0.0001
|
|
LibStub.IterateLibraries = nil
|
|
|
|
loadfile("../LibStub.lua")()
|
|
|
|
assert(type(LibStub.IterateLibraries)=="function")
|
|
|
|
|
|
-- Now pretend that we're the same version -- :IterateLibraries should NOT be re-created
|
|
LibStub.IterateLibraries = 123
|
|
|
|
loadfile("../LibStub.lua")()
|
|
|
|
assert(LibStub.IterateLibraries == 123)
|
|
|
|
|
|
-- Now pretend that a newer version is loaded -- :IterateLibraries should NOT be re-created
|
|
LibStub.minor = LibStub.minor + 0.0001
|
|
|
|
loadfile("../LibStub.lua")()
|
|
|
|
assert(LibStub.IterateLibraries == 123)
|
|
|
|
|
|
-- Again with a huge number
|
|
LibStub.minor = LibStub.minor + 1234567890
|
|
|
|
loadfile("../LibStub.lua")()
|
|
|
|
assert(LibStub.IterateLibraries == 123)
|
|
|
|
|
|
print("OK") |