*Fix shadowflame

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-12 10:35:28 +02:00
parent ea3e950758
commit b1b53addcc
3 changed files with 3 additions and 9 deletions
+2
View File
@@ -0,0 +1,2 @@
INSERT IGNORE INTO `spell_linked_spell` VALUES (47897, 47960, 0, 'Shadowflame Rank 1');
INSERT IGNORE INTO `spell_linked_spell` VALUES (61290, 61291, 0, 'Shadowflame Rank 2');
+1 -1
View File
@@ -16896,7 +16896,7 @@ void Player::RemoveSpellMods(Spell const* spell)
if (mod && mod->charges == -1 && (mod->lastAffected == spell || mod->lastAffected==NULL))
{
RemoveAurasDueToSpell(mod->spellId);
RemoveAurasDueToSpell(mod->spellId, AURA_REMOVE_BY_EXPIRE);
if (m_spellMods[i].empty())
break;
else
-8
View File
@@ -2438,14 +2438,6 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real)
caster->CastSpell(m_target, GetAmount(), true);
return;
}
// Focused Magic
if(m_spellProto->Id == 54646)
{
// only on remove by crit
if(caster && GetParentAura()->GetRemoveMode() == AURA_REMOVE_BY_EXPIRE)
caster->CastSpell(caster,54648, true);
return;
}
break;
}
}