mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[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:
parent
7279c16533
commit
379ef94aa7
2 changed files with 2 additions and 9 deletions
|
|
@ -7360,14 +7360,7 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uint32 count = 0;
|
for (uint8 i = 0; i < 11; ++i)
|
||||||
|
|
||||||
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);
|
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11810"
|
#define REVISION_NR "11811"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue