mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
[9925] Add more log filters
* damage - different direct damage calculation tracing * combat - combat state updates, roll attack result and etc * spell_cast - spell cast progress and aura apply
This commit is contained in:
parent
b6d7365ac9
commit
d86dcd60d7
15 changed files with 89 additions and 81 deletions
|
|
@ -44,6 +44,9 @@ LogFilterData logFilterData[LOG_FILTER_COUNT] =
|
|||
{ "player_moves", "LogFilter_PlayerMoves", false },
|
||||
{ "periodic_effects", "LogFilter_PeriodicAffects", false },
|
||||
{ "ai_and_movegens", "LogFilter_AIAndMovegens", false },
|
||||
{ "damage", "LogFilter_Damage", false },
|
||||
{ "combat", "LogFilter_Combat", false },
|
||||
{ "spell_cast", "LogFilter_SpellCast", false },
|
||||
};
|
||||
|
||||
enum LogType
|
||||
|
|
|
|||
|
|
@ -46,9 +46,12 @@ enum LogFilters
|
|||
LOG_FILTER_PLAYER_MOVES = 0x0080, // player moves by grid/cell
|
||||
LOG_FILTER_PERIODIC_AFFECTS = 0x0100, // DoT/HoT apply trace
|
||||
LOG_FILTER_AI_AND_MOVEGENSS = 0x0200, // DoT/HoT apply trace
|
||||
LOG_FILTER_DAMAGE = 0x0400, // Direct/Area damage trace
|
||||
LOG_FILTER_COMBAT = 0x0800, // attack states/roll attack results/etc
|
||||
LOG_FILTER_SPELL_CAST = 0x1000, // spell cast/aura apply/spell proc events
|
||||
};
|
||||
|
||||
#define LOG_FILTER_COUNT 10
|
||||
#define LOG_FILTER_COUNT 13
|
||||
|
||||
struct LogFilterData
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9924"
|
||||
#define REVISION_NR "9925"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue