Core/Unit: fix chain cc's not being diminished properly
Logic fail in 9b0fa51022fba3d5ece96dd0ac8399be01ea5b0f (now diminishing info is always initialized) (cherry picked from commit 2f03d502f34d0e9f69fd2d23cfb69b1ec8bb8891)
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