mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-06 14:45:07 +00:00
feat(web/skillcheck): random skill check key from inputs table
This commit is contained in:
1 parent
7c2e894b67
commit
f166c1675e
4 files changed
+42
-17
No files matched your search
@@ -2,10 +2,13 @@ import { debugData } from '../../../utils/debugData';
|
||||
import { GameDifficulty } from '../../skillcheck';
|
||||
|
||||
export const debugSkillCheck = () => {
|
||||
debugData<GameDifficulty | GameDifficulty[]>([
|
||||
debugData<{ difficulty: GameDifficulty | GameDifficulty[]; inputs?: string[] }>([
|
||||
{
|
||||
action: 'startSkillCheck',
|
||||
data: ['easy', 'easy', 'hard'],
|
||||
data: {
|
||||
difficulty: ['easy', 'easy', 'hard'],
|
||||
inputs: ['W', 'A', 'S', 'D'],
|
||||
},
|
||||
},
|
||||
]);
|
||||
};
|
||||
Reference in new issue
Block a user