Skip to content

Commit

Permalink
Fix weaponCanRollDamageType for Afentis
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Jun 23, 2024
1 parent fc72e16 commit 8ef1380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rivencalc.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ function addStatCompatInfo(div, weaponData, tag, buff)

// Weapons with projectile:
// - Aeolak: Impact, Puncture, Slash.
// - Afentis: Puncture.
// - Acceltra: Impact.
// - Hystrix: Puncture.
// Weapons without projectile:
Expand All @@ -446,7 +447,7 @@ function weaponCanRollDamageType(weaponData, damageType)
if (damageType in damageTable)
{
const totalDamage = Object.values(damageTable).reduce((a, b) => a + b, 0);
return (damageTable[damageType] / totalDamage) > 0.15;
return (damageTable[damageType] / totalDamage) > 0.2;
}
return false;
}
Expand Down

0 comments on commit 8ef1380

Please sign in to comment.