Widget:Calculator/Combat/Max Hit: Difference between revisions
No edit summary |
No edit summary |
||
Line 92: | Line 92: | ||
); | ); | ||
const maxHit = Math.max(1, Math. | const maxHit = Math.max(1, Math.floor(calculatedHit)); | ||
maxHitResultEl.textContent = maxHit; | maxHitResultEl.textContent = maxHit; |