Core/SAI: Added support for StringIds to creature and gameobject targets

Port From (https://github.com/TrinityCore/TrinityCore/commit/2ce40684595a0e49a7b2355012c2806952698ce4)
This commit is contained in:
Hondacrx
2024-08-05 17:23:37 -04:00
parent 54e6b02ffc
commit 5a9714a375
15 changed files with 149 additions and 118 deletions
+1 -1
View File
@@ -393,7 +393,7 @@ namespace Scripts.World.NpcsSpecial
bool checkNearbyPlayers()
{
// Returns true if no nearby player has aura "Test Ribbon Pole Channel".
List<Unit> players = new();
List<Player> players = new();
UnitAuraCheck check = new(true, SpellRibbonDanceCosmetic);
PlayerListSearcher searcher = new(me, players, check);
Cell.VisitWorldObjects(me, searcher, 10.0f);