Hawluchange (Now playable!)

Pikachuun

the entire waruda machine
config/formats.js
Code:
    {
        name: "Hawluchange",
        section: "Other Metagames",
       
        ruleset: ['Pokemon', 'Standard', 'Team Preview'],
        banlist: ['Uber', 'Soul Dew', 'Gengarite', 'Kangaskhanite', 'Lucarionite'],
        mod: "hawluchange",
        onModifyMove: function (move, pokemon) {
            if (move.id === 'flyingpress') {
                move.type = pokemon.types[0];
                if (pokemon.types[1]) {
                    move.onEffectiveness = function(typeMod, type, move) {
                        return typeMod + this.getEffectiveness(pokemon.types[1], type);
                    }
                } else {
                    move.onEffectiveness = function(typeMod, type, move) {
                        return typeMod;
                    }
                }
            }
        }
    },
mods/hawluchange/scripts.js
Code:
exports.BattleScripts = {
    init: function () {
        for (var i in this.data.Learnsets) {
            this.modData('Learnsets', i).learnset.flyingpress = ['6L1'];
        }
    }
};
 
config/formats.js
Code:
    {
        name: "Hawluchange",
        section: "Other Metagames",
     
        ruleset: ['Pokemon', 'Standard', 'Team Preview'],
        banlist: ['Uber', 'Soul Dew', 'Gengarite', 'Kangaskhanite', 'Lucarionite'],
        mod: "hawluchange",
        onModifyMove: function (move, pokemon) {
            if (move.id === 'flyingpress') {
                move.type = pokemon.types[0];
                if (pokemon.types[1]) {
                    move.onEffectiveness = function(typeMod, type, move) {
                        return typeMod + this.getEffectiveness(pokemon.types[1], type);
                    }
                } else {
                    move.onEffectiveness = function(typeMod, type, move) {
                        return typeMod;
                    }
                }
            }
        }
    },
mods/hawluchange/scripts.js
Code:
exports.BattleScripts = {
    init: function () {
        for (var i in this.data.Learnsets) {
            this.modData('Learnsets', i).learnset.flyingpress = ['6L1'];
        }
    }
};
Thank you very much!
 
Those are some very nice spreadsheets but of course Abilities skew the results (there are 24 Levitators for a start).
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top