Greasy Fork 还支持 简体中文。

Pokeclicker : Press tab to apply vitamins

Add vitamins to pokemon, for the game pokeclicker

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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);
        }});