fix(Scripts/Misc): Adjust points from old wrong 0 based indexing to smart ai indexing (#23472)

This commit is contained in:
killerwife
2025-10-30 10:44:34 +01:00
committed by GitHub
parent fdf19f1cf7
commit a8976aa6e7
22 changed files with 52 additions and 49 deletions

View File

@@ -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);