aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-21 18:13:21 +0200
committerMachiavelli <none@none>2009-08-21 18:13:21 +0200
commit3f24bc90856123732521aee92ea81bf02db18320 (patch)
treea5faf2a182dba9be7cfee7d526c5c5b16ddd1267 /src
parent614d31ddb25db3ab6e98509df8dfd8b2349ef424 (diff)
* Don't apply double RAP modifier to Steady Shot, pointed out by thenecromancer
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 13a2a635c06..be4aef15ff0 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -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;
}
}