fix(Scripts/Karazhan): make it so door closes when Big Bad Wolf is engaged in Little Red Riding Hood in the Opera (#17172)
* initial * not a boolean
This commit is contained in:
parent
4ce43d3f1f
commit
4886dac963
2 changed files with 5 additions and 1 deletions
|
|
@ -838,6 +838,7 @@ struct boss_bigbadwolf : public ScriptedAI
|
|||
|
||||
void JustEngagedWith(Unit* /*who*/) override
|
||||
{
|
||||
instance->DoUseDoorOrButton(instance->GetGuidData(DATA_GO_STAGEDOORLEFT));
|
||||
Talk(SAY_WOLF_AGGRO);
|
||||
DoZoneInCombat();
|
||||
|
||||
|
|
|
|||
|
|
@ -192,7 +192,10 @@ public:
|
|||
}
|
||||
break;
|
||||
case 8:
|
||||
instance->DoUseDoorOrButton(instance->GetGuidData(DATA_GO_STAGEDOORLEFT));
|
||||
if (m_uiEventId != EVENT_HOOD) // in red riding hood door should close when gossip with grandma is over
|
||||
{
|
||||
instance->DoUseDoorOrButton(instance->GetGuidData(DATA_GO_STAGEDOORLEFT));
|
||||
}
|
||||
PerformanceReady = true;
|
||||
break;
|
||||
case 9:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue