mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
* Fix a mistake in boss_satharion script which gave players very usefull auras...
--HG-- branch : trunk
This commit is contained in:
2
sql/updates/6959_characters_character_aura.sql
Normal file
2
sql/updates/6959_characters_character_aura.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
DELETE FROM `character_aura` WHERE `spell` IN (61248, 58105, 61265);
|
||||
|
||||
2
sql/updates/6959_characters_pet_aura.sql
Normal file
2
sql/updates/6959_characters_pet_aura.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
DELETE FROM `pet_aura` WHERE `spell` IN (61248, 58105, 61265);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user