View difference between Paste ID: yaTchb3D and UjWvJLaz
SHOW: | | - or go back to the newest paste.
1-
	"Nothing Special": {
1+
	"nothingspecial": {
2
        shortDesc: "it's really nothing special",
3-
        //Primordial Sea
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
23+
24
		//magic guard
25
		onDamage: function (damage, target, source, effect) {
26
			if (effect.effectType !== 'Move') {
27
				return false;
28-
		}, // Swift Swim
28+
29
		},
30
		// Swift Swim
31
		onModifySpe: function (spe, pokemon) {
32
			if (this.isWeather(['raindance', 'primordialsea'])) {
33-
		}, //Fur Coat
33+
34
			}
35
		},
36
		//Fur Coat
37-
		}, //Special Fur Coat
37+
38
		onModifyDef: function (def) {
39
			return this.chainModify(2);
40
		},
41-
		}, //Special Huge Power
41+
		//Special Fur Coat
42-
		 onModifySpaPriority: 6,
42+
43
		onModifySpD: function (def) {
44
			return this.chainModify(2);
45
		},
46
		//Special Huge Power
47
		onModifySpaPriority: 6,
48
        onModifySpa: function (Spa) {
49
            return this.chainModify(2);
50
        },
51
        id: "nothingspecial",
52
        name: "Nothing Special",
53
    },