mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Scripts/Karazhan): Barnes Missing Wizard of Oz Speech (#23373)
This commit is contained in:
@@ -218,29 +218,22 @@ public:
|
|||||||
switch (m_uiEventId)
|
switch (m_uiEventId)
|
||||||
{
|
{
|
||||||
case EVENT_OZ:
|
case EVENT_OZ:
|
||||||
if (OzDialogue[count].textid)
|
text = OzDialogue[count].textid;
|
||||||
text = OzDialogue[count].textid;
|
TalkTimer = OzDialogue[count].timer;
|
||||||
if (OzDialogue[count].timer)
|
|
||||||
TalkTimer = OzDialogue[count].timer;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EVENT_HOOD:
|
case EVENT_HOOD:
|
||||||
if (HoodDialogue[count].textid)
|
text = HoodDialogue[count].textid;
|
||||||
text = HoodDialogue[count].textid;
|
TalkTimer = HoodDialogue[count].timer;
|
||||||
if (HoodDialogue[count].timer)
|
|
||||||
TalkTimer = HoodDialogue[count].timer;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EVENT_RAJ:
|
case EVENT_RAJ:
|
||||||
if (RAJDialogue[count].textid)
|
text = RAJDialogue[count].textid;
|
||||||
text = RAJDialogue[count].textid;
|
TalkTimer = RAJDialogue[count].timer;
|
||||||
if (RAJDialogue[count].timer)
|
|
||||||
TalkTimer = RAJDialogue[count].timer;
|
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (text)
|
CreatureAI::Talk(text);
|
||||||
CreatureAI::Talk(text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PrepareEncounter()
|
void PrepareEncounter()
|
||||||
|
|||||||
Reference in New Issue
Block a user