Scripts/Quest: Rework Mystery of the Infinite & Mystery of the Infinite, Redux
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2236616ccf6c5cb778933e7bf808b387e29fded)
This commit is contained in:
@@ -255,7 +255,6 @@ namespace Scripts.Spells.Quest
|
||||
|
||||
//Quest12372
|
||||
public const uint WyrmrestTempleCredit = 27698;
|
||||
public const uint WyrmrestDefender = 27629;
|
||||
|
||||
//Quest11010 11102 11023
|
||||
public const uint FelCannon2 = 23082;
|
||||
@@ -838,22 +837,6 @@ namespace Scripts.Spells.Quest
|
||||
}
|
||||
}
|
||||
|
||||
[Script] // 50287 - Azure Dragon: On Death Force Cast Wyrmrest Defender to Whisper to Controller - Random (cast from Azure Dragons and Azure Drakes on death)
|
||||
class spell_q12372_azure_on_death_force_whisper : SpellScript
|
||||
{
|
||||
void HandleScript(uint effIndex)
|
||||
{
|
||||
Creature defender = GetHitCreature();
|
||||
if (defender != null && defender.GetEntry() == CreatureIds.WyrmrestDefender)
|
||||
defender.GetAI().Talk(Misc.WhisperOnHitByForceWhisper, defender.GetCharmerOrOwner());
|
||||
}
|
||||
|
||||
public override void Register()
|
||||
{
|
||||
OnEffectHitTarget.Add(new EffectHandler(HandleScript, 0, SpellEffectName.ScriptEffect));
|
||||
}
|
||||
}
|
||||
|
||||
[Script] // 40113 Knockdown Fel Cannon: The Aggro Check Aura
|
||||
class spell_q11010_q11102_q11023_aggro_check_aura : AuraScript
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user