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:
1 parent
21ac6296be
commit
8bf21ad927
1 file changed
-3
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user