SHARE
TWEET

Untitled

Brodaha Dec 22nd, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "darkrising": {
  2.         shortDesc: "This Pokemon's highest stat is raised by one when switching into Shadow Sky.",
  3.     onUpdate: function(pokemon) {
  4.             if (this.isWeather(['shadowsky'])) {
  5.             let stat = 'atk';
  6.                 let bestStat = 0;
  7.                 for (let i in source.stats) {
  8.                     if (source.stats[i] > bestStat) {
  9.                         stat = i;
  10.                         bestStat = source.stats[i];
  11.                     }
  12.                 }
  13.                 this.boost({[stat]: 1}, source);
  14.             }
  15.         },
  16.         id: "darkrising",
  17.         name: "Dark Rising",
  18.         rating: 3,
  19.         num: 200,
  20.     },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top