testing

BOSS RUSH!!

30.04.2025 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         testing
// @namespace    https://greasyfork.org/ja/users/941284-ぐらんぴ
// @version      2025-4-30
// @description  BOSS RUSH!!
// @author       ぐらんぴ
// @match        https://pokerogue.net/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pokerogue.net
// @run-at       document-start
// @license      MIT
// ==/UserScript==

const settings = {
    BOSS_RUSH_MODE: { enabled: true, segments: 2 }, // HP[▉▉▉▉|▉▉▉▉]
    Enemy_Level_Boost: { enabled: true, multiplier: 1.2 }, // lvl.200 → 240
};

///---------------------------------------------------///

const segments = settings.BOSS_RUSH_MODE.segments;
const multiplier = settings.Enemy_Level_Boost.multiplier;


Object.defineProperties(Object.prototype, {
    'bossSegments': {
        set(v) {
            if(settings.BOSS_RUSH_MODE.enabled == true){
                if(v === undefined || v <= segments){
                    this._bossSegments = segments;
                }else{
                    this._bossSegments = v;
                }
                try{
                    this.boss = true;
                }catch{}
            }
        },
        get() { return this._bossSegments },
    },
    'isBoss': {
        set() {},
        get() { return true; },
    },
    'trainerSlot': {// kx
        set(v) {
            if(settings.BOSS_RUSH_MODE.enabled == true) this.setBoss(true)
            if(settings.Enemy_Level_Boost.enabled == true) this.level += Math.ceil(this.level * multiplier);
        },
        get() {},
    },
});