aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShocker <shocker@freakz.ro>2012-12-17 01:53:52 +0200
committerShocker <shocker@freakz.ro>2012-12-17 01:53:52 +0200
commit1293de90be725521c5c8f04095cef7804811427c (patch)
treef852689c22f3cc2cb9c854dce4de753a05555e67 /src
parent78017ac222cdedffc8878ba88204cd94cadd864f (diff)
Core/Spells: Correct effect index check for Earth's Grasp
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_shaman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp
index 939e6371d98..02c314fd472 100644
--- a/src/server/scripts/Spells/spell_shaman.cpp
+++ b/src/server/scripts/Spells/spell_shaman.cpp
@@ -158,7 +158,7 @@ class spell_sha_earthbind_totem : public SpellScriptLoader
if (!owner)
return;
// Earth's Grasp
- if (AuraEffect* aurEff = owner->GetAuraEffectOfRankedSpell(SHAMAN_SPELL_EARTH_GRASP, EFFECT_0))
+ if (AuraEffect* aurEff = owner->GetAuraEffectOfRankedSpell(SHAMAN_SPELL_EARTH_GRASP, EFFECT_1))
{
if (roll_chance_i(aurEff->GetAmount()))
GetCaster()->CastSpell(GetCaster(), EARTHBIND_TOTEM_SPELL_EARTHGRAB, false);