Fix yaam no damage (#351)

This commit is contained in:
sonilyan 2024-02-15 10:02:56 +08:00 committed by GitHub
parent 8325823493
commit caea9cb4fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;