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

@@ -789,6 +789,11 @@ void SmartAI::SetFollow(Unit* target, float dist, float angle, uint32 credit, ui
me->GetMotionMaster()->MoveFollow(target, dist, angle);
mFollowCreditType = creditType;
}
void SmartAI::SetScript9(SmartScriptHolder &e, uint32 entry)
{
GetScript()->SetScript9(e, entry);
}
/*
SMART_EVENT_UPDATE_OOC
SMART_EVENT_SPELLHIT