mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
取消防作弊机制
This commit is contained in:
parent
3191545e5f
commit
f27b199751
@ -63,21 +63,12 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
|||||||
if (noexit) {
|
if (noexit) {
|
||||||
core.status.extraEvent = core.clone(core.status.event);
|
core.status.extraEvent = core.clone(core.status.event);
|
||||||
}
|
}
|
||||||
flags.cheat = 0;
|
|
||||||
if (reason != '智慧之始') {
|
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 == '智慧之始')
|
|
||||||
core.status.hero.hp +=
|
core.status.hero.hp +=
|
||||||
core.itemCount('yellowKey') * 5000 +
|
core.itemCount('yellowKey') * 5000 +
|
||||||
core.itemCount('blueKey') * 15000;
|
core.itemCount('blueKey') * 15000;
|
||||||
|
}
|
||||||
|
|
||||||
// 游戏获胜事件
|
// 游戏获胜事件
|
||||||
core.ui.closePanel();
|
core.ui.closePanel();
|
||||||
|
Loading…
Reference in New Issue
Block a user