* Don't apply double RAP modifier to Steady Shot, pointed out by thenecromancer

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-08-21 18:13:21 +02:00
parent 614d31ddb2
commit 3f24bc9085

View File

@@ -600,7 +600,6 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
{
damage += urand(uint32(item->GetProto()->Damage->DamageMin), uint32(item->GetProto()->Damage->DamageMax));
damage += ((Player*)m_caster)->GetAmmoDPS()*item->GetProto()->Delay/1000;
damage += ((Player*)m_caster)->GetTotalAttackPowerValue(RANGED_ATTACK)*0.1f;
}
}