compute aura diminishing return info at startup and cache it

some changes in default proc generation. Fix an issue of stealth breaking with positive and/or healing spells
This commit is contained in:
hondacrx
2017-10-04 18:13:04 -04:00
parent 7bd260c2df
commit cc5263099c
4 changed files with 42 additions and 25 deletions
+2 -2
View File
@@ -1558,12 +1558,12 @@ namespace Game.Spells
return _diminishInfo.DiminishReturnType;
}
public DiminishingLevels GetDiminishingReturnsMaxLevel(bool triggered)
public DiminishingLevels GetDiminishingReturnsMaxLevel()
{
return _diminishInfo.DiminishMaxLevel;
}
public int GetDiminishingReturnsLimitDuration(bool triggered)
public int GetDiminishingReturnsLimitDuration()
{
return _diminishInfo.DiminishDurationLimit;
}