- added new sub attribute: buff uptime.
- minor bug fixes when updating energy attribute. - fixed issue were changing attributes clicking directly on attribute name. - some fixes to prevent unknown pet owner name. - pet scan now is more smooth and scheduled to 1 scan per second. - disabling auras doesn't disable healing absorbs any more. - friendly fire doesn't check pets any more, only players. - fixed problem were pet damage on target isn't added to the owner target. - fixed issue with cooldown refresh which isn't tracked before. - added cooldown to death log and also the time of last cooldown used. - added command /details worldboss which runs the macro showing world boss killed. - added command /details updates showing change log window. - added absorbs for monk 2P, shammy 2P and Stolen Relic of Zuldazar trinket. - added a change log inside the addon showing latest changes.
This commit is contained in:
@@ -97,7 +97,8 @@ function _detalhes:SaveDataOnLogout()
|
||||
_detalhes_database.custom = _detalhes.custom
|
||||
|
||||
--> version
|
||||
_detalhes_database.last_realversion = _detalhes.realversion
|
||||
_detalhes_database.last_realversion = _detalhes.realversion --> core number
|
||||
_detalhes_database.last_version = _detalhes.userversion --> version
|
||||
|
||||
-- On Account
|
||||
|
||||
@@ -158,7 +159,9 @@ end --]]
|
||||
_detalhes.tabela_pets = _detalhes_database.tabela_pets or _detalhes.container_pets:NovoContainer() -- pets
|
||||
|
||||
--> version
|
||||
_detalhes.last_realversion = _detalhes_database.last_realversion or _detalhes.realversion
|
||||
_detalhes.last_realversion = _detalhes_database.last_realversion or _detalhes.realversion --> core
|
||||
_detalhes.last_version = _detalhes_database.last_version or "v1.0.0" --> version
|
||||
|
||||
if (_detalhes.last_realversion < _detalhes.realversion) then
|
||||
--> details was been hard upgraded
|
||||
_detalhes.tabela_historico = _detalhes.historico:NovoHistorico()
|
||||
@@ -167,6 +170,10 @@ end --]]
|
||||
_detalhes.tabela_vigente = _detalhes.combate:NovaTabela (_, _detalhes.tabela_overall)
|
||||
end
|
||||
|
||||
if (_detalhes.last_version ~= _detalhes.userversion) then
|
||||
_detalhes.is_version_first_run = true
|
||||
end
|
||||
|
||||
--> re-build all indexes and metatables
|
||||
_detalhes:RestauraMetaTables()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user