Core/SmartAI: store event invoker when available, and use it for Invoker target
note: dont forget to call script_reset when script is over! --HG-- branch : trunk
This commit is contained in:
1 parent
cf475e75ca
commit
54b11cce01
2 files changed
+22
-13
No files matched your search
@@ -214,6 +214,7 @@ class SmartScript
|
||||
uint64 mTextGUID;
|
||||
Creature* talker;
|
||||
bool mUseTextTimer;
|
||||
Unit* mLastInvoker;
|
||||
|
||||
SMARTAI_TEMPLATE mTemplate;
|
||||
void InstallEvents();
|
||||
|
||||
Reference in new issue
Block a user