[9047] Support triggered spells that have cast time.

Like spell will placed in unit event list for cast at next tick or later dependent from cast timer.
Before all triggered spell ignore cast time and casted explcitly from related cast caller code.
This must fix some spell work like 17086 in damage apply time part and also in preventing possible
stack overflow because this spell triggering by chain 19 spell casts from each other.

This also exclude from triggered arg of CastSpell function meaning that this cast will instant alsways.
So triggred arg now meaning only that this seppl casted nit from player side and then not send
in some cases cast info to client if not vosula effect expected.
This commit is contained in:
VladimirMangos 2009-12-23 12:32:10 +03:00
parent f1850c9ebe
commit d36281f315
2 changed files with 12 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9046"
#define REVISION_NR "9047"
#endif // __REVISION_NR_H__