Core/Spell: kill old charge restoring system. Mods are fully handled by proc system now.

This commit is contained in:
hondacrx
2018-04-29 19:44:10 -04:00
parent 9c33d9c20e
commit 9007c45357
3 changed files with 12 additions and 90 deletions
-11
View File
@@ -882,7 +882,6 @@ namespace Game.Spells
if (refresh)
{
RefreshSpellMods();
RefreshTimers(resetPeriodicTimer);
// reset charges
@@ -892,16 +891,6 @@ namespace Game.Spells
return false;
}
void RefreshSpellMods()
{
foreach (var app in m_applications.Values)
{
Player player = app.GetTarget().ToPlayer();
if (player != null)
player.RestoreAllSpellMods(0, this);
}
}
public bool HasMoreThanOneEffectForType(AuraType auraType)
{
uint count = 0;