Greasy Fork

来自缓存

Greasy Fork is available in English.

Pokeclicker : Press tab for pokemon

Add Pokemon by Id for the game pokeclicker

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Pokeclicker : Press tab for pokemon
// @namespace    http://tampermonkey.net/
// @version      1.2.2
// @description  Add Pokemon by Id for the game pokeclicker
// @author       Loliprane
// @match        https://www.pokeclicker.com/*
// @grant        none
// @license                  MIT
// ==/UserScript==


    document.addEventListener('keyup',function(evt){
    if(evt.keyCode==9){ // just click on tab and you'll get the pokemon of the chosen id (you can also change the keycode so that it's another button to press)
    App.game.party.gainPokemonById(869.67,false); //false will get you a non shiny, true will get you one. You can add as many of those line as you want.
    App.game.party.gainPokemonById(869.67,false); //etc, you just have to change the ID to get different pokemon
    
    
    App.game.party.removePokemonByName("MissingNo."); // remove the MissingNo if by mistake you add it to your party : getting the name of a pokemon is quite tedious but it's possible so if you want to know just post a feedback
        }});