[11858] Implement ScriptEffect of spell 43375. Thanks to Klark20 for research

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Schmoozerd 2011-12-09 21:55:05 +01:00
parent adfa88d236
commit fe79f593ca
2 changed files with 11 additions and 1 deletions

View file

@ -6651,6 +6651,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 50217, true);
return;
}
case 43375: // Mixing Vrykul Blood
{
if (!unitTarget)
return;
uint32 triggeredSpell[] = {43376, 43378, 43970, 43377};
unitTarget->CastSpell(unitTarget, triggeredSpell[urand(0, 3)], true);
return;
}
case 44364: // Rock Falcon Primer
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11857"
#define REVISION_NR "11858"
#endif // __REVISION_NR_H__