From 6b505fb42a6e9c478239e4e5ca07018ed2e16308 Mon Sep 17 00:00:00 2001 From: Thayol Date: Wed, 23 Jun 2021 21:28:56 +0200 Subject: [PATCH] Added settings to README --- README.md | 2 ++ script.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 49144e0..434bf82 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ and if you know a better algorithm, feel free to create a pull request or an iss Open Metin2, enter the Okey Card Game event, then mirror your hand, discards, and cash outs to this program and it will tell you the next mathematically correct step. +If you need custom settings, clone the repository and modify the settings at the beginning of the [script.js](script.js) file. + ## Playing without Metin2 You can play the game without having Metin2 open. Check the "auto-draw" checkbox and cash out with "auto advance." \ No newline at end of file diff --git a/script.js b/script.js index f9245e0..e44ad3b 100644 --- a/script.js +++ b/script.js @@ -221,7 +221,7 @@ function drawCard(cardId, thisHand = null, thisDeck = null) { function recommend() { var cardCount = Object.keys(allCards).length - recommendOfDepth(6); + recommendOfDepth(3); updateUI(true); }