diff options
author | QAston <none@none> | 2010-01-10 21:19:04 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-10 21:19:04 +0100 |
commit | 929a43bb53d7c595e4e54ffa2e0c271f42ae40af (patch) | |
tree | 04c604854a8a57d25bad886a6f515d1435eceed8 /src | |
parent | f41e83714364913ac27e79ac7321ae3d3b57303b (diff) |
* Fix a mistake in boss_satharion script which gave players very usefull auras...
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/scripts/scripts/northrend/obsidian_sanctum/boss_sartharion.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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; |