aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp2
-rw-r--r--src/game/Unit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 89e53ed566b..743b395273f 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4936,7 +4936,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
case 58941: // Rock Shards
if(unitTarget && m_originalCaster)
{
- for(uint32 i = 0; i < 5; ++i)
+ for(uint32 i = 0; i < 3; ++i)
{
m_originalCaster->CastSpell(unitTarget, 58689, true);
m_originalCaster->CastSpell(unitTarget, 58692, true);
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 8c87dc044fa..b0586b5c597 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -3815,7 +3815,7 @@ bool Unit::AddAura(Aura *Aur, bool handleEffects)
// find current aura from spell and change it's stackamount
if (Aura * foundAura = GetAura(aurSpellInfo->Id, Aur->GetCasterGUID()))
{
- if(foundAura->aurSpellInfo->StackAmount)
+ if(aurSpellInfo->StackAmount)
{
uint8 stackAmount = foundAura->GetStackAmount() + 1;
if (stackAmount > aurSpellInfo->StackAmount)