diff options
author | QAston <none@none> | 2010-07-16 18:05:25 +0200 |
---|---|---|
committer | QAston <none@none> | 2010-07-16 18:05:25 +0200 |
commit | 974e120235c8885008867221755d6544f9f2c091 (patch) | |
tree | ff92fcd499cd06e4992f06a297e0928a7de6d26d /src | |
parent | d005e14faf674f7195725894ad30f760dae9872d (diff) |
*Remove no longer needed check in Arcane Potency script - by A.Metaphysical.Drama.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 42f1f151dd9..3ebfa44492c 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -917,20 +917,17 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster, // Arcane Potency if (AuraEffect const * aurEff = caster->GetAuraEffect(SPELL_AURA_DUMMY, SPELLFAMILY_MAGE, 2120, 0)) { - if (roll_chance_i(aurEff->GetAmount())) - { - uint32 spellId = 0; + uint32 spellId = 0; - switch (aurEff->GetId()) - { - case 31571: spellId = 57529; break; - case 31572: spellId = 57531; break; - default: - sLog.outError("Aura::HandleAuraSpecificMods: Unknown rank of Arcane Potency (%d) found", aurEff->GetId()); - } - if (spellId) - caster->CastSpell(caster, spellId, true); + switch (aurEff->GetId()) + { + case 31571: spellId = 57529; break; + case 31572: spellId = 57531; break; + default: + sLog.outError("Aura::HandleAuraSpecificMods: Unknown rank of Arcane Potency (%d) found", aurEff->GetId()); } + if (spellId) + caster->CastSpell(caster, spellId, true); } break; } |