Commit f215d2cc authored by Chris Robinson's avatar Chris Robinson

Only raise weapon skills for the player

parent bec420c6
......@@ -373,7 +373,8 @@ namespace MWClass
damage /= std::min(1.0f + othercls.getArmorRating(victim)/std::max(1.0f, damage), 4.0f);
skillUsageSucceeded(ptr, weapskill, 0);
if(ptr.getRefData().getHandle() == "player")
skillUsageSucceeded(ptr, weapskill, 0);
othercls.onHit(victim, damage, weapon, ptr, true);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment