From f27b199751f80c35487fb946aac83fb212fe04fd Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 23 Apr 2023 11:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=98=B2=E4=BD=9C=E5=BC=8A?= =?UTF-8?q?=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/project/functions.js | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/public/project/functions.js b/public/project/functions.js index 92736d6..f1e0839 100644 --- a/public/project/functions.js +++ b/public/project/functions.js @@ -63,21 +63,12 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { if (noexit) { core.status.extraEvent = core.clone(core.status.event); } - flags.cheat = 0; - if (reason != '智慧之始') { - flags.cheat += 100; - } - if (core.status.hero.atk >= 1000 || core.status.hero.def >= 1000) - flags.cheat += 50; - if (flags.cheat >= 30) { - while (true) { - console.log(Math.pow(Math.random(), Math.random())); - } - } - if (reason == '智慧之始') + + if (reason === '智慧之始') { core.status.hero.hp += core.itemCount('yellowKey') * 5000 + core.itemCount('blueKey') * 15000; + } // 游戏获胜事件 core.ui.closePanel();