* Last commit also fixes damage calculation of Steady Shot, based on original patch by thenecromancer.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-08-21 17:23:09 +02:00
parent 7e52b1120c
commit 510410265d
+1 -1
View File
@@ -594,7 +594,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
if (m_caster->GetTypeId() == TYPEID_PLAYER)
{
// Add Ammo and Weapon damage
// Add Ammo and Weapon damage plus RAP * 0.1
Item *item = ((Player*)m_caster)->GetWeaponForAttack(RANGED_ATTACK);
if(item)
{