[11811] Really fix spell 67009. Thank you all for contributing

I really should start to learn to count, sr for the inconvenience

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Schmoozerd 2011-09-27 14:28:59 +02:00
parent 7279c16533
commit 379ef94aa7
2 changed files with 2 additions and 9 deletions

View file

@ -7360,14 +7360,7 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
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)
for (uint8 i = 0; i < 11; ++i)
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
return;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11810"
#define REVISION_NR "11811"
#endif // __REVISION_NR_H__