aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/6959_characters_character_aura.sql2
-rw-r--r--sql/updates/6959_characters_pet_aura.sql2
-rw-r--r--src/bindings/scripts/scripts/northrend/obsidian_sanctum/boss_sartharion.cpp6
3 files changed, 6 insertions, 4 deletions
diff --git a/sql/updates/6959_characters_character_aura.sql b/sql/updates/6959_characters_character_aura.sql
new file mode 100644
index 00000000000..533adfb27c4
--- /dev/null
+++ b/sql/updates/6959_characters_character_aura.sql
@@ -0,0 +1,2 @@
+DELETE FROM `character_aura` WHERE `spell` IN (61248, 58105, 61265);
+ \ No newline at end of file
diff --git a/sql/updates/6959_characters_pet_aura.sql b/sql/updates/6959_characters_pet_aura.sql
new file mode 100644
index 00000000000..e3ef6f3ffde
--- /dev/null
+++ b/sql/updates/6959_characters_pet_aura.sql
@@ -0,0 +1,2 @@
+DELETE FROM `pet_aura` WHERE `spell` IN (61248, 58105, 61265);
+ \ No newline at end of file
diff --git a/src/bindings/scripts/scripts/northrend/obsidian_sanctum/boss_sartharion.cpp b/src/bindings/scripts/scripts/northrend/obsidian_sanctum/boss_sartharion.cpp
index f8d78013c27..1355fa5f245 100644
--- a/src/bindings/scripts/scripts/northrend/obsidian_sanctum/boss_sartharion.cpp
+++ b/src/bindings/scripts/scripts/northrend/obsidian_sanctum/boss_sartharion.cpp
@@ -348,17 +348,14 @@ struct TRINITY_DLL_DECL boss_sartharionAI : public ScriptedAI
case NPC_TENEBRON:
iTextId = SAY_SARTHARION_CALL_TENEBRON;
pTemp->GetMotionMaster()->MovePoint(POINT_ID_LAND, m_aTene[1].m_fX, m_aTene[1].m_fY, m_aTene[1].m_fZ);
- DoAddAuraToAllHostilePlayers(SPELL_POWER_OF_TENEBRON);
break;
case NPC_SHADRON:
iTextId = SAY_SARTHARION_CALL_SHADRON;
pTemp->GetMotionMaster()->MovePoint(POINT_ID_LAND, m_aShad[1].m_fX, m_aShad[1].m_fY, m_aShad[1].m_fZ);
- DoAddAuraToAllHostilePlayers(SPELL_POWER_OF_SHADRON);
break;
case NPC_VESPERON:
iTextId = SAY_SARTHARION_CALL_VESPERON;
pTemp->GetMotionMaster()->MovePoint(POINT_ID_LAND, m_aVesp[1].m_fX, m_aVesp[1].m_fY, m_aVesp[1].m_fZ);
- DoAddAuraToAllHostilePlayers(SPELL_POWER_OF_VESPERON);
break;
}
@@ -685,9 +682,10 @@ struct TRINITY_DLL_DECL dummy_dragonAI : public ScriptedAI
DoScriptText(iTextId, m_creature);
+ m_creature->RemoveOwnedAura(uiSpellId, AURA_REMOVE_BY_DEFAULT);
+
if (pInstance)
{
- pInstance->DoRemoveAurasDueToSpellOnPlayers(uiSpellId);
// not if solo mini-boss fight
if (pInstance->GetData(TYPE_SARTHARION_EVENT) != IN_PROGRESS)
return;