diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-02-08 16:23:31 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-02-08 16:23:31 +0100 |
commit | a043d539f016e8552ca6b7ea68ff162e15abf2b1 (patch) | |
tree | fbb8f098617e82852f06ab5c713b84c2b1d957e0 /src/server/game/Spells/Spell.cpp | |
parent | e6eadc1f3b979ecb1ecf12533cef48112a11722f (diff) |
Core/Spells: Implemented SpellLearnSpell.db2 for auto learning linked spells
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 387a01dbf0a..6e70c4ef696 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -543,6 +543,7 @@ SpellValue::SpellValue(Difficulty diff, SpellInfo const* proto) // todo 6.x SpellEffectInfoVector effects = proto->GetEffectsForDifficulty(diff); ASSERT(effects.size() <= MAX_SPELL_EFFECTS); + memset(EffectBasePoints, 0, sizeof(EffectBasePoints)); for (SpellEffectInfo const* effect : effects) if (effect) EffectBasePoints[effect->EffectIndex] = effect->BasePoints; |