Pikachuun

BEST METAGAME EVER!!!!!!!!!!!

Apr 10th, 2015
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. config/formats.js
  2. -----------------------------------------------------------------------------------------------------------------------------------
  3. {
  4. name: "Best Metagame Ever",
  5. section: "Other Metagames",
  6.  
  7. ruleset: ['Pokemon', 'Ability Clause', '-ate Clause', 'OHKO Clause', 'Evasion Moves Clause', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod'],
  8. banlist: ['Arena Trap', 'Huge Power', 'Parental Bond', 'Pure Power', 'Shadow Tag', 'Wonder Guard', 'Assist', 'Chatter'],
  9. onBeforeMove: function (pokemon, target, move) {
  10. if (pokemon.baseTemplate.species === 'Raichu') { //Raichu sucks
  11. this.add('-message', 'Raichu sucks eggs. Pikachu is master race.');
  12. this.win(target.side);
  13. return null;
  14. } else if (target.baseTemplate.species === 'Raichu') {
  15. this.add('-message', 'Raichu sucks eggs. Pikachu is master race.');
  16. this.win(pokemon.side);
  17. return null;
  18. }
  19. },
  20. validateSet: function (set) {
  21. var problems = [];
  22. var thing = set.name;
  23. if (!thing) var thing = set.species;
  24. if (set.species !== 'Pikachu' && set.species !== 'Raichu') problems.push('One of your Pokemon (' + thing + ') isn\'t the best Pokemon ever [Pikachu].');
  25. if ((set.item !== 'Eviolite' && set.item !== 'Light Ball') && set.species === 'Pikachu') problems.push('One of your Pikachu (' + thing + ') isn\'t holding one of the best items ever [Light Ball or Eviolite].');
  26. if (set.moves) {
  27. for (var i = 0; i < set.moves.length; i++) {
  28. var move = this.getMove(set.moves[i]);
  29. if (move.type === 'Ground') problems.push(move.name + ' sucks. I am therefore intervening to prevent you from running it.');
  30. }
  31. }
  32. return problems;
  33. }
  34. },
Advertisement
Add Comment
Please, Sign In to add comment