mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
*Fix fire nova totem proc.
--HG-- branch : trunk
This commit is contained in:
3
sql/updates/1814_world.sql
Normal file
3
sql/updates/1814_world.sql
Normal 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);
|
||||
@@ -74,4 +74,5 @@ INSTALL(FILES
|
||||
1755_world.sql
|
||||
1764_world.sql
|
||||
1766_world.sql
|
||||
1814_world.sql
|
||||
DESTINATION share/trinity/sql/updates)
|
||||
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user