diff options
| author | QAston <none@none> | 2009-04-18 17:32:04 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-04-18 17:32:04 +0200 |
| commit | c9290eac285683b7a7a471271d4783123ca0b8ea (patch) | |
| tree | 162e1c2e330f7c95107e86930fb3980b833561b7 /src/game/SpellEffects.cpp | |
| parent | fe01557bc3204f7d9e01df3f26edc88edb7a4f85 (diff) | |
*Allow imp to learn Phase Shift
*Correct bonus damage for Unstable Affliction
*Correct some procflags.
--HG--
branch : trunk
rename : sql/updates/2685_world_spell_proc_event.sql => sql/updates/2774_world_spell_proc_event.sql
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index d321d2d6e31..c08e1bea198 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4937,7 +4937,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) // Viper Sting - Instantly restores mana to you equal to 60% of the total amount drained by your Viper Sting. if (familyFlag[1] & 0x00000080) { - int32 tickCount = (aura->GetAuraMaxDuration() - aura->GetAuraDuration()) / aura->GetPartAura(0)->GetAuraAmplitude(); + int32 tickCount = aura->GetPartAura(0)->GetTickNumber(); spellId = 53358; // 53358 Chimera Shot - Viper // Amount of one aura tick basePoint = aura->GetPartAura(0)->GetAmount() * aura->GetTarget()->GetMaxPower(POWER_MANA) / 100 ; |
