Greasy Fork

Greasy Fork is available in English.

Pokeclicker : Press tab to apply vitamins

Add vitamins to pokemon, for the game pokeclicker

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Pokeclicker : Press tab to apply vitamins
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Add vitamins to pokemon, for the game pokeclicker
// @author       DarthNato
// @match        https://www.pokeclicker.com/*
// @grant        none
// @license                  MIT
// ==/UserScript==


    document.addEventListener('keyup',function(evt){
    if(evt.keyCode==9){ // just click tab and you'll add vitamins to the pokemon of the chosen id (you can also change the keycode so that it's another button to press)
    //App.game.party.getPokemon(1).useVitamin(0,19);
    // Change the pokemon #
    // Change the Vitamin to use (0 = Protein, 1 = Calcium, 0 = Carbos)
    // Change the Number of Vitamins to use
    // NOTE: DOES NOT LIMIT THE AMOUNT OF VITAMINS


        // Give Bulbasaur 19 Proteins
        App.game.party.getPokemon(1).useVitamin(0,19);

        // Give Bulbasaur 21 Carbos
        App.game.party.getPokemon(1).useVitamin(2,21);
        }});