mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-10 19:20:32 +00:00
fix(Scripts/Misc): Adjust points from old wrong 0 based indexing to smart ai indexing (#23472)
This commit is contained in:
@@ -1200,16 +1200,16 @@ public:
|
||||
|
||||
switch (id)
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
Talk(me->GetEntry() == NPC_JAINA_PART2 ? SAY_JAINA_OUTRO_2 : SAY_SYLVANAS_OUTRO_2);
|
||||
break;
|
||||
case 1:
|
||||
case 2:
|
||||
if (me->GetEntry() == NPC_JAINA_PART2)
|
||||
{
|
||||
Talk(SAY_JAINA_OUTRO_3);
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
case 7:
|
||||
me->SetNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
|
||||
if (GameObject* g = me->FindNearestGameObject(GO_HOR_PORTCULLIS, 50.0f))
|
||||
g->SetGoState(GO_STATE_ACTIVE);
|
||||
|
||||
Reference in New Issue
Block a user