PDA

Просмотр полной версии : [9047] Support triggered spells that have cast time.


newsbot
23.12.2009, 12:40
<pre>m src/game/Spell.cpp
m src/shared/revision_nr.h

[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.</pre>



Дальше... (http://github.com/mangos/mangos/commit/8afdc65b332f0db8114bbe041bb5d34cf57ddcfc)