Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "darkrising": {
- shortDesc: "This Pokemon's highest stat is raised by one when switching into Shadow Sky.",
- onUpdate: function(pokemon) {
- if (this.isWeather(['shadowsky'])) {
- let stat = 'atk';
- let bestStat = 0;
- for (let i in source.stats) {
- if (source.stats[i] > bestStat) {
- stat = i;
- bestStat = source.stats[i];
- }
- }
- this.boost({[stat]: 1}, source);
- }
- },
- id: "darkrising",
- name: "Dark Rising",
- rating: 3,
- num: 200,
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement