@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/data/abilities.ts CHANGED
@@ -516,8 +516,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
516
516
  }
517
517
  }
518
518
  if (statsLowered) {
519
- this.add('-ability', target, 'Competitive');
520
- this.boost({spa: 2}, target, target, null, true);
519
+ this.boost({spa: 2}, target, target, null, false, true);
521
520
  }
522
521
  },
523
522
  name: "Competitive",
@@ -706,8 +705,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
706
705
  }
707
706
  }
708
707
  if (statsLowered) {
709
- this.add('-ability', target, 'Defiant');
710
- this.boost({atk: 2}, target, target, null, true);
708
+ this.boost({atk: 2}, target, target, null, false, true);
711
709
  }
712
710
  },
713
711
  name: "Defiant",
package/data/items.ts CHANGED
@@ -131,7 +131,7 @@ export const Items: {[itemid: string]: ItemData} = {
131
131
  if (!this.runEvent('TryHeal', pokemon)) return false;
132
132
  },
133
133
  onEat(pokemon) {
134
- this.heal(pokemon.baseMaxhp * 0.33);
134
+ this.heal(pokemon.baseMaxhp / 3);
135
135
  if (pokemon.getNature().minus === 'spd') {
136
136
  pokemon.addVolatile('confusion');
137
137
  }
@@ -1686,7 +1686,7 @@ export const Items: {[itemid: string]: ItemData} = {
1686
1686
  if (!this.runEvent('TryHeal', pokemon)) return false;
1687
1687
  },
1688
1688
  onEat(pokemon) {
1689
- this.heal(pokemon.baseMaxhp * 0.33);
1689
+ this.heal(pokemon.baseMaxhp / 3);
1690
1690
  if (pokemon.getNature().minus === 'atk') {
1691
1691
  pokemon.addVolatile('confusion');
1692
1692
  }
@@ -2418,7 +2418,7 @@ export const Items: {[itemid: string]: ItemData} = {
2418
2418
  if (!this.runEvent('TryHeal', pokemon)) return false;
2419
2419
  },
2420
2420
  onEat(pokemon) {
2421
- this.heal(pokemon.baseMaxhp * 0.33);
2421
+ this.heal(pokemon.baseMaxhp / 3);
2422
2422
  if (pokemon.getNature().minus === 'def') {
2423
2423
  pokemon.addVolatile('confusion');
2424
2424
  }
@@ -3152,7 +3152,7 @@ export const Items: {[itemid: string]: ItemData} = {
3152
3152
  if (!this.runEvent('TryHeal', pokemon)) return false;
3153
3153
  },
3154
3154
  onEat(pokemon) {
3155
- this.heal(pokemon.baseMaxhp * 0.33);
3155
+ this.heal(pokemon.baseMaxhp / 3);
3156
3156
  if (pokemon.getNature().minus === 'spe') {
3157
3157
  pokemon.addVolatile('confusion');
3158
3158
  }
@@ -6726,7 +6726,7 @@ export const Items: {[itemid: string]: ItemData} = {
6726
6726
  if (!this.runEvent('TryHeal', pokemon)) return false;
6727
6727
  },
6728
6728
  onEat(pokemon) {
6729
- this.heal(pokemon.baseMaxhp * 0.33);
6729
+ this.heal(pokemon.baseMaxhp / 3);
6730
6730
  if (pokemon.getNature().minus === 'spa') {
6731
6731
  pokemon.addVolatile('confusion');
6732
6732
  }
package/data/learnsets.ts CHANGED
@@ -79167,6 +79167,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
79167
79167
  flashcannon: ["8M"],
79168
79168
  focusblast: ["8M"],
79169
79169
  gigaimpact: ["8M", "8L58"],
79170
+ gunkshot: ["8M"],
79170
79171
  haze: ["8L28"],
79171
79172
  highhorsepower: ["8M"],
79172
79173
  hyperbeam: ["8M"],
@@ -79204,6 +79205,8 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
79204
79205
  thunderbolt: ["8M"],
79205
79206
  thunderfang: ["8M"],
79206
79207
  uproar: ["8M"],
79208
+ uturn: ["8M"],
79209
+ wildcharge: ["8M"],
79207
79210
  workup: ["8M"],
79208
79211
  xscissor: ["8M"],
79209
79212
  },
@@ -82864,7 +82867,6 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
82864
82867
  darkpulse: ["8M"],
82865
82868
  drillpeck: ["8L35"],
82866
82869
  dualwingbeat: ["8T"],
82867
- earthpower: ["8M"],
82868
82870
  endure: ["8M"],
82869
82871
  facade: ["8M"],
82870
82872
  fly: ["8M"],
@@ -82884,7 +82886,6 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
82884
82886
  magicalleaf: ["8M"],
82885
82887
  meanlook: ["8E"],
82886
82888
  memento: ["8E"],
82887
- mysticalfire: ["8M"],
82888
82889
  nastyplot: ["8M"],
82889
82890
  payback: ["8M"],
82890
82891
  peck: ["8L1"],
@@ -82931,23 +82932,17 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
82931
82932
  facade: ["8M"],
82932
82933
  healbell: ["8L1"],
82933
82934
  hornleech: ["8L1"],
82934
- leechseed: ["8L1"],
82935
82935
  painsplit: ["8L1"],
82936
- poisonjab: ["8M"],
82937
- powerwhip: ["8M"],
82938
82936
  protect: ["8M"],
82939
82937
  rapidspin: ["8L1"],
82940
82938
  rest: ["8M"],
82941
- rockslide: ["8M"],
82942
82939
  round: ["8M"],
82943
82940
  sleeptalk: ["8M"],
82944
82941
  snore: ["8M"],
82945
82942
  stealthrock: ["8M"],
82946
82943
  substitute: ["8M"],
82947
- suckerpunch: ["8L1"],
82948
82944
  swordsdance: ["8M"],
82949
82945
  taunt: ["8M"],
82950
- thunderwave: ["8M"],
82951
82946
  },
82952
82947
  },
82953
82948
  pokestarsmeargle: {