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

Logic fail in 9b0fa51022fba3d5ece96dd0ac8399be01ea5b0f (now diminishing info is always initialized)
This commit is contained in:
ariel- authored and roc13x committed 2017-05-04 01:01:44 +01:00
1 parent 21ac6296be
commit 8bf21ad927
1 file changed
-3
-3
View File
@@ -9451,9 +9451,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 15 seconds ago - reset the count.
if (!diminish.stack && GetMSTimeDiffToNow(diminish.hitTime) > 15000)
{