HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Triggerevent spellendcast firing wrongly

10-03-2006, 02:42 PM#1
BertTheJasser
When casting a channeling spell (like monsoon) and then casting a non-channel-interrupting spell (like manashield), and having a custom trigger for the channelig spell, with temporal trigger that checks via GetTriggerEvel/ExecCount and the event EVENT_UNIT_SPELL_ENDCAST if the spell is finished. This combination will, skip the custom actions of the channeling spell, when cast the non-channel-interrupting spell, as the trigger with the EVENT_UNIT_SPELL_ENDCAST event gets fired although the unit goes on channeling the spell.

Plx keep always in mind to add a condition func, which checks, which ability was endcast.
10-03-2006, 03:00 PM#2
blu_da_noob
I wouldn't call that a bug. The unit ends casting of a spell (the mana shield) so the trigger fires. What's wrong with that?
10-03-2006, 03:06 PM#3
Vexorian
hmnn add a check to see what is the id of the spell?
10-03-2006, 05:34 PM#4
BertTheJasser
Omg, my mind was fogged, so it is not a bug, it is just not defined which spell finishes. +Rep to blu_da_noob

Btw. Where is the diffrence between Eval and GetTriggerExecCount(whichtrig) ?