mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Scripts/Icecrown Citadel: Properly unflag Minchar event after its done and fixed whisper guid for Frenzied Bloodthirst
This commit is contained in:
@@ -221,6 +221,7 @@ class boss_blood_queen_lana_thel : public CreatureScript
|
||||
_EnterEvadeMode();
|
||||
if (_killMinchar)
|
||||
{
|
||||
_killMinchar = false;
|
||||
me->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
|
||||
me->SetByteFlag(UNIT_FIELD_BYTES_1, 3, 0x01);
|
||||
me->SetFlying(true);
|
||||
@@ -559,7 +560,7 @@ class spell_blood_queen_frenzied_bloodthirst : public SpellScriptLoader
|
||||
{
|
||||
if (InstanceScript* instance = GetTarget()->GetInstanceScript())
|
||||
if (Creature* bloodQueen = ObjectAccessor::GetCreature(*GetTarget(), instance->GetData64(DATA_BLOOD_QUEEN_LANA_THEL)))
|
||||
bloodQueen->AI()->Talk(EMOTE_BLOODTHIRST);
|
||||
bloodQueen->AI()->Talk(EMOTE_BLOODTHIRST, GetTarget()->GetGUID());
|
||||
}
|
||||
|
||||
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
|
||||
Reference in New Issue
Block a user