Core/SmartScripts: Add SMART_TARGET_LOOT_RECIPIENTS. Does what it says on the tin.

Use this new target type to fix The Rider of Blood, The Rider of Frost, The Rider of the Unholy. Closes #17817.
This commit is contained in:
treeston authored and Aokromes committed 2016-08-20 06:19:26 +02:00
1 parent 8d12a82f5b
commit c2fd73c95d
4 files changed
+22 -1

No files matched your search

@@ -1104,8 +1104,9 @@ enum SMARTAI_TARGETS
SMART_TARGET_THREAT_LIST = 24, // All units on creature's threat list
SMART_TARGET_CLOSEST_ENEMY = 25, // maxDist, playerOnly
SMART_TARGET_CLOSEST_FRIENDLY = 26, // maxDist, playerOnly
SMART_TARGET_LOOT_RECIPIENTS = 27, // all players that have tagged this creature (for kill credit)
SMART_TARGET_END = 27
SMART_TARGET_END = 28
};
struct SmartTarget