mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11858] Implement ScriptEffect of spell 43375. Thanks to Klark20 for research
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
adfa88d236
commit
fe79f593ca
2 changed files with 11 additions and 1 deletions
|
|
@ -6651,6 +6651,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(m_caster, 50217, true);
|
m_caster->CastSpell(m_caster, 50217, true);
|
||||||
return;
|
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
|
case 44364: // Rock Falcon Primer
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11857"
|
#define REVISION_NR "11858"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue