diff options
| author | Spp <spp@jorge.gr> | 2012-03-07 14:08:30 +0100 |
|---|---|---|
| committer | Spp <spp@jorge.gr> | 2012-03-07 14:09:18 +0100 |
| commit | f495e0efe4aff18d702fdc74ecc4f43e249aea9a (patch) | |
| tree | fd53845273354fb46fb33d8228479d72352aa5a5 /src/server/scripts/Spells | |
| parent | e5d23103f37c40d2e946fa0e2db66d2f527ad9af (diff) | |
Warning fixes and some random cleanup here and there
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_warlock.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index e4593be295c..80ba1972437 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -381,7 +381,6 @@ class spell_warl_life_tap : public SpellScriptLoader if (Unit* target = GetHitUnit()) { SpellInfo const* spellInfo = GetSpellInfo(); - float spFactor = 0.0f; int32 damage = int32(GetEffectValue() + (6.3875 * spellInfo->BaseLevel)); int32 mana = int32(damage + (caster->GetUInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS+SPELL_SCHOOL_SHADOW) * 0.5f)); |
