Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ability
- 'sadisticmaster': {
- name: 'Sadistic Master',
- id: 'sadisticmaster',
- onFoeModifyMove: function (move, pokemon) {
- if (pokemon.gender === 'M' && move.basePower >= 70 && move.flags.contact && pokemon.template.species !== 'aegislash') {
- move.basePower = 69;
- }
- },
- onModifyMove: function (move) {
- move.ignoreAbility = true;
- if (move.id === 'firelash') {
- move.onHit = function () {
- this.add('c|~AegisiumZ|I demand obedience!');
- }
- }
- },
- onFoeModifyMove: function (move) {
- if (move.id === 'struggle') {
- move.onHit = function (target, source, move) {
- let heal = source.maxhp / 4;
- if (source.hp < heal) heal = source.hp;
- this.heal(heal, target);
- }
- }
- },
- },
- // moves
- 'steelchains': {
- assb: true,
- accuracy: true,
- basePower: 50,
- category: "Physical",
- id: 'steelchains',
- name: 'Steel Chains',
- pp: 20,
- priority: 1,
- flags: { protect: 1, mirror: 1, authentic: 1 },
- secondary: false,
- target: 'normal',
- type: "Steel",
- zMoveBoost: { atk: 1 },
- desc: "Pursuit + cancels switch, permanent root, gains one stack of Desperation at the end of each turn.",
- shortDesc: "Pursuit + cancels switch, permanent root, gains one stack of Desperation at the end of each turn.",
- contestType: "Tough",
- ignoreAbility: true,
- beforeTurnCallback: function (pokemon, target) {
- target.side.addSideCondition('steelchains', pokemon);
- if (!target.side.sideConditions['steelchains'].sources) {
- target.side.sideConditions['steelchains'].sources = [];
- }
- target.side.sideConditions['steelchains'].sources.push(pokemon);
- },
- onHit: function (target, source) {
- this.add('c|~AegisiumZ|You will not excape from MY basement!');
- target.addVolatile('eternalchains', source);
- },
- onTryHit: function (target, pokemon) {
- target.side.removeSideCondition('steelchains');
- },
- effect: {
- duration: 1,
- onBeforeSwitchOut: function (pokemon) {
- this.debug('steel chains start');
- let alreadyAdded = false;
- for (const source of this.effectData.sources) {
- if (source.moveThisTurn || source.fainted) continue;
- if (!alreadyAdded) {
- this.add('-activate', pokemon, 'move: Steel Chains');
- alreadyAdded = true;
- }
- this.cancelMove(source);
- this.cancelMove(pokemon);
- this.runMove('Steel Chains', source, this.getTargetLoc(pokemon, source));
- }
- },
- },
- onTryHit: function () {
- this.attrLastMove('[anim]block');
- },
- },
- "muzzle": {
- assb: true,
- accuracy: true,
- basePower: 50,
- category: "Physical",
- id: "muzzle",
- isViable: true,
- name: "Muzzle",
- pp: 20,
- priority: 1,
- flags: { protect: 1, mirror: 1, authentic: 1 },
- volatileStatus: 'silence',
- ignoreAbility: true,
- onHit: function (target, source) {
- this.add('c|~AegisiumZ|Silence!!');
- },
- secondary: false,
- target: "normal",
- type: "Ghost",
- zMoveBoost: { atk: 1 },
- desc: "Permanently seals all special moves, gains 1 stack of Desperation at the end of each turn if the user has ever been bound by Steel Chains during the game.",
- shortDesc: "Permanently seals all special moves, gains 1 stack of Desperation at the end of each turn if the user has ever been bound by Steel Chains during the game.",
- contestType: "Tough",
- onTryHit: function () {
- this.attrLastMove('[anim]darkpulse');
- },
- },
- "theunspeakable": {
- assb: true,
- accuracy: 100,
- basePower: 50,
- category: "Physical",
- ignoreAbility: true,
- onHit: function () {
- this.add('c|~AegisiumZ|Do you regret what you have done?');
- },
- basePowerCallback: function (pokemon, target) {
- let bp = 50 + (target.desperation || 0) * 15;
- return bp;
- },
- onEffectiveness: function () {
- return 0;
- },
- id: "theunspeakable",
- name: "\"The Unspeakable\"",
- pp: 10,
- priority: 0,
- flags: { contact: 1, protect: 1, mirror: 1, heal: 1 },
- drain: [69, 100],
- secondary: {
- status: 'par',
- chance: 100,
- },
- target: "normal",
- type: "Dark",
- zMovePower: 100,
- desc: "100% chance to paralyze, 69% life drain, always deals neutral damage.",
- shortDesc: "100% chance to paralyze, 69% life drain, always deals neutral damage.",
- contestType: "Tough",
- onTryHit: function () {
- this.attrLastMove('[anim]gigaimpact');
- },
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement