=====================================================================
-- ReshMeter: All-in-one DPSMeter / HealMeter
-- from DarkDPSMeter 2
-- mod by Resha
=====================================================================

=====================================================================
-- Changelog:
=====================================================================

Revision 10:
------------
-- Fixed a bug: sometimes at the end of fights, some damages came after the end of fight creating a new 'little' fight
-- Added options to make the main interface wider (especially for russian localization)

Revision 9:
-----------
- Rewrite the code of the interface
- Reorganized the interface (mode / fight buttons)

Revision 8:
-----------
- Change the calculation of details:
    % of normal, critical and glancing are now relative to efficient hits (no miss)
    % miss and dodge are still relative to every hits (efficient + miss)
- When the group is disband or when reseting, the fight "total" is kept into "previous" fight after reseting
- Some internal refactoring/cleanup/optimization

Revision 7:
-----------
- Compatible with Allods 5.0
- Added Engineer

Revision 6.5:
-----------
- Now the beginning and the ending of the fight are triggered by the current fighter "in-combat" status (better in PvP).
- One-shots are taken in account correctly

Revision 6:
-----------
- DPS: added "RuneAbsorb" and "MultAbsorb" (buff/debuff) values
- HPS: added "Lethality" and overload values

Revision 5:
-----------
- Added defense metter
- Now damage received from skills like "natural balance" doesn't start a new combat

Revision 4:
-----------
- Fixed druid's minions and psionic's assassin display
- Fixed priest's "The light if faith" display

Revision 3:
-----------
- Refactoring the code

Revision 2:
-----------
- Added Heal meter features
- Added toggle in GUI to switch between DPS & HPS mode

Revision 1:
-----------
- Correct some minor display bugs from DarkDPSMeter 2

=====================================================================
-- Known bugs:
=====================================================================
-? In Raids, DarkDPSMeter don't take into account Druid's "Help of Nature" ability (it is AO 1.1.04+ feature).
  While it currently works OK when you play solo and in Party. But not in Raid.
  It requires to add a (not very simple) raid's pets detection, and it will be added in the upcoming version.
- Malady type heal aren't displayed with the correct color

=====================================================================
-- Todo:
=====================================================================
- Add fight history panel
- Add Defense meter by fight
- Add DPS details by opponent beside by fight
- Add HPS details by opponent beside by fight
- Add Defense details by opponent beside by fight

---
Resha
