Scripts/SmartAI: SetData now has an invoker (if the setting is done by something using SmartAI).

Port From (https://github.com/TrinityCore/TrinityCore/commit/37298ca99cce901bd358c536b34aee879f72f900)
This commit is contained in:
hondacrx
2021-06-23 23:36:38 -04:00
parent f56b1c6886
commit d485bf97ec
3 changed files with 74 additions and 40 deletions
@@ -415,6 +415,7 @@ namespace Game.AI
case SmartEvents.IsBehindTarget:
case SmartEvents.InstancePlayerEnter:
case SmartEvents.TransportAddcreature:
case SmartEvents.DataSet:
case SmartEvents.QuestAccepted:
case SmartEvents.QuestObjCompletion:
case SmartEvents.QuestCompletion: