Skip to content

Commit

Permalink
Fix yaam no damage (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonilyan authored Feb 15, 2024
1 parent 8325823 commit caea9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/combat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6787,7 +6787,7 @@ static void damageModCalculateYaam(DamageCalculationContext* context)
}

for (int index = 0; index < context->ammoQuantity; index++) {
int damage = weaponGetDamage(context->attack->weapon, context->attack->hitMode);
int damage = weaponGetDamage(context->attack->attacker, context->attack->hitMode);
damage += context->damageBonus;

damage -= calculatedDamageThreshold;
Expand Down

0 comments on commit caea9cb

Please sign in to comment.