Core/SmartAI: all actions regarding to TIMED_ACTIONLIST will now use targeting:

you can now 'send' a list of timed actions to any targeted creature if it has SmartAI

NOTE: already made script with timed actions should be remade to use self as target

--HG--
branch : trunk
This commit is contained in:
Rat committed 2010-12-07 18:31:34 +01:00
1 parent 703835ee94
commit bb09a4a50f
4 files changed
+47 -5

No files matched your search

@@ -180,6 +180,9 @@ class SmartScript
meOrigGUID = 0;
}
//TIMED_ACTIONLIST (script type 9 aka script9)
void SetScript9(SmartScriptHolder &e, uint32 entry);
private:
void IncPhase(int32 p = 1) {
if(p >= 0)
@@ -250,8 +253,6 @@ class SmartScript
SmartScriptHolder s;
return s;
}
//TIMED_ACTIONLIST (script type 9 aka script9)
void SetScript9(SmartScriptHolder &e, uint32 entry);
};
#endif