mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11809] Implement ScriptEffect for spell 67009
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
241445aeeb
commit
d55e1b3edb
2 changed files with 18 additions and 1 deletions
|
|
@ -7355,6 +7355,23 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
unitTarget->CastSpell(unitTarget, 66747, true);
|
||||
return;
|
||||
}
|
||||
case 67009: // Nether Power (ToC25: Lord Jaraxxus)
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
uint32 count = 0;
|
||||
|
||||
if (unitTarget->GetMap()->GetDifficulty() == RAID_DIFFICULTY_10MAN_NORMAL || unitTarget->GetMap()->GetDifficulty() == RAID_DIFFICULTY_10MAN_HEROIC)
|
||||
count = 5;
|
||||
else
|
||||
count = 10;
|
||||
|
||||
for (uint8 i = 0; i < count; ++i)
|
||||
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||
|
||||
return;
|
||||
}
|
||||
case 68861: // Consume Soul (ICC FoS: Bronjahm)
|
||||
if (unitTarget)
|
||||
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11808"
|
||||
#define REVISION_NR "11809"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue