Skip to content

Commit

Permalink
feat(balance): unarmed skill affects empty-handed damage again (#4160)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosvolt authored Jan 28, 2024
1 parent bae45a1 commit fcdf47f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/melee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,11 @@ void Character::roll_bash_damage( bool crit, damage_instance &di, bool average,
float weap_dam = weap.damage_melee( DT_BASH ) + stat_bonus;
/** @EFFECT_UNARMED caps bash damage with unarmed weapons */

if( unarmed && weap.is_null() ) {
/** @EFFECT_UNARMED defines weapon damage of empty-handed unarmed attacks */
weap_dam += skill * 2;
}

/** @EFFECT_BASHING caps bash damage with bashing weapons */
float bash_cap = 2 * stat + 2 * skill;
float bash_mul = 1.0f;
Expand Down

0 comments on commit fcdf47f

Please sign in to comment.