Initial Modpack Upload

This commit is contained in:
Rbanh committed 2023-08-14 21:45:09 -04:00
1 parent 268b0650aa
commit 3d8b956ee4
1429 files changed
+820128

No files matched your search

+737
View File
@@ -0,0 +1,737 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var abilities_exports = {};
__export(abilities_exports, {
Abilities: () => Abilities
});
module.exports = __toCommonJS(abilities_exports);
const Abilities = {
swiftswim: {
inherit: true,
onModifySpe(spe, pokemon) {
if (this.field.isWeather(["raindance", "primordialsea"])) {
return this.chainModify(1.5);
}
},
shortDesc: "If Rain Dance is active, this Pokemon's Speed is multiplied by 1.5."
},
chlorophyll: {
inherit: true,
onModifySpe(spe) {
if (this.field.isWeather(["sunnyday", "desolateland"])) {
return this.chainModify(1.5);
}
},
shortDesc: "If Sunny Day is active, this Pokemon's Speed is multiplied by 1.5."
},
sandrush: {
inherit: true,
onModifySpe(spe, pokemon) {
if (this.field.isWeather("sandstorm")) {
return this.chainModify(1.5);
}
},
shortDesc: "If Sandstorm is active, this Pokemon's Speed is multiplied by 1.5."
},
slushrush: {
inherit: true,
onModifySpe(spe, pokemon) {
if (this.field.isWeather("hail")) {
return this.chainModify(1.5);
}
},
shortDesc: "If Hail is active, this Pokemon's Speed is multiplied by 1.5."
},
forecast: {
inherit: true,
onModifyMove(move) {
if (move.weather) {
const weather = move.weather;
move.weather = "";
move.onHit = function(target, source) {
this.field.setWeather(weather, source, this.dex.abilities.get("forecast"));
this.field.weatherState.duration = 0;
};
move.target = "self";
}
},
desc: "If this Pokemon is a Castform, its type changes to the current weather condition's type, except Sandstorm. Weather moves last forever.",
shortDesc: "Castform's type changes to the current weather condition's type, except Sandstorm; weather moves last forever."
},
thickfat: {
inherit: true,
onImmunity(type, pokemon) {
if (type === "hail")
return false;
},
onSourceModifyAtk(atk, attacker, defender, move) {
if (move.type === "Ice" || move.type === "Fire" || move.type === "Fighting") {
this.add("-message", "The attack was weakened by Thick Fat!");
return this.chainModify(0.5);
}
},
onSourceModifySpA(atk, attacker, defender, move) {
if (move.type === "Ice" || move.type === "Fire" || move.type === "Fighting") {
this.add("-message", "The attack was weakened by Thick Fat!");
return this.chainModify(0.5);
}
},
desc: "If a Pokemon uses a Fire- or Ice- or Fighting-type attack against this Pokemon, that Pokemon's attacking stat is halved when calculating the damage to this Pokemon. This Pokemon takes no damage from Hail.",
shortDesc: "Fire/Ice/Fighting-type moves against this Pokemon deal damage with a halved attacking stat; immunity to Hail."
},
marvelscale: {
inherit: true,
onImmunity(type, pokemon) {
if (type === "hail")
return false;
},
desc: "If this Pokemon has a major status condition, its Defense is multiplied by 1.5. This Pokemon takes no damage from Hail.",
shortDesc: "If this Pokemon is statused, its Defense is 1.5x; immunity to Hail."
},
snowcloak: {
inherit: true,
onSourceBasePower(basePower) {
if (this.field.isWeather("hail")) {
return basePower * 3 / 4;
}
return basePower * 7 / 8;
},
onModifyAccuracy() {
},
desc: "If Hail is active, attacks against this Pokemon do 25% less than normal. If Hail is not active, attacks against this Pokemon do 12.5% less than normal. This Pokemon takes no damage from Hail.",
shortDesc: "If Hail is active, attacks against this Pokemon do 25% less; immunity to Hail."
},
sandveil: {
inherit: true,
desc: "If Sandstorm is active, attacks against this Pokemon do 25% less than normal. If Sandstorm is not active, attacks against this Pokemon do 12.5% less than normal. This Pokemon takes no damage from Sandstorm.",
shortDesc: "If Sandstorm is active, attacks against this Pokemon do 25% less; immunity to Sandstorm.",
onSourceBasePower(basePower) {
if (this.field.isWeather("sandstorm")) {
return basePower * 4 / 5;
}
},
onModifyAccuracy() {
}
},
waterveil: {
inherit: true,
onSourceBasePower(basePower) {
if (this.field.isWeather(["raindance", "primordialsea"])) {
return basePower * 3 / 4;
}
return basePower * 7 / 8;
},
desc: "If Rain Dance is active, attacks against this Pokemon do 25% less than normal. This Pokemon cannot be burned. Gaining this Ability while burned cures it.",
shortDesc: "If Rain Dance is active, attacks against this Pokemon do 25% less; This Pokemon cannot be burned."
},
icebody: {
inherit: true,
desc: "This Pokemon restores 1/16 of its maximum HP, rounded down, at the end of each turn. This Pokemon takes no damage from Hail. There is a 30% chance a Pokemon making contact with this Pokemon will be frozen.",
shortDesc: "This Pokemon heals 1/16 of its max HP each turn; immunity to Hail; 30% chance a Pokemon making contact with this Pokemon will be frozen.",
onResidual(target, source, effect) {
this.heal(target.baseMaxhp / 16);
},
onDamagingHit(damage, target, source, move) {
if (move.flags["contact"] && this.field.isWeather("hail")) {
if (this.randomChance(3, 10)) {
source.trySetStatus("frz", target);
}
}
},
onWeather() {
}
},
flamebody: {
inherit: true,
onImmunity(type, pokemon) {
if (type === "hail")
return false;
},
shortDesc: "30% chance a Pokemon making contact with this Pokemon will be burned; immunity to Hail."
},
static: {
inherit: true,
onDamagingHit(damage, target, source, move) {
if (move.flags["contact"]) {
source.trySetStatus("par", target);
}
},
shortDesc: "100% chance a Pokemon making contact with this Pokemon will be paralyzed."
},
cutecharm: {
inherit: true,
onDamagingHit(damage, target, source, move) {
if (move.flags["contact"]) {
source.addVolatile("Attract", target);
}
},
desc: "There is a 100% chance a Pokemon making contact with this Pokemon will become infatuated if it is of the opposite gender.",
shortDesc: "100% chance of infatuating Pokemon of the opposite gender if they make contact."
},
poisonpoint: {
inherit: true,
onDamagingHit(damage, target, source, move) {
if (move.flags["contact"]) {
source.trySetStatus("psn", target);
}
},
shortDesc: "100% chance a Pokemon making contact with this Pokemon will be poisoned."
},
flowergift: {
inherit: true,
onModifyMove(move) {
if (move.id === "sunnyday") {
const weather = move.weather;
move.weather = "";
move.onHit = function(target, source) {
this.field.setWeather(weather, source, this.dex.abilities.get("flowergift"));
this.field.weatherState.duration = 0;
};
move.target = "self";
move.sideCondition = "flowergift";
}
},
onUpdate(pokemon) {
if (this.field.isWeather(["sunnyday", "desolateland"])) {
if (pokemon.isActive && pokemon.species.id === "cherrim" && this.effectState.forme !== "Sunshine") {
this.effectState.forme = "Sunshine";
this.add("-formechange", pokemon, "Cherrim-Sunshine", "[msg]");
this.boost({ spd: 1 });
}
} else if (pokemon.isActive && pokemon.species.id === "cherrim" && this.effectState.forme) {
delete this.effectState.forme;
this.add("-formechange", pokemon, "Cherrim", "[msg]");
}
},
condition: {
onSwitchInPriority: 1,
onSwitchIn(target) {
if (!target.fainted) {
this.boost({ spd: 1 }, target, target, this.dex.abilities.get("flowergift"));
}
target.side.removeSideCondition("flowergift");
}
},
desc: "If this Pokemon is a Cherrim and Sunny Day is active, it changes to Sunshine Form and the Special Defense of it is multiplied by 1.5. The next Pokemon that switches in gets its Special Defense also multiplied by 1.5.",
shortDesc: "If user is Cherrim and Sunny Day is active, its Sp. Def is multiplied by 1.5; the next switch-in also gets its SpD multiplied by 1.5."
},
slowstart: {
inherit: true,
condition: {
duration: 3,
onStart(target) {
this.add("-start", target, "Slow Start");
},
onModifyAtk(atk, pokemon) {
if (pokemon.ability !== "slowstart") {
pokemon.removeVolatile("slowstart");
return;
}
return atk / 2;
},
onModifySpe(spe, pokemon) {
if (pokemon.ability !== "slowstart") {
pokemon.removeVolatile("slowstart");
return;
}
return spe / 2;
},
onEnd(target) {
this.add("-end", target, "Slow Start");
}
},
shortDesc: "On switch-in, this Pokemon's Attack and Speed are halved for 3 turns."
},
compoundeyes: {
inherit: true,
desc: "The accuracy of this Pokemon's moves receives a 60% increase; for example, a 50% accurate move becomes 80% accurate.",
shortDesc: "This Pokemon's moves have their Accuracy boosted to 1.6x.",
onSourceModifyAccuracy(accuracy) {
if (typeof accuracy !== "number")
return;
this.debug("compoundeyes - enhancing accuracy");
return accuracy * 1.6;
}
},
keeneye: {
inherit: true,
desc: "The accuracy of this Pokemon's moves receives a 60% increase; for example, a 50% accurate move becomes 80% accurate.",
shortDesc: "This Pokemon's moves have their Accuracy boosted to 1.6x.",
onModifyMove(move) {
if (typeof move.accuracy !== "number")
return;
this.debug("keeneye - enhancing accuracy");
move.accuracy *= 1.6;
}
},
solidrock: {
inherit: true,
shortDesc: "This Pokemon receives 1/2 damage from supereffective attacks.",
onSourceModifyDamage(damage, attacker, defender, move) {
if (defender.getMoveHitData(move).typeMod > 0) {
this.add("-message", "The attack was weakened by Solid Rock!");
return this.chainModify(0.5);
}
}
},
filter: {
inherit: true,
shortDesc: "This Pokemon receives 1/2 damage from supereffective attacks.",
onSourceModifyDamage(damage, attacker, defender, move) {
if (defender.getMoveHitData(move).typeMod > 0) {
this.add("-message", "The attack was weakened by Filter!");
return this.chainModify(0.5);
}
}
},
heatproof: {
inherit: true,
desc: "The user is completely immune to Fire-type moves and burn damage.",
shortDesc: "The user is immune to Fire type attacks and burn damage.",
onImmunity(type, pokemon) {
if (type === "Fire" || type === "brn")
return false;
}
},
reckless: {
inherit: true,
onBasePower(basePower, attacker, defender, move) {
if (move.recoil || move.hasCrashDamage || attacker.item === "lifeorb") {
this.debug("Reckless boost");
return basePower * 12 / 10;
}
},
desc: "This Pokemon's attacks with recoil or crash damage or if the user is holding a Life Orb have their power multiplied by 1.2. Does not affect Struggle.",
shortDesc: "This Pokemon's attacks with recoil or crash damage or the user's item is Life Orb have 1.2x power; not Struggle."
},
clearbody: {
inherit: true,
onTryBoost(boost, target, source) {
let i;
for (i in boost) {
if (boost[i] < 0) {
delete boost[i];
this.add("-message", target.name + "'s stats were not lowered! (placeholder)");
}
}
},
shortDesc: "Prevents any negative stat changes on this Pokemon."
},
whitesmoke: {
inherit: true,
onTryBoost(boost, target, source) {
let i;
for (i in boost) {
if (boost[i] < 0) {
delete boost[i];
this.add("-message", target.name + "'s stats were not lowered! (placeholder)");
}
}
},
shortDesc: "Prevents any negative stat changes on this Pokemon."
},
rockhead: {
inherit: true,
onDamage(damage, target, source, effect) {
if (effect && ["lifeorb", "recoil"].includes(effect.id))
return false;
},
desc: "This Pokemon does not take recoil damage besides Struggle, and crash damage.",
shortDesc: "This Pokemon does not take recoil damage besides Struggle/crash damage."
},
download: {
inherit: true,
onStart(pokemon) {
if (pokemon.species.baseSpecies === "Genesect") {
if (!pokemon.getItem().onDrive)
return;
}
let totaldef = 0;
let totalspd = 0;
for (const foe of pokemon.foes()) {
totaldef += foe.storedStats.def;
totalspd += foe.storedStats.spd;
}
if (totaldef && totaldef >= totalspd) {
this.boost({ spa: 1 });
} else if (totalspd) {
this.boost({ atk: 1 });
}
},
desc: "On switch-in, this Pokemon's Attack or Special Attack is raised by 1 stage based on the weaker combined defensive stat of all opposing Pokemon. Attack is raised if their Defense is lower, and Special Attack is raised if their Special Defense is the same or lower. If the user is a Genesect, this will not have effect unless it holds a Drive.",
shortDesc: "On switch-in, Attack or Sp. Atk is raised 1 stage based on the foes' weaker Defense; Genesect must hold a plate for the effect to work."
},
victorystar: {
inherit: true,
onAllyModifyMove(move) {
if (typeof move.accuracy === "number") {
move.accuracy *= 1.5;
}
},
shortDesc: "This Pokemon's moves' accuracy is multiplied by 1.5."
},
shellarmor: {
inherit: true,
onDamage(damage, target, source, effect) {
if (effect && effect.effectType === "Move") {
this.add("-message", "Its damage was reduced by Shell Armor!");
damage -= target.maxhp / 10;
if (damage < 0)
damage = 0;
return damage;
}
},
onHit(target, source, move) {
if (move.id === "shellsmash") {
target.setAbility("");
}
},
desc: "This Pokemon cannot be struck by a critical hit. This ability also reduces incoming move damage by 1/10 of the user's max HP. If the user uses Shell Smash, this ability's effect ends.",
shortDesc: "This Pokemon can't be struck critical hit; reduces incoming move damage by 1/10 of the user's max HP."
},
prismarmor: {
inherit: true,
onDamage(damage, target, source, effect) {
if (effect && effect.effectType === "Move") {
this.add("-message", "Its damage was reduced by Prism Armor!");
damage -= target.maxhp / 10;
if (damage < 0)
damage = 0;
return damage;
}
},
desc: "This Pokemon receives 3/4 damage from supereffective attacks. Moongeist Beam, Sunsteel Strike, and the Abilities Mold Breaker, Teravolt, and Turboblaze cannot ignore this Ability. This ability also reduces incoming move damage by 1/10 of the user's max HP.",
shortDesc: "This Pokemon receives 3/4 damage from supereffective attacks; reduces incoming move damage by 1/10 of the user's max HP."
},
battlearmor: {
inherit: true,
onDamage(damage, target, source, effect) {
if (effect && effect.effectType === "Move") {
this.add("-message", "Its damage was reduced by Battle Armor!");
damage -= target.maxhp / 10;
if (damage < 0)
damage = 0;
return damage;
}
},
desc: "This Pokemon cannot be struck by a critical hit. This ability also reduces incoming move damage by 1/10 of the user's max HP.",
shortDesc: "This Pokemon can't be struck critical hit; reduces incoming move damage by 1/10 of the user's max HP."
},
weakarmor: {
inherit: true,
onDamage(damage, target, source, effect) {
if (effect && effect.effectType === "Move") {
this.add("-message", "Its damage was reduced by Weak Armor!");
damage -= target.maxhp / 10;
if (damage < 0)
damage = 0;
target.setAbility("");
this.boost({ spe: 1 });
return damage;
}
},
onDamagingHit() {
},
desc: "This ability reduces incoming move damage by 1/10 of the user's max HP and increases the user's Speed for the first hit after switch-in (and does not activate again until the next switch-in).",
shortDesc: "Reduces incoming move damage by 1/10 of the user's max HP and increases the user's Spe for the 1st hit after switch-in (doesn't activate until next switch-in)."
},
magmaarmor: {
inherit: true,
onImmunity(type, pokemon) {
if (type === "hail")
return false;
if (type === "frz")
return false;
},
onDamage(damage, target, source, effect) {
if (effect && effect.effectType === "Move") {
damage -= target.maxhp / 10;
if (damage < 0)
damage = 0;
if (effect.type === "Ice" || effect.type === "Water") {
this.add("-activate", target, "ability: Magma Armor");
target.setAbility("battlearmor");
damage = 0;
} else {
this.add("-message", "Its damage was reduced by Magma Armor!");
}
return damage;
}
},
desc: "This ability reduces incoming move damage by 1/10 of the user's max HP, provides immunity to Hail and freeze, and provides a one-time immunity to Water and Ice (after which it turns into Battle Armor).",
shortDesc: "Reduces incoming move damage by 1/10 of the user's max HP, provides immunity to Hail & Frz, and provides a 1 time immunity to Water and Ice."
},
multiscale: {
inherit: true,
onSourceModifyDamage(damage, source, target, move) {
if (target.hp >= target.maxhp) {
this.add("-message", "The attack was slightly weakened by Multiscale!");
return this.chainModify(2 / 3);
}
},
shortDesc: "If this Pokemon is at full HP, damage taken from attacks is lessened by 1/3."
},
ironfist: {
inherit: true,
onBasePower(basePower, attacker, defender, move) {
if (move.flags["punch"]) {
return basePower * 1.33;
}
},
desc: "This Pokemon's punch-based attacks have their power multiplied by 1.33.",
shortDesc: "This Pokemon's punch-based attacks have 1.33x power. Sucker Punch is not boosted."
},
stench: {
inherit: true,
onModifyMove(move) {
if (move.category !== "Status") {
this.debug("Adding Stench flinch");
if (!move.secondaries)
move.secondaries = [];
for (const secondary of move.secondaries) {
if (secondary.volatileStatus === "flinch")
return;
}
move.secondaries.push({
chance: 40,
volatileStatus: "flinch"
});
}
},
shortDesc: "This Pokemon's attacks without a chance to flinch have a 40% chance to flinch."
},
aftermath: {
inherit: true,
onDamagingHit(damage, target, source, move) {
if (!target.hp) {
this.damage(source.baseMaxhp / 3, source, target, null, true);
}
},
desc: "If this Pokemon is knocked out, that move's user loses 1/4 of its maximum HP, rounded down. If any active Pokemon has the Ability Damp, this effect is prevented.",
shortDesc: "If this Pokemon is KOed, that move's user loses 1/4 its max HP."
},
cursedbody: {
desc: "When this Pokemon faints, attacker is Cursed.",
shortDesc: "When this Pokemon faints, attacker is Cursed.",
onFaint(target, source, effect) {
if (effect && effect.effectType === "Move" && source) {
source.addVolatile("curse");
}
},
name: "Cursed Body",
rating: 3,
num: 130
},
gluttony: {
inherit: true,
onResidualOrder: 26,
onResidualSubOrder: 1,
onResidual(pokemon) {
if (!pokemon.m.gluttonyFlag && !pokemon.item && this.dex.items.get(pokemon.lastItem).isBerry) {
pokemon.m.gluttonyFlag = true;
pokemon.setItem(pokemon.lastItem);
pokemon.lastItem = "";
this.add("-item", pokemon, pokemon.item, "[from] ability: Gluttony");
}
},
shortDesc: "When this Pokemon has 1/2 or less of its maximum HP, it uses certain Berries early. Each berry has 2 uses."
},
guts: {
inherit: true,
onDamage(damage, attacker, defender, effect) {
if (effect && (effect.id === "brn" || effect.id === "psn" || effect.id === "tox")) {
return damage / 2;
}
},
desc: "If this Pokemon has a major status condition, its Attack is multiplied by 1.5; burn's physical damage halving is ignored; takes half damage from burn/poison/toxic.",
shortDesc: "If this Pokemon is statused, its Attack is 1.5x; ignores burn halving physical damage; takes 1/2 damage from brn/psn/tox."
},
quickfeet: {
inherit: true,
onDamage(damage, attacker, defender, effect) {
if (effect && (effect.id === "brn" || effect.id === "psn" || effect.id === "tox")) {
return damage / 2;
}
},
desc: "If this Pokemon has a major status condition, its Speed is multiplied by 1.5; the Speed drop from paralysis is ignored; takes half damage from burn/poison/toxic.",
shortDesc: "If this Pokemon is statused, its Speed is 1.5x; ignores Speed drop from paralysis; takes 1/2 damage from brn/psn/tox."
},
toxicboost: {
inherit: true,
onDamage(damage, attacker, defender, effect) {
if (effect && (effect.id === "psn" || effect.id === "tox")) {
return damage / 2;
}
},
desc: "While this Pokemon is poisoned, the power of its physical attacks is multiplied by 1.5; takes half damage from poison/toxic.",
shortDesc: "While this Pokemon is poisoned, its physical attacks have 1.5x power; takes 1/2 damage from psn/tox."
},
truant: {
inherit: true,
onBeforeMove() {
},
onModifyMove(move, pokemon) {
if (!move.self)
move.self = {};
if (!move.self.volatileStatus)
move.self.volatileStatus = "truant";
},
condition: {
duration: 2,
onStart(pokemon) {
this.add("-start", pokemon, "Truant");
},
onBeforeMovePriority: 99,
onBeforeMove(pokemon, target, move) {
if (pokemon.removeVolatile("truant")) {
this.add("cant", pokemon, "ability: Truant");
this.heal(pokemon.baseMaxhp / 3);
return false;
}
}
},
shortDesc: "This Pokemon will not be able to move the turn after a successful move; heals 1/3 of its max HP on its Truant turn."
},
flareboost: {
inherit: true,
onDamage(damage, defender, attacker, effect) {
if (effect && effect.id === "brn") {
return damage / 2;
}
},
desc: "While this Pokemon is burned, the power of its special attacks is multiplied by 1.5; takes half damage from burns.",
shortDesc: "While this Pokemon is burned, its special attacks have 1.5x power; takes 1/2 damage from brn."
},
telepathy: {
inherit: true,
onStart(target) {
this.add("-start", target, "move: Imprison");
},
onFoeDisableMove(pokemon) {
for (const moveSlot of this.effectState.target.moveSlots) {
pokemon.disableMove(moveSlot.id, "hidden");
}
pokemon.maybeDisabled = true;
},
onFoeBeforeMove(attacker, defender, move) {
if (move.id !== "struggle" && this.effectState.target.hasMove(move.id) && !move.isZ) {
this.add("cant", attacker, "move: Imprison", move);
return false;
}
},
shortDesc: "This Pokemon does not take damage from attacks made by its allies; imprisons the target upon entry."
},
speedboost: {
inherit: true,
onResidualPriority: -1,
onResidual(pokemon) {
if (pokemon.activeTurns && !pokemon.volatiles["stall"]) {
this.boost({ spe: 1 });
}
},
desc: "This Pokemon's Speed is raised by 1 stage at the end of each full turn it has been on the field. This ability does not activate on turns Protect, Detect, Endure, etc are used."
},
parentalbond: {
inherit: true,
onModifyMove(move, pokemon, target) {
if (move.category === "Status" || move.selfdestruct || move.multihit)
return;
if (!target)
return;
if (this.activePerHalf === 1 || ["any", "normal", "randomNormal"].includes(move.target)) {
move.multihit = 2;
move.accuracy = true;
pokemon.addVolatile("parentalbond");
}
},
condition: {
duration: 1,
onBasePowerPriority: 8,
onBasePower(basePower) {
return this.chainModify(0.5);
}
},
desc: "This Pokemon's damaging moves become multi-hit moves that hit twice. Both hits' damage are halved. Does not affect multi-hit moves or moves that have multiple targets. The moves that are affected will never miss.",
shortDesc: "This Pokemon's damaging moves hit twice. Both hits have their damage halved. Moves affected have -- accuracy."
},
swarm: {
inherit: true,
onFoeBasePower(basePower, attacker, defender, move) {
if (defender.hasType("Flying")) {
if (move.type === "Rock" || move.type === "Electric" || move.type === "Ice") {
this.add("-message", "The attack was weakened by Swarm!");
return basePower / 2;
}
}
},
onDamage(damage, defender, attacker, effect) {
if (defender.hasType("Flying")) {
if (effect && effect.id === "stealthrock") {
return damage / 2;
}
}
},
desc: "When this Pokemon has 1/3 or less of its maximum HP, rounded down, its attacking stat is multiplied by 1.5 while using a Bug-type attack. The user takes half damage from Rock, Ice, Electric moves, and Stealth Rock if they are Flying type.",
shortDesc: "When this Pokemon has 1/3 or less of its max HP, its Bug attacks do 1.5x damage. The user takes 1/2 damage from Rock/Ice/Electric moves, and Stealth Rock, if the user is Flying type."
},
adaptability: {
inherit: true,
onModifyMove(move) {
},
onBasePower(power, attacker, defender, move) {
if (!attacker.hasType(move.type)) {
return this.chainModify(1.33);
}
},
desc: "This Pokemon's moves that don't match one of its types have an attack bonus of 1.33.",
shortDesc: "This Pokemon's non-STAB moves is 1.33x."
},
shadowtag: {
desc: "For the first turn after this Pokemon switches in, prevent adjacent opposing Pokemon from choosing to switch out unless they are immune to trapping or also have this Ability.",
shortDesc: "Prevents adjacent foes from choosing to switch for one turn.",
inherit: true,
onStart(pokemon) {
pokemon.addVolatile("shadowtag");
},
condition: {
duration: 2,
onFoeTrapPokemon(pokemon) {
if (pokemon.ability !== "shadowtag") {
pokemon.tryTrap(true);
}
}
},
onBeforeMovePriority: 15,
onBeforeMove(pokemon) {
pokemon.removeVolatile("shadowtag");
},
onFoeMaybeTrapPokemon(pokemon, source) {
if (!source)
source = this.effectState.target;
if (!source || !pokemon.isAdjacent(source))
return;
if (pokemon.ability !== "shadowtag" && !source.volatiles["shadowtag"]) {
pokemon.maybeTrapped = true;
}
},
onFoeTrapPokemon(pokemon) {
}
}
};
//# sourceMappingURL=abilities.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/abilities.ts"],
"sourcesContent": ["export const Abilities: {[k: string]: ModdedAbilityData} = {\r\n\tswiftswim: {\r\n\t\tinherit: true,\r\n\t\tonModifySpe(spe, pokemon) {\r\n\t\t\tif (this.field.isWeather(['raindance', 'primordialsea'])) {\r\n\t\t\t\treturn this.chainModify(1.5);\r\n\t\t\t}\r\n\t\t},\r\n\t\tshortDesc: \"If Rain Dance is active, this Pokemon's Speed is multiplied by 1.5.\",\r\n\t},\r\n\tchlorophyll: {\r\n\t\tinherit: true,\r\n\t\tonModifySpe(spe) {\r\n\t\t\tif (this.field.isWeather(['sunnyday', 'desolateland'])) {\r\n\t\t\t\treturn this.chainModify(1.5);\r\n\t\t\t}\r\n\t\t},\r\n\t\tshortDesc: \"If Sunny Day is active, this Pokemon's Speed is multiplied by 1.5.\",\r\n\t},\r\n\tsandrush: {\r\n\t\tinherit: true,\r\n\t\tonModifySpe(spe, pokemon) {\r\n\t\t\tif (this.field.isWeather('sandstorm')) {\r\n\t\t\t\treturn this.chainModify(1.5);\r\n\t\t\t}\r\n\t\t},\r\n\t\tshortDesc: \"If Sandstorm is active, this Pokemon's Speed is multiplied by 1.5.\",\r\n\t},\r\n\tslushrush: {\r\n\t\tinherit: true,\r\n\t\tonModifySpe(spe, pokemon) {\r\n\t\t\tif (this.field.isWeather('hail')) {\r\n\t\t\t\treturn this.chainModify(1.5);\r\n\t\t\t}\r\n\t\t},\r\n\t\tshortDesc: \"If Hail is active, this Pokemon's Speed is multiplied by 1.5.\",\r\n\t},\r\n\tforecast: {\r\n\t\tinherit: true,\r\n\t\tonModifyMove(move) {\r\n\t\t\tif (move.weather) {\r\n\t\t\t\tconst weather = move.weather;\r\n\t\t\t\tmove.weather = '';\r\n\t\t\t\tmove.onHit = function (target, source) {\r\n\t\t\t\t\tthis.field.setWeather(weather, source, this.dex.abilities.get('forecast'));\r\n\t\t\t\t\tthis.field.weatherState.duration = 0;\r\n\t\t\t\t};\r\n\t\t\t\tmove.target = 'self';\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"If this Pokemon is a Castform, its type changes to the current weather condition's type, except Sandstorm. Weather moves last forever.\",\r\n\t\tshortDesc: \"Castform's type changes to the current weather condition's type, except Sandstorm; weather moves last forever.\",\r\n\t},\r\n\tthickfat: {\r\n\t\tinherit: true,\r\n\t\tonImmunity(type, pokemon) {\r\n\t\t\tif (type === 'hail') return false;\r\n\t\t},\r\n\t\tonSourceModifyAtk(atk, attacker, defender, move) {\r\n\t\t\tif (move.type === 'Ice' || move.type === 'Fire' || move.type === 'Fighting') {\r\n\t\t\t\tthis.add('-message', \"The attack was weakened by Thick Fat!\");\r\n\t\t\t\treturn this.chainModify(0.5);\r\n\t\t\t}\r\n\t\t},\r\n\t\tonSourceModifySpA(atk, attacker, defender, move) {\r\n\t\t\tif (move.type === 'Ice' || move.type === 'Fire' || move.type === 'Fighting') {\r\n\t\t\t\tthis.add('-message', \"The attack was weakened by Thick Fat!\");\r\n\t\t\t\treturn this.chainModify(0.5);\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"If a Pokemon uses a Fire- or Ice- or Fighting-type attack against this Pokemon, that Pokemon's attacking stat is halved when calculating the damage to this Pokemon. This Pokemon takes no damage from Hail.\",\r\n\t\tshortDesc: \"Fire/Ice/Fighting-type moves against this Pokemon deal damage with a halved attacking stat; immunity to Hail.\",\r\n\t},\r\n\tmarvelscale: {\r\n\t\tinherit: true,\r\n\t\tonImmunity(type, pokemon) {\r\n\t\t\tif (type === 'hail') return false;\r\n\t\t},\r\n\t\tdesc: \"If this Pokemon has a major status condition, its Defense is multiplied by 1.5. This Pokemon takes no damage from Hail.\",\r\n\t\tshortDesc: \"If this Pokemon is statused, its Defense is 1.5x; immunity to Hail.\",\r\n\t},\r\n\tsnowcloak: {\r\n\t\tinherit: true,\r\n\t\tonSourceBasePower(basePower) {\r\n\t\t\tif (this.field.isWeather('hail')) {\r\n\t\t\t\treturn basePower * 3 / 4;\r\n\t\t\t}\r\n\t\t\treturn basePower * 7 / 8;\r\n\t\t},\r\n\t\tonModifyAccuracy() {},\r\n\t\tdesc: \"If Hail is active, attacks against this Pokemon do 25% less than normal. If Hail is not active, attacks against this Pokemon do 12.5% less than normal. This Pokemon takes no damage from Hail.\",\r\n\t\tshortDesc: \"If Hail is active, attacks against this Pokemon do 25% less; immunity to Hail.\",\r\n\t},\r\n\tsandveil: {\r\n\t\tinherit: true,\r\n\t\tdesc: \"If Sandstorm is active, attacks against this Pokemon do 25% less than normal. If Sandstorm is not active, attacks against this Pokemon do 12.5% less than normal. This Pokemon takes no damage from Sandstorm.\",\r\n\t\tshortDesc: \"If Sandstorm is active, attacks against this Pokemon do 25% less; immunity to Sandstorm.\",\r\n\t\tonSourceBasePower(basePower) {\r\n\t\t\tif (this.field.isWeather('sandstorm')) {\r\n\t\t\t\treturn basePower * 4 / 5;\r\n\t\t\t}\r\n\t\t},\r\n\t\tonModifyAccuracy() {},\r\n\t},\r\n\twaterveil: {\r\n\t\tinherit: true,\r\n\t\tonSourceBasePower(basePower) {\r\n\t\t\tif (this.field.isWeather(['raindance', 'primordialsea'])) {\r\n\t\t\t\treturn basePower * 3 / 4;\r\n\t\t\t}\r\n\t\t\treturn basePower * 7 / 8;\r\n\t\t},\r\n\t\tdesc: \"If Rain Dance is active, attacks against this Pokemon do 25% less than normal. This Pokemon cannot be burned. Gaining this Ability while burned cures it.\",\r\n\t\tshortDesc: \"If Rain Dance is active, attacks against this PokLine truncated
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,YAA8C;AAAA,EAC1D,WAAW;AAAA,IACV,SAAS;AAAA,IACT,YAAY,KAAK,SAAS;AACzB,UAAI,KAAK,MAAM,UAAU,CAAC,aAAa,eAAe,CAAC,GAAG;AACzD,eAAO,KAAK,YAAY,GAAG;AAAA,MAC5B;AAAA,IACD;AAAA,IACA,WAAW;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACZ,SAAS;AAAA,IACT,YAAY,KAAK;AAChB,UAAI,KAAK,MAAM,UAAU,CAAC,YAAY,cAAc,CAAC,GAAG;AACvD,eAAO,KAAK,YAAY,GAAG;AAAA,MAC5B;AAAA,IACD;AAAA,IACA,WAAW;AAAA,EACZ;AAAA,EACA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,YAAY,KA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M;AAAA,IACN,WAAW;AAAA,IACX,uBAAuB,UAAU;AAChC,UAAI,OAAO,aAAa;AAAU;AAClC,WAAK,MAAM,mCAAmC;AAC9C,aAAO,WAAW;AAAA,IACnB;AAAA,EACD;AAAA,EACA,SAAS;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,IACX,aAAa,MAAM;AAClB,UAAI,OAAO,KAAK,aAAa;AAAU;AACvC,WAAK,MAAM,8BAA8B;AACzC,WAAK,YAAY;AAAA,IAClB;AAAA,EACD;AAAA,EACA,WAALine truncated
"names": []
}
+425
View File
@@ -0,0 +1,425 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var conditions_exports = {};
__export(conditions_exports, {
Conditions: () => Conditions
});
module.exports = __toCommonJS(conditions_exports);
const Conditions = {
frz: {
name: "frz",
effectType: "Status",
onStart(target) {
this.add("-status", target, "frz");
},
duration: 2,
onBeforeMovePriority: 2,
onBeforeMove(pokemon, target, move) {
if (move.flags["defrost"]) {
pokemon.cureStatus();
return;
}
this.add("cant", pokemon, "frz");
return false;
},
onHit(target, source, move) {
if (move.type === "Fire" && move.category !== "Status" || move.flags["defrost"]) {
target.cureStatus();
}
},
onEnd(target) {
this.add("-curestatus", target, "frz");
}
},
lockedmove: {
// Outrage, Thrash, Petal Dance...
name: "lockedmove",
durationCallback() {
return this.random(2, 4);
},
onResidual(target) {
const move = target.lastMove;
if (!move.self || move.self.volatileStatus !== "lockedmove") {
delete target.volatiles["lockedmove"];
} else if (target.ability === "owntempo") {
delete target.volatiles["lockedmove"];
}
},
onEnd(target) {
target.addVolatile("confusion");
},
onLockMove(pokemon) {
return pokemon.lastMove.id;
}
},
confusion: {
// this is a volatile status
name: "confusion",
onStart(target, source, sourceEffect) {
if (sourceEffect && sourceEffect.id === "lockedmove") {
this.add("-start", target, "confusion", "[fatigue]");
} else {
this.add("-start", target, "confusion");
}
this.effectState.time = this.random(3, 4);
},
onEnd(target) {
this.add("-end", target, "confusion");
},
onBeforeMove(pokemon) {
pokemon.volatiles["confusion"].time--;
if (!pokemon.volatiles["confusion"].time) {
pokemon.removeVolatile("confusion");
return;
}
const damage = this.actions.getDamage(pokemon, pokemon, 40);
if (typeof damage !== "number")
throw new Error("Confusion damage not dealt");
this.directDamage(damage);
}
},
// weather!
raindance: {
inherit: true,
onBasePower(basePower, attacker, defender, move) {
if (move.id === "scald" || move.id === "steameruption") {
return;
}
if (move.type === "Water") {
this.debug("rain water boost");
return basePower * 1.5;
}
if (move.type === "Fire") {
this.debug("rain fire suppress");
return basePower * 0.5;
}
}
},
sunnyday: {
inherit: true,
onBasePower(basePower, attacker, defender, move) {
if (move.id === "scald" || move.id === "steameruption") {
return;
}
if (move.type === "Fire") {
this.debug("Sunny Day fire boost");
return basePower * 1.5;
}
if (move.type === "Water") {
this.debug("Sunny Day water suppress");
return basePower * 0.5;
}
}
},
// intrinsics!
bidestall: {
name: "bidestall",
duration: 3
},
unown: {
// Unown: Shadow Tag
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "shadowtag";
pokemon.baseAbility = "shadowtag";
}
if (pokemon.transformed)
return;
pokemon.setType(pokemon.hpType || "Dark");
}
},
bronzong: {
// Bronzong: Heatproof
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "heatproof";
pokemon.baseAbility = "heatproof";
}
}
},
weezing: {
// Weezing: Aftermath
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "aftermath";
pokemon.baseAbility = "aftermath";
}
}
},
flygon: {
// Flygon: Compoundeyes
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "compoundeyes";
pokemon.baseAbility = "compoundeyes";
}
}
},
eelektross: {
// Eelektross: Poison Heal
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "poisonheal";
pokemon.baseAbility = "poisonheal";
}
}
},
claydol: {
// Claydol: Filter
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "filter";
pokemon.baseAbility = "filter";
}
}
},
gengar: {
// Gengar: Cursed Body
onImmunity(type, pokemon) {
if (pokemon.species.id !== "gengarmega" && type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "cursedbody";
pokemon.baseAbility = "cursedbody";
}
}
},
mismagius: {
// Mismagius: Cursed Body
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "cursedbody";
pokemon.baseAbility = "cursedbody";
}
}
},
mesprit: {
// Mesprit: Serene Grace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "serenegrace";
pokemon.baseAbility = "serenegrace";
}
}
},
uxie: {
// Uxie: Synchronize
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "synchronize";
pokemon.baseAbility = "synchronize";
}
}
},
azelf: {
// Azelf: Steadfast
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "steadfast";
pokemon.baseAbility = "steadfast";
}
}
},
hydreigon: {
// Hydreigon: Sheer Force
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "sheerforce";
pokemon.baseAbility = "sheerforce";
}
}
},
rotom: {
// All Rotoms: Trace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "trace";
pokemon.baseAbility = "trace";
}
}
},
rotomheat: {
// All Rotoms: Trace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "trace";
pokemon.baseAbility = "trace";
}
}
},
rotomwash: {
// All Rotoms: Trace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "trace";
pokemon.baseAbility = "trace";
}
}
},
rotomfan: {
// All Rotoms: Trace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "trace";
pokemon.baseAbility = "trace";
}
}
},
rotomfrost: {
// All Rotoms: Trace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "trace";
pokemon.baseAbility = "trace";
}
}
},
rotommow: {
// All Rotoms: Trace
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "trace";
pokemon.baseAbility = "trace";
}
}
},
cryogonal: {
// Cryogonal: infinite hail, Ice Body
onModifyMove(move) {
if (move.id === "hail") {
const weather = move.weather;
move.weather = "";
move.onHit = function(target, source) {
this.field.setWeather(weather, source, this.dex.abilities.get("snowwarning"));
this.field.weatherState.duration = 0;
};
move.target = "self";
}
},
onImmunity(type, pokemon) {
if (type === "Ground" && !this.suppressingAbility(pokemon))
return false;
},
onStart(pokemon) {
if (pokemon.ability === "levitate") {
pokemon.ability = "icebody";
pokemon.baseAbility = "icebody";
}
}
},
probopass: {
// Probopass: infinite sand
onModifyMove(move) {
if (move.id === "sandstorm") {
const weather = move.weather;
move.weather = "";
move.onHit = function(target, source) {
this.field.setWeather(weather, source, this.dex.abilities.get("sandstream"));
this.field.weatherState.duration = 0;
};
move.target = "self";
}
}
},
phione: {
// Phione: infinite rain
onModifyMove(move) {
if (move.id === "raindance") {
const weather = move.weather;
move.weather = "";
move.onHit = function(target, source) {
this.field.setWeather(weather, source, this.dex.abilities.get("drizzle"));
this.field.weatherState.duration = 0;
};
move.target = "self";
}
}
}
};
//# sourceMappingURL=conditions.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/conditions.ts"],
"sourcesContent": ["export const Conditions: {[k: string]: ModdedConditionData} = {\r\n\tfrz: {\r\n\t\tname: 'frz',\r\n\t\teffectType: 'Status',\r\n\t\tonStart(target) {\r\n\t\t\tthis.add('-status', target, 'frz');\r\n\t\t},\r\n\t\tduration: 2,\r\n\t\tonBeforeMovePriority: 2,\r\n\t\tonBeforeMove(pokemon, target, move) {\r\n\t\t\tif (move.flags['defrost']) {\r\n\t\t\t\tpokemon.cureStatus();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tthis.add('cant', pokemon, 'frz');\r\n\t\t\treturn false;\r\n\t\t},\r\n\t\tonHit(target, source, move) {\r\n\t\t\tif (move.type === 'Fire' && move.category !== 'Status' || move.flags['defrost']) {\r\n\t\t\t\ttarget.cureStatus();\r\n\t\t\t}\r\n\t\t},\r\n\t\tonEnd(target) {\r\n\t\t\tthis.add('-curestatus', target, 'frz');\r\n\t\t},\r\n\t},\r\n\tlockedmove: {\r\n\t\t// Outrage, Thrash, Petal Dance...\r\n\t\tname: 'lockedmove',\r\n\t\tdurationCallback() {\r\n\t\t\treturn this.random(2, 4);\r\n\t\t},\r\n\t\tonResidual(target) {\r\n\t\t\tconst move = target.lastMove as Move;\r\n\t\t\tif (!move.self || move.self.volatileStatus !== 'lockedmove') {\r\n\t\t\t\t// don't lock, and bypass confusion for calming\r\n\t\t\t\tdelete target.volatiles['lockedmove'];\r\n\t\t\t} else if (target.ability === 'owntempo') {\r\n\t\t\t\t// Own Tempo prevents locking\r\n\t\t\t\tdelete target.volatiles['lockedmove'];\r\n\t\t\t}\r\n\t\t},\r\n\t\tonEnd(target) {\r\n\t\t\ttarget.addVolatile('confusion');\r\n\t\t},\r\n\t\tonLockMove(pokemon) {\r\n\t\t\treturn pokemon.lastMove!.id;\r\n\t\t},\r\n\t},\r\n\tconfusion: {\r\n\t\t// this is a volatile status\r\n\t\tname: 'confusion',\r\n\t\tonStart(target, source, sourceEffect) {\r\n\t\t\tif (sourceEffect && sourceEffect.id === 'lockedmove') {\r\n\t\t\t\tthis.add('-start', target, 'confusion', '[fatigue]');\r\n\t\t\t} else {\r\n\t\t\t\tthis.add('-start', target, 'confusion');\r\n\t\t\t}\r\n\t\t\tthis.effectState.time = this.random(3, 4);\r\n\t\t},\r\n\t\tonEnd(target) {\r\n\t\t\tthis.add('-end', target, 'confusion');\r\n\t\t},\r\n\t\tonBeforeMove(pokemon) {\r\n\t\t\tpokemon.volatiles['confusion'].time--;\r\n\t\t\tif (!pokemon.volatiles['confusion'].time) {\r\n\t\t\t\tpokemon.removeVolatile('confusion');\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tconst damage = this.actions.getDamage(pokemon, pokemon, 40);\r\n\t\t\tif (typeof damage !== 'number') throw new Error(\"Confusion damage not dealt\");\r\n\t\t\tthis.directDamage(damage);\r\n\t\t},\r\n\t},\r\n\r\n\t// weather!\r\n\r\n\traindance: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, attacker, defender, move) {\r\n\t\t\tif (move.id === 'scald' || move.id === 'steameruption') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (move.type === 'Water') {\r\n\t\t\t\tthis.debug('rain water boost');\r\n\t\t\t\treturn basePower * 1.5;\r\n\t\t\t}\r\n\t\t\tif (move.type === 'Fire') {\r\n\t\t\t\tthis.debug('rain fire suppress');\r\n\t\t\t\treturn basePower * 0.5;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n\tsunnyday: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, attacker, defender, move) {\r\n\t\t\tif (move.id === 'scald' || move.id === 'steameruption') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (move.type === 'Fire') {\r\n\t\t\t\tthis.debug('Sunny Day fire boost');\r\n\t\t\t\treturn basePower * 1.5;\r\n\t\t\t}\r\n\t\t\tif (move.type === 'Water') {\r\n\t\t\t\tthis.debug('Sunny Day water suppress');\r\n\t\t\t\treturn basePower * 0.5;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n\r\n\t// intrinsics!\r\n\r\n\tbidestall: {\r\n\t\tname: 'bidestall',\r\n\t\tduration: 3,\r\n\t},\r\n\r\n\tunown: {\r\n\t\t// Unown: Shadow Tag\r\n\t\tonImmunity(type, pokemon) {\r\n\t\t\tif (type === 'Ground' && !this.suppressingAbility(pokemon)) return false;\r\n\t\t},\r\n\t\tonStart(pokemon) {\r\n\t\t\tif (pokemon.ability === 'levitate') {\r\n\t\t\t\tpokemon.ability = 'shadowtag' as ID;\r\n\t\t\t\tpokemon.baseAbility = 'shadowtag' as ID;\r\n\t\t\t}\r\n\t\t\tif (pokemon.transformed) return;\r\n\t\t\tpokemon.setType(pokemon.hpType || 'Dark');\r\n\t\t},\r\n\t},\r\n\tbronzong: {\r\n\t\t// Bronzong: Heatproof\r\n\t\tonImmunity(type, pokemon) {\r\n\t\t\tif (type === 'Ground' && !this.suppressingAbility(pokemon)) return false;\r\n\t\t},\r\n\t\tonStart(pokemon) {\r\n\t\t\tif (pokemon.ability === 'levitate') {\r\n\t\t\t\tpokemon.ability = 'heatproof' as ID;\r\n\t\t\t\tpokemon.baseAbility = 'heatproof' as ID;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n\tweezing: {\r\n\t\t// Weezing: Aftermath\r\n\t\tonImmunity(type, pokemon) {\r\n\t\t\tif (type === 'Ground' && !this.suppressingAbility(pokemon)) return false;\r\n\t\t},\r\n\t\tonStart(pokemon) {\r\n\t\t\tif (pokemon.ability === 'levitate') {\r\n\t\t\t\tpokemon.ability = 'aftermath' as ID;\r\n\t\t\t\tpokemon.baseAbility = 'aftermath' as ID;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n\tflygon: {\r\n\t\t// Flygon: Compoundeyes\r\n\t\tonImmunity(type, pokemon) {\r\n\t\t\tif (type === 'Ground' && !this.suppressingAbility(pokemon)) return false;\r\n\t\t},\r\n\t\tonStart(pokemon) {\r\n\t\t\tif (pokemon.ability === 'levitate') {\r\n\t\t\t\tpokemon.ability = 'compoundeyLine truncated
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aAAiD;AAAA,EAC7D,KAAK;AAAA,IACJ,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,QAAQ,QAAQ;AACf,WAAK,IAAI,WAAW,QAAQ,KAAK;AAAA,IAClC;AAAA,IACA,UAAU;AAA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B,gBAAQ,cAAc;AAAA,MACvB;AAAA,IACD;AAAA,EACD;AAAA,EACA,OAAO;AAAA;AAAA,IAEN,WAAW,MAAM,SAAS;AACzB,UAAI,SAAS,YAAY,CAAC,KAAK,mBAAmB,OAAO;AAAG,eAAO;AAAA,IACpE;AAAA,IACA,QAAQ,SAAS;AAChB,UAAI,QAAQ,YAAY,YAAY;AACnC,gBAAQ,UAAU;AAClB,gBAAQ,cAAc;AAAA,MACvB;AAAA,IACD;AAAA,EACD;AAAA,EACA,WAAW;AAAA;AAAA,IAEV,WAAW,MAAM,SAAS;AACzB,UAAI,SAAS,YAAY,CAAC,KAAK,mBAAmB,OAAO;AAAG,eAAO;AAAA,IACpE;AAAA,IACA,QAAQ,SAAS;AAChB,UAAI,QAAQ,YAAY,YAAY;AACnC,gBAAQ,UAAU;AAClB,gBAAQ,cAAc;AAAA,MACvB;AAAA,IACD;AAAA,EACD;AAAA,EACA,OAAO;AAAA;AAAA,IAEN,WAAW,MAAM,SAAS;AACzB,UAAI,SAAS,YAAY,CAAC,KAAK,mBAAmB,OAAO;AAAG,eAAO;AAAA,IACpE;AALine truncated
"names": []
}
@@ -0,0 +1,86 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var formats_data_exports = {};
__export(formats_data_exports, {
FormatsData: () => FormatsData
});
module.exports = __toCommonJS(formats_data_exports);
const FormatsData = {
aegislash: {
inherit: true,
tier: "OU"
},
blaziken: {
inherit: true,
tier: "OU"
},
blazikenmega: {
inherit: true,
tier: "OU"
},
genesect: {
inherit: true,
tier: "OU"
},
gengarmega: {
inherit: true,
tier: "OU"
},
greninja: {
inherit: true,
tier: "OU"
},
kangaskhanmega: {
inherit: true,
tier: "OU"
},
landorus: {
inherit: true,
tier: "OU"
},
mawilemega: {
inherit: true,
tier: "OU"
},
salamencemega: {
inherit: true,
tier: "OU"
},
deoxysdefense: {
inherit: true,
tier: "Uber"
},
deoxysspeed: {
inherit: true,
tier: "Uber"
},
hoopaunbound: {
inherit: true,
tier: "OU"
},
kyurem: {
inherit: true,
tier: "Uber"
},
kyuremblack: {
inherit: true,
tier: "Uber"
}
};
//# sourceMappingURL=formats-data.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/formats-data.ts"],
"sourcesContent": ["export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {\r\n\taegislash: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tblaziken: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tblazikenmega: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tgenesect: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tgengarmega: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tgreninja: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tkangaskhanmega: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tlandorus: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tmawilemega: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tsalamencemega: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tdeoxysdefense: {\r\n\t\tinherit: true,\r\n\t\ttier: \"Uber\",\r\n\t},\r\n\tdeoxysspeed: {\r\n\t\tinherit: true,\r\n\t\ttier: \"Uber\",\r\n\t},\r\n\thoopaunbound: {\r\n\t\tinherit: true,\r\n\t\ttier: \"OU\",\r\n\t},\r\n\tkyurem: {\r\n\t\tinherit: true,\r\n\t\ttier: \"Uber\",\r\n\t},\r\n\tkyuremblack: {\r\n\t\tinherit: true,\r\n\t\ttier: \"Uber\",\r\n\t},\r\n};\r\n"],
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,cAAuD;AAAA,EACnE,WAAW;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,cAAc;AAAA,IACb,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,YAAY;AAAA,IACX,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,gBAAgB;AAAA,IACf,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,YAAY;AAAA,IACX,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,eAAe;AAAA,IACd,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,eAAe;AAAA,IACd,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,aAAa;AAAA,IACZ,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,cAAc;AAAA,IACb,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,QAAQ;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AAAA,EACA,aAAa;AAAA,IACZ,SAAS;AAAA,IACT,MAAM;AAAA,EACP;AACD;",
"names": []
}
+204
View File
@@ -0,0 +1,204 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var items_exports = {};
__export(items_exports, {
Items: () => Items
});
module.exports = __toCommonJS(items_exports);
const Items = {
burndrive: {
inherit: true,
onBasePower(basePower, user, target, move) {
},
desc: "Changes Genesect to Genesect-Burn."
},
chilldrive: {
inherit: true,
onBasePower(basePower, user, target, move) {
},
desc: "Changes Genesect to Genesect-Chill."
},
dousedrive: {
inherit: true,
onBasePower(basePower, user, target, move) {
},
desc: "Changes Genesect to Genesect-Douse."
},
shockdrive: {
inherit: true,
onBasePower(basePower, user, target, move) {
},
desc: "Changes Genesect to Genesect-Shock."
},
widelens: {
inherit: true,
onSourceModifyAccuracy(accuracy) {
if (typeof accuracy === "number") {
return accuracy * 1.3;
}
},
desc: "The accuracy of attacks by the holder is 1.6x."
},
zoomlens: {
inherit: true,
onSourceModifyAccuracy(accuracy, target) {
if (typeof accuracy === "number" && !this.queue.willMove(target)) {
this.debug("Zoom Lens boosting accuracy");
return accuracy * 1.6;
}
},
desc: "The accuracy of attacks by the holder is 1.6x if it moves after its target."
},
bigroot: {
inherit: true,
onAfterMoveSecondarySelf(source, target) {
if (source.hasType("Grass")) {
this.heal(source.lastDamage / 8, source);
}
},
onResidualOrder: 5,
onResidualSubOrder: 2,
onResidual(pokemon) {
if (pokemon.hasType("Grass")) {
this.heal(pokemon.baseMaxhp / 16);
}
},
desc: "Holder gains 1.3x HP from draining/Aqua Ring/Ingrain/Leech Seed/Strength Sap; If the user is a Grass type, the holder heals 1/16 of its max HP every turn, and for every damaging move the holder uses 1/8th of the damage dealt is restored.",
shortDesc: "Holder gains 1.3x from most healing moves; if the user is a Grass type, Leftovers & Shell Bell effects occur."
},
blacksludge: {
inherit: true,
onResidualOrder: 5,
onResidualSubOrder: 2,
onResidual(pokemon) {
if (pokemon.hasType("Poison")) {
this.heal(pokemon.baseMaxhp / (pokemon.getTypes().length === 1 ? 8 : 16));
} else {
this.damage(pokemon.baseMaxhp / 8);
}
},
desc: "Each turn, if holder is a Poison type, restores 1/16 max HP; loses 1/8 if not. Pure Poison types restore 1/8 max HP."
},
focusband: {
inherit: true,
onDamage(damage, target, source, effect) {
const types = target.getTypes();
if (types.length === 1 && types[0] === "Fighting" && effect && effect.effectType === "Move" && target.useItem()) {
if (damage >= target.hp) {
this.add("-message", target.name + " held on using its Focus Band!");
return target.hp - 1;
} else {
this.add("-message", target.name + "'s Focus Band broke!");
}
}
},
desc: "Breaks on first hit, but allows pure Fighting types to survive that hit with 1 HP."
},
wiseglasses: {
inherit: true,
onBasePower(basePower, user, target, move) {
if (move.category === "Special") {
const types = user.getTypes();
if (types.length === 1 && types[0] === "Psychic") {
return basePower * 1.2;
}
return basePower * 1.1;
}
},
desc: "Holder's special attacks have 1.1x power. Pure Psychic types special attacks have 1.2x power.",
shortDesc: "Holder's SpA have 1.1x power. Pure Psychic types SpA have 1.2x power."
},
muscleband: {
inherit: true,
onBasePower(basePower, user, target, move) {
if (move.category === "Physical") {
const types = user.getTypes();
if (types.length === 1 && types[0] === "Fighting") {
return basePower * 1.2;
}
return basePower * 1.1;
}
},
desc: "Holder's physical attacks have 1.1x power. Pure Fighting types physical attacks have 1.2x power.",
shortDesc: "Holder's Atk have 1.1x power. Pure Fighting types Atk have 1.2x power."
},
stick: {
inherit: true,
// The Stick is a stand-in for a number of pokemon-exclusive items
// introduced with Gen Next
onModifyCritRatio(critRatio, user) {
if (user.species.id === "farfetchd") {
return critRatio + 2;
}
},
onModifyDef(def, pokemon) {
if (pokemon.species.name === "Shuckle") {
return def * 1.5;
}
},
onModifySpA(spa, pokemon) {
if (pokemon.species.name === "Unown") {
return spa * 2;
}
},
onModifySpD(spd, pokemon) {
if (pokemon.species.name === "Unown") {
return spd * 2;
}
if (pokemon.species.name === "Shuckle") {
return spd * 1.5;
}
},
onModifySpe(spe, pokemon) {
if (pokemon.species.name === "Unown") {
return spe * 2;
}
},
onFoeBasePower(basePower, attacker, defender, move) {
const GossamerWingUsers = ["Butterfree", "Masquerain", "Beautifly", "Mothim", "Vivillon"];
if (GossamerWingUsers.includes(defender.species.name)) {
if (["Rock", "Electric", "Ice"].includes(move.type)) {
this.add("-message", "The attack was weakened by GoassamerWing!");
return basePower / 2;
}
}
},
onDamage(damage, defender, attacker, effect) {
const GossamerWingUsers = ["Butterfree", "Masquerain", "Beautifly", "Mothim", "Vivillon"];
if (GossamerWingUsers.includes(defender.species.name)) {
if (effect && effect.id === "stealthrock") {
return damage / 2;
}
}
},
onAfterMoveSecondarySelf(source, target, move) {
const GossamerWingUsers = ["Butterfree", "Masquerain", "Beautifly", "Mothim", "Vivillon"];
if (move.effectType === "Move" && move.category === "Status" && GossamerWingUsers.includes(source.species.name)) {
this.heal(source.baseMaxhp / 16);
}
},
// onResidual(pokemon) {
// if (pokemon.species.name === 'Shuckle') {
// this.heal(this.clampIntRange(pokemon.maxhp / 16, 1));
// }
// },
desc: "Raises Farfetch\u2019d's critical hit rate two stages."
}
};
//# sourceMappingURL=items.js.map
+7
View File
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/items.ts"],
"sourcesContent": ["export const Items: {[k: string]: ModdedItemData} = {\r\n\tburndrive: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, user, target, move) {},\r\n\t\tdesc: \"Changes Genesect to Genesect-Burn.\",\r\n\t},\r\n\tchilldrive: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, user, target, move) {},\r\n\t\tdesc: \"Changes Genesect to Genesect-Chill.\",\r\n\t},\r\n\tdousedrive: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, user, target, move) {},\r\n\t\tdesc: \"Changes Genesect to Genesect-Douse.\",\r\n\t},\r\n\tshockdrive: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, user, target, move) {},\r\n\t\tdesc: \"Changes Genesect to Genesect-Shock.\",\r\n\t},\r\n\twidelens: {\r\n\t\tinherit: true,\r\n\t\tonSourceModifyAccuracy(accuracy) {\r\n\t\t\tif (typeof accuracy === 'number') {\r\n\t\t\t\treturn accuracy * 1.3;\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"The accuracy of attacks by the holder is 1.6x.\",\r\n\t},\r\n\tzoomlens: {\r\n\t\tinherit: true,\r\n\t\tonSourceModifyAccuracy(accuracy, target) {\r\n\t\t\tif (typeof accuracy === 'number' && !this.queue.willMove(target)) {\r\n\t\t\t\tthis.debug('Zoom Lens boosting accuracy');\r\n\t\t\t\treturn accuracy * 1.6;\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"The accuracy of attacks by the holder is 1.6x if it moves after its target.\",\r\n\t},\r\n\tbigroot: {\r\n\t\tinherit: true,\r\n\t\tonAfterMoveSecondarySelf(source, target) {\r\n\t\t\tif (source.hasType('Grass')) {\r\n\t\t\t\tthis.heal(source.lastDamage / 8, source);\r\n\t\t\t}\r\n\t\t},\r\n\t\tonResidualOrder: 5,\r\n\t\tonResidualSubOrder: 2,\r\n\t\tonResidual(pokemon) {\r\n\t\t\tif (pokemon.hasType('Grass')) {\r\n\t\t\t\tthis.heal(pokemon.baseMaxhp / 16);\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"Holder gains 1.3x HP from draining/Aqua Ring/Ingrain/Leech Seed/Strength Sap; If the user is a Grass type, the holder heals 1/16 of its max HP every turn, and for every damaging move the holder uses 1/8th of the damage dealt is restored.\",\r\n\t\tshortDesc: \"Holder gains 1.3x from most healing moves; if the user is a Grass type, Leftovers & Shell Bell effects occur.\",\r\n\t},\r\n\tblacksludge: {\r\n\t\tinherit: true,\r\n\t\tonResidualOrder: 5,\r\n\t\tonResidualSubOrder: 2,\r\n\t\tonResidual(pokemon) {\r\n\t\t\tif (pokemon.hasType('Poison')) {\r\n\t\t\t\tthis.heal(pokemon.baseMaxhp / (pokemon.getTypes().length === 1 ? 8 : 16));\r\n\t\t\t} else {\r\n\t\t\t\tthis.damage(pokemon.baseMaxhp / 8);\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"Each turn, if holder is a Poison type, restores 1/16 max HP; loses 1/8 if not. Pure Poison types restore 1/8 max HP.\",\r\n\t},\r\n\tfocusband: {\r\n\t\tinherit: true,\r\n\t\tonDamage(damage, target, source, effect) {\r\n\t\t\tconst types = target.getTypes();\r\n\t\t\tif (types.length === 1 && types[0] === 'Fighting' &&\r\n\t\t\t\t\teffect && effect.effectType === 'Move' &&\r\n\t\t\t\t\ttarget.useItem()) {\r\n\t\t\t\tif (damage >= target.hp) {\r\n\t\t\t\t\tthis.add(\"-message\", target.name + \" held on using its Focus Band!\");\r\n\t\t\t\t\treturn target.hp - 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.add(\"-message\", target.name + \"'s Focus Band broke!\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"Breaks on first hit, but allows pure Fighting types to survive that hit with 1 HP.\",\r\n\t},\r\n\twiseglasses: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, user, target, move) {\r\n\t\t\tif (move.category === 'Special') {\r\n\t\t\t\tconst types = user.getTypes();\r\n\t\t\t\tif (types.length === 1 && types[0] === 'Psychic') {\r\n\t\t\t\t\treturn basePower * 1.2;\r\n\t\t\t\t}\r\n\t\t\t\treturn basePower * 1.1;\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"Holder's special attacks have 1.1x power. Pure Psychic types special attacks have 1.2x power.\",\r\n\t\tshortDesc: \"Holder's SpA have 1.1x power. Pure Psychic types SpA have 1.2x power.\",\r\n\t},\r\n\tmuscleband: {\r\n\t\tinherit: true,\r\n\t\tonBasePower(basePower, user, target, move) {\r\n\t\t\tif (move.category === 'Physical') {\r\n\t\t\t\tconst types = user.getTypes();\r\n\t\t\t\tif (types.length === 1 && types[0] === 'Fighting') {\r\n\t\t\t\t\treturn basePower * 1.2;\r\n\t\t\t\t}\r\n\t\t\t\treturn basePower * 1.1;\r\n\t\t\t}\r\n\t\t},\r\n\t\tdesc: \"Holder's physical attacks have 1.1x power. Pure Fighting types physical attacks have 1.2x power.\",\r\n\t\tshortDesc: \"Holder's Atk have 1.1x power. Pure Fighting types Atk have 1.2x power.\",\r\n\t},\r\n\tstick: {\r\n\t\tinherit: true,\r\n\t\t// The Stick is a stand-in for a number of pokemon-exclusive items\r\n\t\t// introduced with Gen Next\r\n\t\tonModifyCritRatio(critRatio, user) {\r\n\t\t\tif (user.species.id === 'farfetchd') {\r\n\t\t\t\treturn critRatio + 2;\r\n\t\t\t}\r\n\t\t},\r\n\t\tonModifyDef(def, pokemon) {\r\n\t\t\tif (pokemon.species.name === 'Shuckle') {\r\n\t\t\t\treturn def * 1.5;\r\n\t\t\t}\r\n\t\t},\r\n\t\tonModifySpA(spa, pokemon) {\r\n\t\t\tif (pokemon.species.name === 'Unown') {\r\n\t\t\t\treturn spa * 2;\r\n\t\t\t}\r\n\t\t},\r\n\t\tonModifySpDLine truncated
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,QAAuC;AAAA,EACnD,WAAW;AAAA,IACV,SAAS;AAAA,IACT,YAAY,WAAW,MAAM,QAAQ,MAAM;AAAA,IAAC;AAAA,IAC5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;AAAA,IACD;AAAA,IACA,yBAAyB,QAAQ,QAAQ,MAAM;AAC9C,YAAM,oBAAoB,CAAC,cAAc,cAAc,aAAa,UAAU,UAAU;AACxF,UAAI,KAAK,eAAe,UAAU,KAAK,aAAa,YAAY,kBAAkB,SAAS,OAAO,QAAQ,IAAI,GAAG;AAChH,aAAK,KAAK,OAAO,YAAY,EAAE;AAAA,MAChC;AAAA,IACD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAM;AAAA,EACP;AACD;",
"names": []
}
File diff suppressed because it is too large. Load diff
+7
View File
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/moves.ts"],
"sourcesContent": ["export const Moves: {[k: string]: ModdedMoveData} = {\r\n\t/******************************************************************\r\n\tPerfect accuracy moves:\r\n\t- base power increased to 90\r\n\r\n\tJustification:\r\n\t- perfect accuracy is too underpowered to have such low base power\r\n\t- it's not even an adequate counter to accuracy boosting, which\r\n\t is why the latter is banned in OU\r\n\r\n\tPrecedent:\r\n\t- Giga Drain and Drain Punch, similar 60 base power moves, have\r\n\t been upgraded\r\n\t******************************************************************/\r\n\taerialace: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tfeintattack: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tshadowpunch: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tmagnetbomb: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tmagicalleaf: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tshockwave: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tswift: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tdisarmingvoice: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\taurasphere: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\tclearsmog: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 90,\r\n\t},\r\n\t/******************************************************************\r\n\tHMs:\r\n\t- shouldn't suck (as much)\r\n\r\n\tJustification:\r\n\t- there are HMs that don't suck\r\n\r\n\tPrecedent:\r\n\t- Dive! Technically, it was to be in-line with Dig, but still.\r\n\t******************************************************************/\r\n\tstrength: {\r\n\t\tinherit: true,\r\n\t\tsecondary: {\r\n\t\t\tchance: 30,\r\n\t\t\tself: {\r\n\t\t\t\tboosts: {\r\n\t\t\t\t\tatk: 1,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tshortDesc: \"30% chance of raising user's Atk by 1 stage.\",\r\n\t\tdesc: \"This move has a 30% chance of raising the user's Attack by one stage.\",\r\n\t},\r\n\tcut: {\r\n\t\tinherit: true,\r\n\t\taccuracy: 100,\r\n\t\tsecondary: {\r\n\t\t\tchance: 100,\r\n\t\t\tboosts: {\r\n\t\t\t\tdef: -1,\r\n\t\t\t},\r\n\t\t},\r\n\t\tdesc: \"100% chance of lowering the target's Defense by one stage.\",\r\n\t\tshortDesc: \"Lowers the target's Def by 1 stage.\",\r\n\t},\r\n\trocksmash: {\r\n\t\tinherit: true,\r\n\t\tbasePower: 50,\r\n\t\tsecondary: {\r\n\t\t\tchance: 100,\r\n\t\t\tboosts: {\r\n\t\t\t\tdef: -1,\r\n\t\t\t},\r\n\t\t},\r\n\t\tdesc: \"100% chance of lowering the target's Defense by one stage.\",\r\n\t\tshortDesc: \"Lowers the target's Def by 1 stage.\",\r\n\t},\r\n\t/******************************************************************\r\n\tWeather moves:\r\n\t- have increased priority\r\n\r\n\tJustification:\r\n\t- several Rain abusers get Prankster, which makes Rain otherwise\r\n\t overpowered\r\n\t******************************************************************/\r\n\traindance: {\r\n\t\tinherit: true,\r\n\t\tpriority: 1,\r\n\t},\r\n\tsunnyday: {\r\n\t\tinherit: true,\r\n\t\tpriority: 1,\r\n\t},\r\n\tsandstorm: {\r\n\t\tinherit: true,\r\n\t\tpriority: 1,\r\n\t},\r\n\thail: {\r\n\t\tinherit: true,\r\n\t\tpriority: 1,\r\n\t},\r\n\t/******************************************************************\r\n\tSubstitute:\r\n\t- has precedence over Protect\r\n\t- makes all moves hit against it\r\n\tMinimize:\r\n\t- only +1 evasion\r\n\tDouble Team:\r\n\t- -25% maxhp when used\r\n\r\n\tJustification:\r\n\t- Sub/Protect stalling is annoying\r\n\t- Evasion stalling is annoying\r\n\t******************************************************************/\r\n\tsubstitute: {\r\n\t\tinherit: true,\r\n\t\tcondition: {\r\n\t\t\tonStart(target) {\r\n\t\t\t\tthis.add('-start', target, 'Substitute');\r\n\t\t\t\tthis.effectState.hp = Math.floor(target.maxhp / 4);\r\n\t\t\t\tdelete target.volatiles['partiallytrapped'];\r\n\t\t\t},\r\n\t\t\tonAccuracyPriority: -100,\r\n\t\t\tonAccuracy(accuracy, target, source, move) {\r\n\t\t\t\treturn 100;\r\n\t\t\t},\r\n\t\t\tonTryPrimaryHitPriority: 2,\r\n\t\t\tonTryPrimaryHit(target, source, move) {\r\n\t\t\t\tif (target === source || move.flags['bypasssub'] || move.infiltrates) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tlet damage = this.actions.getDamage(source, target, move);\r\n\t\t\t\tif (!damage) {\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t\tdamage = this.runEvent('SubDamage', target, source, move, damage);\r\n\t\t\t\tif (!damage) {\r\n\t\t\t\t\treturn damage;\r\n\t\t\t\t}\r\n\t\t\t\tif (damage > target.volatiles['substitute'].hp) {\r\n\t\t\t\t\tdamage = target.volatiles['substitute'].hp as number;\r\n\t\t\t\t}\r\n\t\t\t\ttarget.volatiles['substitute'].hp -= damage;\r\n\t\t\t\tsource.lastDamage = damage;\r\n\t\t\t\tif (target.volatiles['substitute'].hp <= 0) {\r\n\t\t\t\t\ttarget.removeVolatile('substitute');\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.add('-activate', target, 'Substitute', '[damage]');\r\n\t\t\t\t}\r\n\t\t\t\tif (move.recoil) {\r\n\t\t\t\t\tthis.damage(this.clampIntRange(Math.rLine truncated
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,QAAuC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcnD,WAAW;AAAA,IACV,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACZ,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACZ,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,YAAY;AAAA,IACX,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACZ,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,WAAW;AAAA,IACV,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,OAAO;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,gBAAgB;AAAA,IACf,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,YAAY;AAAA,IACX,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACA,WAAW;AAAA,IACV,SAAS;AAAA,IACT,WAAW;AAAA,EACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,WAAW;AAAA,MACV,QAAQ;AAAA,MACR,MAAM;AAAA,QACL,QAAQ;AAAA,UACP,KAAK;AAAA,QACN;AAAA,MACD;AAAA,IACD;AAAA,IACA,WAAW;AAAA,IACX,MAAM;AAAA,EACP;AAAA,EACA,KAAK;AAAA,IACJ,SAAS;AAAA,IACT,UAAU;AAAA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O,YAAY,GAAG,QAAQ,MAAM;AAAA,QACjD;AACA,eAAO;AAAA,MACR;AAAA,IACD;AAAA,EACD;AAAA,EACA,UAAU;AAAA,IACT,SAAS;AAAA,IACT,QAAQ;AAAA,MACP,SAAS;AAAA,IACV;AAAA,IACA,MAAM;AAAA,IACN,WAAW;AAAA,EACZ;AAAA,EACA,YAAY;AAAA,IACX,SAAS;AAAA,IACT,SAAS,QAAQ;AAChB,UAAI,OAAO,OAAO,WAAW,GAAG;AAC/B,eAAO;AAAA,MACR;AACA,UAAI,OAAO,MAAM,OAAO,QAAQ,KAAK,OAAO,UAAU,GAAG;AACxD,eAAO;AAAA,MACR;AAAA,IACD;AAAA,IACA,MAAM,QAAQ;AACb,WAAK,aAAa,OAAO,QAAQ,CAAC;AAAA,IACnC;AAAA,IACA,QAAQ;AAAA,MACP,SAAS;AAAA,IACV;AAAA,IACA,MAAM;AAAA,IACN,WAAW;AAAA,EACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,WAAW;AAAA,IACV,SAAS;AAAA,IACT,WAAW;AAAA,IACX,kBAAkB,SAAS,QAAQ;AAClC,aAAO;AAAA,IACR;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,SAAS,QAAQ;AAChB,aAAO,eAAe,YAAY;AAAA,IACnC;AAAA,IACA,WAAW;AAAA,MACV,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ,SAAS;AAChB,aAAK,KAAK,QAAQ,YAAY,CAAC;AAAA,MAChC;AAAA,IACD;AAAA,IACA,MAAM;AAAA,IACN,WAAW;AAAA,IACX,OAAO,EAAC,QAAQ,GAAGLine truncated
"names": []
}
+42
View File
@@ -0,0 +1,42 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var pokedex_exports = {};
__export(pokedex_exports, {
Pokedex: () => Pokedex
});
module.exports = __toCommonJS(pokedex_exports);
const Pokedex = {
genesectdouse: {
inherit: true,
types: ["Bug", "Water"]
},
genesectshock: {
inherit: true,
types: ["Bug", "Electric"]
},
genesectburn: {
inherit: true,
types: ["Bug", "Fire"]
},
genesectchill: {
inherit: true,
types: ["Bug", "Ice"]
}
};
//# sourceMappingURL=pokedex.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/pokedex.ts"],
"sourcesContent": ["export const Pokedex: {[k: string]: ModdedSpeciesData} = {\r\n\tgenesectdouse: {\r\n\t\tinherit: true,\r\n\t\ttypes: [\"Bug\", \"Water\"],\r\n\t},\r\n\tgenesectshock: {\r\n\t\tinherit: true,\r\n\t\ttypes: [\"Bug\", \"Electric\"],\r\n\t},\r\n\tgenesectburn: {\r\n\t\tinherit: true,\r\n\t\ttypes: [\"Bug\", \"Fire\"],\r\n\t},\r\n\tgenesectchill: {\r\n\t\tinherit: true,\r\n\t\ttypes: [\"Bug\", \"Ice\"],\r\n\t},\r\n};\r\n"],
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,UAA4C;AAAA,EACxD,eAAe;AAAA,IACd,SAAS;AAAA,IACT,OAAO,CAAC,OAAO,OAAO;AAAA,EACvB;AAAA,EACA,eAAe;AAAA,IACd,SAAS;AAAA,IACT,OAAO,CAAC,OAAO,UAAU;AAAA,EAC1B;AAAA,EACA,cAAc;AAAA,IACb,SAAS;AAAA,IACT,OAAO,CAAC,OAAO,MAAM;AAAA,EACtB;AAAA,EACA,eAAe;AAAA,IACd,SAAS;AAAA,IACT,OAAO,CAAC,OAAO,KAAK;AAAA,EACrB;AACD;",
"names": []
}
+116
View File
@@ -0,0 +1,116 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var scripts_exports = {};
__export(scripts_exports, {
Scripts: () => Scripts
});
module.exports = __toCommonJS(scripts_exports);
const Scripts = {
inherit: "gen6",
init() {
this.modData("Pokedex", "cherrimsunshine").types = ["Grass", "Fire"];
this.modData("Learnsets", "masquerain").learnset.hurricane = ["5L100"];
this.modData("Learnsets", "butterfree").learnset.hurricane = ["5L100"];
this.modData("Learnsets", "beautifly").learnset.hurricane = ["5L100"];
this.modData("Learnsets", "mothim").learnset.hurricane = ["5L100"];
this.modData("Learnsets", "masquerain").learnset.surf = ["5M"];
this.modData("Learnsets", "roserade").learnset.sludge = ["5L100"];
this.modData("Learnsets", "meloetta").learnset.fierydance = ["5L100"];
this.modData("Learnsets", "galvantula").learnset.zapcannon = ["5L100"];
this.modData("Learnsets", "virizion").learnset.hornleech = ["5L100"];
this.modData("Learnsets", "milotic").learnset.coil = ["5L100"];
this.modData("Learnsets", "scolipede").learnset.coil = ["5L100"];
this.modData("Learnsets", "steelix").learnset.coil = ["5L100"];
this.modData("Learnsets", "rotomwash").learnset.bubblebeam = ["5L100"];
this.modData("Learnsets", "rotomfan").learnset.hurricane = ["5L100"];
this.modData("Learnsets", "rotomfan").learnset.twister = ["5L100"];
this.modData("Learnsets", "rotomfrost").learnset.frostbreath = ["5L100"];
this.modData("Learnsets", "rotomheat").learnset.heatwave = ["5L100"];
this.modData("Learnsets", "rotommow").learnset.magicalleaf = ["5L100"];
this.modData("Learnsets", "zoroark").learnset.earthquake = ["5M"];
this.modData("Learnsets", "zoroark").learnset.stoneedge = ["5M"];
this.modData("Learnsets", "zoroark").learnset.icebeam = ["5M"];
this.modData("Learnsets", "zoroark").learnset.xscissor = ["5M"];
this.modData("Learnsets", "zoroark").learnset.gigadrain = ["5T"];
this.modData("Learnsets", "zoroark").learnset.superpower = ["5T"];
this.modData("Learnsets", "mantine").learnset.recover = ["5L100"];
this.modData("Learnsets", "mantine").learnset.whirlwind = ["5L100"];
this.modData("Learnsets", "mantine").learnset.batonpass = ["5L100"];
this.modData("Learnsets", "mantine").learnset.wish = ["5L100"];
this.modData("Learnsets", "mantine").learnset.soak = ["5L100"];
this.modData("Learnsets", "mantine").learnset.lockon = ["5L100"];
this.modData("Learnsets", "mantine").learnset.acidspray = ["5L100"];
this.modData("Learnsets", "mantine").learnset.octazooka = ["5L100"];
this.modData("Learnsets", "mantine").learnset.stockpile = ["5L100"];
this.modData("Learnsets", "aipom").learnset.sketch = ["5E"];
this.modData("Learnsets", "spinda").learnset.sketch = ["5E"];
this.modData("Learnsets", "mimejr").learnset.sketch = ["5E"];
this.modData("Learnsets", "finneon").learnset.tailglow = ["5L100"];
this.modData("Learnsets", "lumineon").learnset.tailglow = ["5L100"];
this.modData("Learnsets", "mareep").learnset.tailglow = ["5L100"];
this.modData("Learnsets", "ampharos").learnset.tailglow = ["5L100"];
this.modData("Learnsets", "chinchou").learnset.tailglow = ["5L100"];
this.modData("Learnsets", "lanturn").learnset.tailglow = ["5L100"];
this.modData("Learnsets", "spinda").learnset.vcreate = ["5L100"];
this.modData("Learnsets", "spinda").learnset.superpower = ["5L100"];
this.modData("Learnsets", "spinda").learnset.closecombat = ["5L100"];
this.modData("Learnsets", "spinda").learnset.overheat = ["5L100"];
this.modData("Learnsets", "spinda").learnset.leafstorm = ["5L100"];
this.modData("Learnsets", "spinda").learnset.dracometeor = ["5L100"];
this.modData("Pokedex", "venusaur").abilities["1"] = "Leaf Guard";
this.modData("Pokedex", "charizard").abilities["1"] = "Flame Body";
this.modData("Pokedex", "blastoise").abilities["1"] = "Shell Armor";
this.modData("Pokedex", "meganium").abilities["1"] = "Harvest";
this.modData("Pokedex", "typhlosion").abilities["1"] = "Magma Armor";
this.modData("Pokedex", "feraligatr").abilities["1"] = "Strong Jaw";
this.modData("Pokedex", "sceptile").abilities["1"] = "Limber";
this.modData("Pokedex", "blaziken").abilities["1"] = "Reckless";
this.modData("Pokedex", "swampert").abilities["1"] = "Hydration";
this.modData("Pokedex", "torterra").abilities["1"] = "Weak Armor";
this.modData("Pokedex", "infernape").abilities["1"] = "No Guard";
this.modData("Pokedex", "empoleon").abilities["1"] = "Ice Body";
this.modData("Pokedex", "serperior").abilities["1"] = "Own Tempo";
this.modData("Pokedex", "emboar").abilities["1"] = "Sheer Force";
this.modData("Pokedex", "samurott").abilities["1"] = "Technician";
this.modData("Pokedex", "chesnaught").abilities["1"] = "Battle Armor";
this.modData("Pokedex", "delphox").abilities["1"] = "Magic Guard";
this.modData("Pokedex", "greninja").abilities["1"] = "Pickpocket";
this.modData("Pokedex", "unown").abilities["1"] = "Shadow Tag";
this.modData("Pokedex", "flygon").abilities["1"] = "Compound Eyes";
this.modData("Pokedex", "flygon").abilities["H"] = "Sand Rush";
this.modData("Pokedex", "weezing").abilities["1"] = "Aftermath";
this.modData("Pokedex", "eelektross").abilities["1"] = "Poison Heal";
this.modData("Pokedex", "claydol").abilities["1"] = "Filter";
this.modData("Pokedex", "mismagius").abilities["1"] = "Cursed Body";
this.modData("Pokedex", "cryogonal").abilities["1"] = "Ice Body";
this.modData("Pokedex", "mesprit").abilities["1"] = "Serene Grace";
this.modData("Pokedex", "uxie").abilities["1"] = "Synchronize";
this.modData("Pokedex", "azelf").abilities["1"] = "Steadfast";
this.modData("Pokedex", "hydreigon").abilities["1"] = "Sheer Force";
this.modData("Pokedex", "rotom").abilities["1"] = "Trace";
this.modData("Pokedex", "rotomwash").abilities["1"] = "Trace";
this.modData("Pokedex", "rotomheat").abilities["1"] = "Trace";
this.modData("Pokedex", "rotommow").abilities["1"] = "Trace";
this.modData("Pokedex", "rotomfrost").abilities["1"] = "Trace";
this.modData("Pokedex", "rotomfan").abilities["1"] = "Trace";
this.modData("Pokedex", "crawdaunt").abilities["H"] = "Tough Claws";
this.modData("Pokedex", "vespiquen").abilities["1"] = "Swarm";
}
};
//# sourceMappingURL=scripts.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/gennext/scripts.ts"],
"sourcesContent": ["export const Scripts: ModdedBattleScriptsData = {\r\n\tinherit: 'gen6',\r\n\tinit() {\r\n\t\tthis.modData('Pokedex', 'cherrimsunshine').types = ['Grass', 'Fire'];\r\n\r\n\t\t// Give Hurricane to all the Bug/Flying Quiver-dancers\r\n\t\t// Precedent: Volcarona\r\n\t\tthis.modData('Learnsets', 'masquerain').learnset.hurricane = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'butterfree').learnset.hurricane = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'beautifly').learnset.hurricane = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mothim').learnset.hurricane = ['5L100'];\r\n\r\n\t\t// Masquerain also gets Surf because we want it to be viable\r\n\t\tthis.modData('Learnsets', 'masquerain').learnset.surf = ['5M'];\r\n\r\n\t\t// Roserade gets Sludge\r\n\t\tthis.modData('Learnsets', 'roserade').learnset.sludge = ['5L100'];\r\n\r\n\t\t// Meloetta: Fiery Dance\r\n\t\tthis.modData('Learnsets', 'meloetta').learnset.fierydance = ['5L100'];\r\n\r\n\t\t// Galvantula: Zap Cannon\r\n\t\tthis.modData('Learnsets', 'galvantula').learnset.zapcannon = ['5L100'];\r\n\r\n\t\t// Virizion: Horn Leech\r\n\t\tthis.modData('Learnsets', 'virizion').learnset.hornleech = ['5L100'];\r\n\r\n\t\t// Scolipede, Milotic, Steelix: Coil\r\n\t\tthis.modData('Learnsets', 'milotic').learnset.coil = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'scolipede').learnset.coil = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'steelix').learnset.coil = ['5L100'];\r\n\r\n\t\t// Rotoms: lots of moves\r\n\t\tthis.modData('Learnsets', 'rotomwash').learnset.bubblebeam = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'rotomfan').learnset.hurricane = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'rotomfan').learnset.twister = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'rotomfrost').learnset.frostbreath = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'rotomheat').learnset.heatwave = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'rotommow').learnset.magicalleaf = ['5L100'];\r\n\r\n\t\t// Zororark: much wider movepool\r\n\t\tthis.modData('Learnsets', 'zoroark').learnset.earthquake = ['5M'];\r\n\t\tthis.modData('Learnsets', 'zoroark').learnset.stoneedge = ['5M'];\r\n\t\tthis.modData('Learnsets', 'zoroark').learnset.icebeam = ['5M'];\r\n\t\tthis.modData('Learnsets', 'zoroark').learnset.xscissor = ['5M'];\r\n\t\tthis.modData('Learnsets', 'zoroark').learnset.gigadrain = ['5T'];\r\n\t\tthis.modData('Learnsets', 'zoroark').learnset.superpower = ['5T'];\r\n\r\n\t\t// Mantine: lots of moves\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.recover = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.whirlwind = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.batonpass = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.wish = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.soak = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.lockon = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.acidspray = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.octazooka = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mantine').learnset.stockpile = ['5L100'];\r\n\r\n\t\t// eggSketch! :D\r\n\t\tthis.modData('Learnsets', 'aipom').learnset.sketch = ['5E'];\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.sketch = ['5E'];\r\n\t\tthis.modData('Learnsets', 'mimejr').learnset.sketch = ['5E'];\r\n\r\n\t\t// Tail Glow :D\r\n\t\tthis.modData('Learnsets', 'finneon').learnset.tailglow = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'lumineon').learnset.tailglow = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'mareep').learnset.tailglow = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'ampharos').learnset.tailglow = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'chinchou').learnset.tailglow = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'lanturn').learnset.tailglow = ['5L100'];\r\n\r\n\t\t// Spinda: Contrary\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.vcreate = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.superpower = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.closecombat = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.overheat = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.leafstorm = ['5L100'];\r\n\t\tthis.modData('Learnsets', 'spinda').learnset.dracometeor = ['5L100'];\r\n\r\n\t\t// Venusaur\r\n\t\tthis.modData('Pokedex', 'venusaur').abilities['1'] = 'Leaf Guard';\r\n\t\t// Charizard\r\n\t\tthis.modData('Pokedex', 'charizard').abilities['1'] = 'Flame Body';\r\n\t\t// Blastoise\r\n\t\tthis.modData('Pokedex', 'blastoise').abilities['1'] = 'Shell Armor';\r\n\t\t// Meganium\r\n\t\tthis.modData('Pokedex', 'meganium').abilities['1'] = 'Harvest';\r\n\t\t// Typhlosion\r\n\t\tthis.modData('Pokedex', 'typhlosion').abilities['1'] = 'Magma Armor';\r\n\t\t// Feraligatr\r\n\t\tthis.modData('Pokedex', 'feraligatr').abilities['1'] = 'Strong Jaw';\r\n\t\t// Sceptile\r\n\t\tthis.modData('Pokedex', 'sceptile').abilities['1'] = 'Limber';\Line truncated
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,UAAmC;AAAA,EAC/C,SAAS;AAAA,EACT,OAAO;AACN,SAAK,QAAQ,WAAW,iBAAiB,EAAE,QAAQ,CAAC,SAAS,MAAM;AAInE,SAAK,QAAQ,aAAa,YAAY,EAAE,SAAS,YAAY,CAAC,OAAO;AACrE,SAAK,QAAQ,aAAa,YAAY,EAAE,SAAS,YAAY,CAAC,OAAO;AACrE,SAAK,QAAQ,aAAa,WAAW,EAAE,SAAS,YAAY,CAAC,OAAO;AACpE,SAAK,QAAQ,aAAa,QAAQ,EAAE,SAAS,YAAY,CAAC,OAAO;AAGjE,SAAK,QAAQ,aAAa,YAAY,EAAE,SAAS,OAAO,CAAC,IAAI;AAG7D,SAAK,QAAQ,aAAa,UAAU,EAAE,SAAS,SAAS,CAAC,OAAO;AAGhE,SAAK,QAAQ,aAAa,UAAU,EAAE,SAAS,aAAa,CAAC,OAAO;AAGpE,SAAK,QAAQ,aAAa,YAAY,EAAE,SAAS,YAAY,CAAC,OAAO;AAGrE,SAAK,QAAQ,aAAa,UAAU,EAAE,SAAS,YAAY,CAAC,OAAO;AAGnE,SAAK,QAAQ,aAAa,SAAS,EAAE,SAAS,OAAO,CAAC,OAAO;AAC7D,SAAK,QAAQ,aAAa,WAAW,EAAE,SAAS,OAAO,CAAC,OAAO;AAC/D,SAAK,QAAQ,aAAa,SAAS,EAAE,SAAS,OAAO,CAAC,OA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