Fix yaam no damage (#351)
This commit is contained in:
parent
8325823493
commit
caea9cb4fb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue