Core/Spell: kill old charge restoring system. Mods are fully handled by proc system now.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user