We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567dea2 commit 3d6d66bCopy full SHA for 3d6d66b
src/tool.cpp
@@ -166,7 +166,7 @@ HitParams getHitParams(const ItemGroupList &armor_groups,
166
for(std::map<std::string, s16>::const_iterator
167
i = tp->damageGroups.begin(); i != tp->damageGroups.end(); i++){
168
s16 armor = itemgroup_get(armor_groups, i->first);
169
- damage += i->second * rangelim(time_from_last_punch * full_punch_interval, 0.0, 1.0)
+ damage += i->second * rangelim(time_from_last_punch / full_punch_interval, 0.0, 1.0)
170
* armor / 100.0;
171
}
172
0 commit comments