Guest User

Nothing Special

a guest
May 25th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. "Nothing Special": {
  2. shortDesc: "it's really nothing special",
  3. //Primordial Sea
  4. onStart: function (source) {
  5. this.setWeather('primordialsea');
  6. },
  7. onAnySetWeather: function (target, source, weather) {
  8. if (this.getWeather().id === 'primordialsea' && !(weather.id in {desolateland:1, primordialsea:1, deltastream:1})) return false;
  9. },
  10. onEnd: function (pokemon) {
  11. if (this.weatherData.source !== pokemon) return;
  12. for (let i = 0; i < this.sides.length; i++) {
  13. for (let j = 0; j < this.sides[i].active.length; j++) {
  14. let target = this.sides[i].active[j];
  15. if (target === pokemon) continue;
  16. if (target && target.hp && target.hasAbility('primordialsea')) {
  17. this.weatherData.source = target;
  18. return;
  19. }
  20. }
  21. }
  22. this.clearWeather();
  23. }, //magic guard
  24. onDamage: function (damage, target, source, effect) {
  25. if (effect.effectType !== 'Move') {
  26. return false;
  27. }
  28. }, // Swift Swim
  29. onModifySpe: function (spe, pokemon) {
  30. if (this.isWeather(['raindance', 'primordialsea'])) {
  31. return this.chainModify(2);
  32. }
  33. }, //Fur Coat
  34. onModifyDefPriority: 6,
  35. onModifyDef: function (def) {
  36. return this.chainModify(2);
  37. }, //Special Fur Coat
  38. onModifySpDPriority: 6,
  39. onModifySpD: function (def) {
  40. return this.chainModify(2);
  41. }, //Special Huge Power
  42. onModifySpaPriority: 6,
  43. onModifySpa: function (Spa) {
  44. return this.chainModify(2);
  45. },
  46. id: "nothingspecial",
  47. name: "Nothing Special",
  48. },
Advertisement
Add Comment
Please, Sign In to add comment