Warning fixes and some random cleanup here and there

This commit is contained in:
Spp
2012-03-07 14:08:30 +01:00
parent e5d23103f3
commit f495e0efe4
123 changed files with 682 additions and 800 deletions

View File

@@ -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));