mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
1 in 3
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = class BattleCommand extends Command {
|
||||
battle.attacker.changeGuard();
|
||||
battle.reset(false);
|
||||
} else if (choice === 'special') {
|
||||
const miss = Math.floor(Math.random() * 4);
|
||||
const miss = Math.floor(Math.random() * 3);
|
||||
if (miss) {
|
||||
await msg.say(`${battle.attacker}'s special attack missed!`);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user