diff options
author | Shocker <shocker@freakz.ro> | 2012-12-17 01:53:52 +0200 |
---|---|---|
committer | Shocker <shocker@freakz.ro> | 2012-12-17 01:53:52 +0200 |
commit | 1293de90be725521c5c8f04095cef7804811427c (patch) | |
tree | f852689c22f3cc2cb9c854dce4de753a05555e67 /src | |
parent | 78017ac222cdedffc8878ba88204cd94cadd864f (diff) |
Core/Spells: Correct effect index check for Earth's Grasp
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_shaman.cpp | 2 |
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); |