![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Tests for fully absorbed periodic damage not triggering TAKEN procs. More...
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
Protected Attributes | |
| IWorld * | _originalWorld = nullptr |
| NiceMock< WorldMock > * | _worldMock = nullptr |
Tests for fully absorbed periodic damage not triggering TAKEN procs.
When periodic damage (e.g. Consecration ticks) is fully absorbed by an absorb shield (e.g. Power Word: Shield), the hit mask should only contain PROC_HIT_ABSORB (no PROC_HIT_NORMAL/CRITICAL). Since TAKEN procs default to requiring PROC_HIT_NORMAL | PROC_HIT_CRITICAL, fully absorbed ticks should not trigger victim procs like stealth charge consumption.
This aligns with TrinityCore behavior where hitMask only gets NORMAL/CRITICAL added when damage > 0 in HandlePeriodicDamageAurasTick.
|
inlineoverrideprotected |
References _originalWorld, _worldMock, and sWorld.
|
inlineoverrideprotected |
References _originalWorld, _worldMock, and sWorld.
|
protected |
Referenced by SetUp(), and TearDown().
|
protected |
Referenced by SetUp(), and TearDown().