Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vryheid joined.
- Valence Electron joined.
- Format:
- CAP
- Sleep Clause Mod: Limit one foe put to sleep
- Species Clause: Limit one of each Pokemon
- OHKO Clause: OHKO moves are banned
- Moody Clause: Moody is banned
- Evasion Moves Clause: Evasion moves are banned
- Endless Battle Clause: Forcing endless battles is banned.
- HP Percentage Mod: HP is reported as percentages
- Vryheid's team:
- Cyclohm / Scizor / Tomohawk / Cresselia / Chansey / Mollux
- Valence Electron's team:
- Fidgit
- Battle between Vryheid and Valence Electron started!
- Go! Chansey!
- Valence Electron sent out Fidgit!
- Turn 1
- Chansey used Protect!
- Chansey protected itself!
- The opposing Fidgit used Gravity!
- Error parsing: -sideend|move: Gravity
- TypeError: Object #<Object> has no method 'removeSideCondition'
- at Battle.runMinor (http://play.pokemonshowdown.com/js/battle.js?2874287d:4375:10)
- Turn 2
- dtalley11 joined.
- Welcome to battle-cap-13!
- dtalley11: well now
- dtalley11: that's a prudy looking error
- Vryheid: can you screenshot what gravity looks like
- Vryheid: on your end I mean
- Vryheid: or at least copy and paste the text in a pastebin or something
- Vryheid: latter is prob easier
- ---------------------------------
- changes
- pseudoWeather: 'gravity', --> sideCondition: 'gravity',
- this.add('-fieldstart', 'move: Gravity'); --> this.add('-sideend', 'move: Gravity');
- this.add('-fieldend', 'move: Gravity'); --> this.add('-sideend', 'move: Gravity');
- target: "all", --> target: "allySide",
- New code:
- "gravity": {
- num: 356,
- accuracy: true,
- basePower: 0,
- category: "Status",
- desc: "For 5 turns, the evasion of all active Pokemon is 0.6x. At the time of use, Bounce, Fly, Magnet Rise, Sky Drop, and Telekinesis end immediately for all active Pokemon. During the effect, Bounce, Fly, High Jump Kick, Jump Kick, Magnet Rise, Sky Drop, Splash, and Telekinesis are prevented from being used by all active Pokemon. Ground-type attacks, Spikes, Toxic Spikes, and the Ability Arena Trap can affect Flying-types or Pokemon with the Ability Levitate. Fails if this move is already in effect.",
- shortDesc: "For 5 turns, negates all Ground immunities.",
- id: "gravity",
- isViable: true,
- name: "Gravity",
- pp: 5,
- priority: 0,
- sideCondition: 'gravity',
- effect: {
- duration: 5,
- durationCallback: function(target, source, effect) {
- if (source && source.ability === 'persistent') {
- return 7;
- }
- return 5;
- },
- onStart: function() {
- this.add('-sideend', 'move: Gravity');
- },
- onAccuracy: function(accuracy) {
- if (typeof accuracy !== 'number') return;
- return accuracy * 5/3;
- },
- onModifyPokemonPriority: 100,
- onModifyPokemon: function(pokemon) {
- pokemon.negateImmunity['Ground'] = true;
- var disabledMoves = {bounce:1, fly:1, highjumpkick:1, jumpkick:1, magnetrise:1, skydrop:1, splash:1, telekinesis:1};
- for (var m in disabledMoves) {
- pokemon.disabledMoves[m] = true;
- }
- var applies = false;
- if (pokemon.removeVolatile('bounce') || pokemon.removeVolatile('fly') || pokemon.removeVolatile('skydrop')) {
- applies = true;
- this.cancelMove(pokemon);
- }
- if (pokemon.volatiles['magnetrise']) {
- applies = true;
- delete pokemon.volatiles['magnetrise'];
- }
- if (pokemon.volatiles['telekinesis']) {
- applies = true;
- delete pokemon.volatiles['telekinesis'];
- }
- if (applies) this.add('-activate', pokemon, 'Gravity');
- },
- onBeforeMove: function(pokemon, target, move) {
- var disabledMoves = {bounce:1, fly:1, highjumpkick:1, jumpkick:1, magnetrise:1, skydrop:1, splash:1, telekinesis:1};
- if (disabledMoves[move.id]) {
- this.add('cant', pokemon, 'move: Gravity', move);
- return false;
- }
- },
- onResidualOrder: 22,
- onEnd: function() {
- this.add('-sideend', 'move: Gravity');
- }
- },
- secondary: false,
- target: "allySide",
- type: "Psychic"
- },
Advertisement
Add Comment
Please, Sign In to add comment