Update app.js

master
ColtJLaCh 2021-12-21 16:13:54 -05:00 committed by GitHub
parent 6b58c98be0
commit 8897c9aecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ function fight() {
slimeHP -= dmgDealt; slimeHP -= dmgDealt;
}else{ }else{
critChance = Math.floor(Math.random() * 100); critChance = Math.floor(Math.random() * 100);
if (critChance >= 100-critStat) { if (critChance >= 100-statCrit) {
slimeHP = 0; slimeHP = 0;
dmgDealt = 99; dmgDealt = 99;
}else{ }else{