Core/Spells: Change low level bool triggered with bitmask TriggerCastFlags to better manipulate the behaviour of certain triggered spells.

This commit is contained in:
Machiavelli committed 2011-07-31 21:58:25 +02:00
1 parent 8753a18263
commit 58f10c74f7
11 files changed
+132 -96

No files matched your search

@@ -170,7 +170,7 @@ void ScriptedAI::DoCastSpell(Unit* pTarget, SpellInfo const* pSpellInfo, bool bT
return;
me->StopMoving();
me->CastSpell(pTarget, pSpellInfo, bTriggered);
me->CastSpell(pTarget, pSpellInfo, bTriggered ? TRIGGERED_FULL_MASK : TRIGGERED_NONE);
}
void ScriptedAI::DoPlaySoundToSet(WorldObject* pSource, uint32 uiSoundId)