mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Scripts/The Barrens: Make BIG WILL attackable in quest id 1719 (the affray)
Closes #13072 Ref #4764
This commit is contained in:
@@ -492,6 +492,14 @@ public:
|
||||
Talk(SAY_TWIGGY_FLATHEAD_OVER);
|
||||
Reset();
|
||||
}
|
||||
else if (creature) // Makes BIG WILL attackable.
|
||||
{
|
||||
creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
|
||||
creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||
creature->HandleEmoteCommand(EMOTE_ONESHOT_ROAR);
|
||||
creature->setFaction(14);
|
||||
creature->AI()->AttackStart(warrior);
|
||||
}
|
||||
}
|
||||
} else WaveTimer -= diff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user