* Last commit also fixes damage calculation of Steady Shot, based on original patch by thenecromancer.
--HG-- branch : trunk
This commit is contained in:
@@ -594,7 +594,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
|||||||
|
|
||||||
if (m_caster->GetTypeId() == TYPEID_PLAYER)
|
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);
|
Item *item = ((Player*)m_caster)->GetWeaponForAttack(RANGED_ATTACK);
|
||||||
if(item)
|
if(item)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user