Core/Unit: fix chain cc's not being diminished properly

Logic fail in 9b0fa51022 (now diminishing info is always initialized)

(cherry picked from commit 2f03d502f3)
This commit is contained in:
ariel-
2016-10-25 22:52:38 -03:00
committed by joschiwald
parent 54c0a01062
commit 175bc752e8

View File

@@ -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)
{