mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
New Challenger Image
This commit is contained in:
@@ -94,7 +94,7 @@ module.exports = class BattleCommand extends Command {
|
||||
} else if (choice === 'special') {
|
||||
const hit = Math.floor(Math.random() * 4) + 1;
|
||||
if (hit === 1) {
|
||||
const damage = Math.floor((Math.random() * ((guard ? 300 : 150) - (100 + 1))) + 100);
|
||||
const damage = Math.floor(Math.random() * (((guard ? 300 : 150) - 100) + 1)) + 100;
|
||||
await msg.say(`${user} deals **${damage}** damage!`);
|
||||
dealDamage(damage);
|
||||
reset();
|
||||
|
||||
Reference in New Issue
Block a user