fix yaam no damage

This commit is contained in:
sonil 2024-02-05 14:15:48 +08:00
parent 8325823493
commit 2c96413c64
1 changed files with 1 additions and 1 deletions

View File

@ -6787,7 +6787,7 @@ static void damageModCalculateYaam(DamageCalculationContext* context)
} }
for (int index = 0; index < context->ammoQuantity; index++) { 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 += context->damageBonus;
damage -= calculatedDamageThreshold; damage -= calculatedDamageThreshold;