@pkmn/sim 0.5.27 → 0.5.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config/formats.js +15 -15
- package/build/config/formats.js.map +1 -1
- package/build/data/abilities.js +2 -4
- package/build/data/abilities.js.map +1 -1
- package/build/data/items.js +5 -5
- package/build/data/items.js.map +1 -1
- package/build/data/learnsets.js +3 -8
- package/build/data/learnsets.js.map +1 -1
- package/build/data/mods/gen5/formats-data.js +69 -69
- package/build/data/mods/gen5/formats-data.js.map +1 -1
- package/build/data/pokedex.js +6 -6
- package/build/data/pokedex.js.map +1 -1
- package/build/data/text/items.js +5 -5
- package/build/sim/battle.js +2 -2
- package/build/sim/battle.js.map +1 -1
- package/config/formats.ts +15 -15
- package/data/abilities.ts +2 -4
- package/data/items.ts +5 -5
- package/data/learnsets.ts +3 -8
- package/data/mods/gen5/formats-data.ts +69 -69
- package/data/pokedex.ts +6 -6
- package/data/text/items.ts +5 -5
- package/package.json +1 -1
- package/sim/battle.ts +2 -2
package/build/data/items.js
CHANGED
|
@@ -139,7 +139,7 @@ exports.Items = {
|
|
|
139
139
|
return false;
|
|
140
140
|
},
|
|
141
141
|
onEat(pokemon) {
|
|
142
|
-
this.heal(pokemon.baseMaxhp
|
|
142
|
+
this.heal(pokemon.baseMaxhp / 3);
|
|
143
143
|
if (pokemon.getNature().minus === 'spd') {
|
|
144
144
|
pokemon.addVolatile('confusion');
|
|
145
145
|
}
|
|
@@ -1725,7 +1725,7 @@ exports.Items = {
|
|
|
1725
1725
|
return false;
|
|
1726
1726
|
},
|
|
1727
1727
|
onEat(pokemon) {
|
|
1728
|
-
this.heal(pokemon.baseMaxhp
|
|
1728
|
+
this.heal(pokemon.baseMaxhp / 3);
|
|
1729
1729
|
if (pokemon.getNature().minus === 'atk') {
|
|
1730
1730
|
pokemon.addVolatile('confusion');
|
|
1731
1731
|
}
|
|
@@ -2471,7 +2471,7 @@ exports.Items = {
|
|
|
2471
2471
|
return false;
|
|
2472
2472
|
},
|
|
2473
2473
|
onEat(pokemon) {
|
|
2474
|
-
this.heal(pokemon.baseMaxhp
|
|
2474
|
+
this.heal(pokemon.baseMaxhp / 3);
|
|
2475
2475
|
if (pokemon.getNature().minus === 'def') {
|
|
2476
2476
|
pokemon.addVolatile('confusion');
|
|
2477
2477
|
}
|
|
@@ -3222,7 +3222,7 @@ exports.Items = {
|
|
|
3222
3222
|
return false;
|
|
3223
3223
|
},
|
|
3224
3224
|
onEat(pokemon) {
|
|
3225
|
-
this.heal(pokemon.baseMaxhp
|
|
3225
|
+
this.heal(pokemon.baseMaxhp / 3);
|
|
3226
3226
|
if (pokemon.getNature().minus === 'spe') {
|
|
3227
3227
|
pokemon.addVolatile('confusion');
|
|
3228
3228
|
}
|
|
@@ -6833,7 +6833,7 @@ exports.Items = {
|
|
|
6833
6833
|
return false;
|
|
6834
6834
|
},
|
|
6835
6835
|
onEat(pokemon) {
|
|
6836
|
-
this.heal(pokemon.baseMaxhp
|
|
6836
|
+
this.heal(pokemon.baseMaxhp / 3);
|
|
6837
6837
|
if (pokemon.getNature().minus === 'spa') {
|
|
6838
6838
|
pokemon.addVolatile('confusion');
|
|
6839
6839
|
}
|