mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 11:43:18 -04:00
Core/Unit: fix chain cc's not being diminished properly
Logic fail in9b0fa51022(now diminishing info is always initialized) (cherry picked from commit2f03d502f3)
This commit is contained in:
@@ -8996,9 +8996,6 @@ DiminishingLevels Unit::GetDiminishing(DiminishingGroup group)
|
||||
if (!diminish.hitCount)
|
||||
return DIMINISHING_LEVEL_1;
|
||||
|
||||
if (!diminish.hitTime)
|
||||
return DIMINISHING_LEVEL_1;
|
||||
|
||||
// If last spell was cast more than 18 seconds ago - reset the count.
|
||||
if (!diminish.stack && GetMSTimeDiffToNow(diminish.hitTime) > 18 * IN_MILLISECONDS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user