*Fix fire nova totem proc.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-03-10 23:22:06 +01:00
parent 6e38f12f3e
commit 444bf06830
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
-- Improved Fire Nova Totem
INSERT INTO `spell_proc_event` VALUES (16086, 0x00, 7, 0, 0x00040000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
INSERT INTO `spell_proc_event` VALUES (16544, 0x00, 7, 0, 0x00040000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View File

@@ -74,4 +74,5 @@ INSTALL(FILES
1755_world.sql
1764_world.sql
1766_world.sql
1814_world.sql
DESTINATION share/trinity/sql/updates)

View File

@@ -4031,7 +4031,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur)
// Remove all auras by aura caster
for (uint8 a=0;a<3;++a)
{
spellEffectPair spair = spellEffectPair((*i).second->GetId(), a);
spellEffectPair spair = spellEffectPair(i_spellId, a);
for(AuraMap::iterator iter = m_Auras.lower_bound(spair); iter != m_Auras.upper_bound(spair);)
{
if(iter->second->GetCasterGUID()==caster)
@@ -6202,6 +6202,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
{
switch(dummySpell->Id)
{
// Improved fire nova totem
case 16544:
{
triggered_spell_id = 16086;
break;
}
// Totemic Power (The Earthshatterer set)
case 28823:
{