Skip to content

Commit c4ae0cf

Browse files
authored
Foresighters: Add fail hint
1 parent c80fe77 commit c4ae0cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/formats.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,10 @@ export const Formats: FormatList = [
686686
move.flags['futuremove'] = 1;
687687
delete move.flags['protect'];
688688
move.onTry = function (source, t) {
689-
if (!t.side.addSlotCondition(t, 'futuremove')) return false;
689+
if (!t.side.addSlotCondition(t, 'futuremove')) {
690+
this.hint('Future moves fail when the targeted slot already has a future move focused on it.');
691+
return false;
692+
}
690693
const moveData = this.dex.getActiveMove(move.id);
691694
moveData.flags['futuremove'] = 1;
692695
delete moveData.flags['protect'];

0 commit comments

Comments
 (0)