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:
ariel-
2017-10-15 16:59:55 +02:00
committed by joschiwald
parent 54c0a01062
commit 175bc752e8
-3
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)
{