@pkmn/sim 0.5.27 → 0.6.1

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.
@@ -139,7 +139,7 @@ exports.Items = {
139
139
  return false;
140
140
  },
141
141
  onEat(pokemon) {
142
- this.heal(pokemon.baseMaxhp * 0.33);
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 * 0.33);
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 * 0.33);
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 * 0.33);
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 * 0.33);
6836
+ this.heal(pokemon.baseMaxhp / 3);
6837
6837
  if (pokemon.getNature().minus === 'spa') {
6838
6838
  pokemon.addVolatile('confusion');
6839
6839
  }