fix(Scripts/Karazhan): Should always be able to talk to chess pieces … (#17246)

fix(Scripts/Karazhan): Should always be able to talk to chess pieces regardless of faction
This commit is contained in:
Skjalf
2023-09-14 01:10:36 -03:00
committed by GitHub
parent 27943b6175
commit 44d1df01c3
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `npcflag` = `npcflag` |1 WHERE `entry` IN (17469,17211,21748,21664,21750,21683,21747,21682,21726,21160,21752,21684);

View File

@@ -252,7 +252,6 @@ public:
piece->NearTeleportTo(x, y, z, o);
piece->AI()->DoAction(ACTION_CHESS_PIECE_RESET_ORIENTATION);
piece->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
piece->RemoveNpcFlag(UNIT_NPC_FLAG_GOSSIP);
piece->AI()->Reset();
}
}