forked from smogon/pokemon-showdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmovedex.js
11613 lines (11601 loc) · 262 KB
/
movedex.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
exports.BattleMovedex = {
"Absorb": {
num: 71,
accuracy: 100,
basePower: 20,
category: "Special",
desc: "Restores the user's HP by 1/2 of the damage inflicted on the target.",
id: "Absorb",
name: "Absorb",
pp: 25,
priority: 0,
drain: [1,2],
secondary: false,
target: "normal",
type: "Grass"
},
"Acid": {
num: 51,
accuracy: 100,
basePower: 40,
category: "Special",
desc: "Has a 10% chance to lower the target's Special Defense by 1 stage.",
id: "Acid",
name: "Acid",
pp: 30,
priority: 0,
secondary: {
chance: 10,
boosts: {
spd: -1
}
},
target: "foes",
type: "Poison"
},
"AcidArmor": {
num: 151,
accuracy: true,
basePower: 0,
category: "Status",
desc: "Raises the user's Defense by 2 stages.",
id: "AcidArmor",
name: "Acid Armor",
pp: 40,
isViable: true,
priority: 0,
boosts: {
def: 2
},
secondary: false,
target: "self",
type: "Poison"
},
"AcidSpray": {
num: 491,
accuracy: 100,
basePower: 40,
category: "Special",
desc: "Lowers the target's Special Defense by two stages.",
id: "AcidSpray",
name: "Acid Spray",
pp: 20,
isViable: true,
priority: 0,
secondary: {
chance: 100,
boosts: {
spd: -2
}
},
target: "normal",
type: "Poison"
},
"Acrobatics": {
num: 512,
accuracy: 100,
basePower: 55,
basePowerCallback: function(pokemon) {
if (!pokemon.item || pokemon.item === 'FlyingGem')
{
this.debug("Power doubled for no item.");
return 110;
}
return 55;
},
category: "Physical",
desc: "Acrobat allows the user to hit any target that is not in their attack range in a triple battle. The power is also doubled if the user has no held item.",
id: "Acrobatics",
name: "Acrobatics",
pp: 15,
isViable: true,
isContact: true,
priority: 0,
secondary: false,
target: "any",
type: "Flying"
},
"Acupressure": {
num: 367,
accuracy: true,
basePower: 0,
category: "Status",
desc: "One of the user's stats, including Accuracy or Evasion, is randomly selected and boosted by 2 stages. A stat which is already at max will not be selected. User can also select its partner in 2v2 battles to randomly boost one of its stats.",
id: "Acupressure",
name: "Acupressure",
pp: 30,
onHit: function(target) {
var stats = [];
for (var i in target.boosts)
{
if (target.boosts[i] < 6)
{
stats.push(i);
}
}
if (stats.length)
{
var i = stats[parseInt(Math.random()*stats.length)];
var boost = {};
boost[i] = 2;
this.boost(boost);
}
else
{
return false;
}
},
priority: 0,
secondary: false,
target: "ally",
type: "Normal"
},
"AerialAce": {
num: 332,
accuracy: true,
basePower: 60,
category: "Physical",
desc: "Ignores Evasion and Accuracy modifiers and never misses except against Protect, Detect or a target in the middle of Dig, Fly, Dive or Bounce.",
id: "AerialAce",
name: "Aerial Ace",
pp: 20,
isViable: true,
isContact: true,
priority: 0,
secondary: false,
target: "normal",
type: "Flying"
},
"Aeroblast": {
num: 177,
accuracy: 95,
basePower: 100,
category: "Special",
desc: "Has a high critical hit ratio.",
id: "Aeroblast",
name: "Aeroblast",
pp: 5,
isViable: true,
priority: 0,
critRatio: 2,
secondary: false,
target: "normal",
type: "Flying"
},
"AfterYou": {
num: 495,
accuracy: true,
basePower: false,
category: "Status",
desc: "After this move is used, the next turn the target will attack first, ignoring priority.",
id: "AfterYou",
name: "After You",
pp: 15,
priority: 0,
secondary: false,
target: "normal",
type: "Normal"
},
"Agility": {
num: 97,
accuracy: true,
basePower: 0,
category: "Status",
desc: "Raises the user's Speed by 2 stages.",
id: "Agility",
name: "Agility",
pp: 30,
isViable: true,
priority: 0,
boosts: {
spe: 2
},
secondary: false,
target: "self",
type: "Psychic"
},
"AirCutter": {
num: 314,
accuracy: 95,
basePower: 55,
category: "Special",
desc: "Has a high critical hit ratio.",
id: "AirCutter",
name: "Air Cutter",
pp: 25,
priority: 0,
critRatio: 2,
secondary: false,
target: "foes",
type: "Flying"
},
"AirSlash": {
num: 403,
accuracy: 95,
basePower: 75,
category: "Special",
desc: "Has a 30% chance to make the target flinch.",
id: "AirSlash",
name: "Air Slash",
pp: 20,
isViable: true,
priority: 0,
secondary: {
chance: 30,
volatileStatus: 'flinch'
},
target: "normal",
type: "Flying"
},
"AllySwitch": {
num: 502,
accuracy: true,
basePower: false,
category: "Status",
desc: "User switches places with a random ally.",
id: "AllySwitch",
name: "Ally Switch",
pp: 15,
priority: 1,
secondary: false,
target: "normal",
type: "Psychic"
},
"Amnesia": {
num: 133,
accuracy: true,
basePower: 0,
category: "Status",
desc: "Raises the user's Special Defense by 2 stages.",
id: "Amnesia",
name: "Amnesia",
pp: 20,
isViable: true,
priority: 0,
boosts: {
spd: 2
},
secondary: false,
target: "self",
type: "Psychic"
},
"AncientPower": {
num: 246,
accuracy: 100,
basePower: 60,
category: "Special",
desc: "Has a 10% chance to raise all of the user's stats by 1 stage.",
id: "AncientPower",
name: "AncientPower",
pp: 5,
priority: 0,
secondary: {
chance: 10,
self: {
boosts: {
atk: 1,
def: 1,
spa: 1,
spd: 1,
spe: 1
}
}
},
target: "normal",
type: "Rock"
},
"AquaJet": {
num: 453,
accuracy: 100,
basePower: 40,
category: "Physical",
desc: "Usually goes first.",
id: "AquaJet",
name: "Aqua Jet",
pp: 20,
isViable: true,
isContact: true,
priority: 1,
secondary: false,
target: "normal",
type: "Water"
},
"AquaRing": {
num: 392,
accuracy: true,
basePower: 0,
category: "Status",
desc: "The user recovers 1/16 of its max HP per turn until it faints or switches out; this can be Baton Passed to another Pokemon.",
id: "AquaRing",
name: "Aqua Ring",
pp: 20,
priority: 0,
volatileStatus: 'AquaRing',
effect: {
onStart: function(pokemon) {
this.add('r-volatile '+pokemon.id+' aqua-ring');
},
onResidualPriority: 50-6,
onResidual: function(pokemon) {
this.heal(pokemon.maxhp/16);
}
},
secondary: false,
target: "self",
type: "Water"
},
"AquaTail": {
num: 401,
accuracy: 90,
basePower: 90,
category: "Physical",
desc: "Deals damage with no additional effect.",
id: "AquaTail",
name: "Aqua Tail",
pp: 10,
isContact: true,
isViable: true,
priority: 0,
secondary: false,
target: "normal",
type: "Water"
},
"ArmThrust": {
num: 292,
accuracy: 100,
basePower: 15,
category: "Physical",
desc: "Attacks 2-5 times in one turn; if one of these attacks breaks a target's Substitute, the target will take damage for the rest of the hits. This move has a 3/8 chance to hit twice, a 3/8 chance to hit three times, a 1/8 chance to hit four times and a 1/8 chance to hit five times. If the user of this move has Skill Link, this move will always strike five times.",
id: "ArmThrust",
name: "Arm Thrust",
pp: 20,
isContact: true,
priority: 0,
multihit: [2,5],
secondary: false,
target: "normal",
type: "Fighting"
},
"Aromatherapy": {
num: 312,
accuracy: true,
basePower: 0,
category: "Status",
desc: "Every Pokemon in the user's party is cured of status conditions. Lists every Pokemon that was healed, and what status condition was cured. ",
id: "Aromatherapy",
name: "Aromatherapy",
pp: 5,
isViable: true,
priority: 0,
onHit: function(side, source) {
for (var i=0; i<side.pokemon.length; i++)
{
side.pokemon[i].status = '';
}
this.add('r-cure-all '+source.id+' Aromatherapy');
},
secondary: false,
target: "allySide",
type: "Grass"
},
"Assist": {
num: 274,
accuracy: 100,
basePower: 0,
category: "Status",
desc: "The user performs a random move from any of the Pokemon on its team. Assist cannot generate itself, Chatter, Copycat, Counter, Covet, Destiny Bond, Detect, Endure, Feint, Focus Punch, Follow Me, Helping Hand, Me First, Metronome, Mimic, Mirror Coat, Mirror Move, Protect, Sketch, Sleep Talk, Snatch, Struggle, Switcheroo, Thief or Trick.",
id: "Assist",
name: "Assist",
pp: 20,
priority: 0,
onHit: function(target) {
var moves = [];
for (var j=0; j<target.side.pokemon.length; j++)
{
var pokemon = target.side.pokemon[j];
for (var i=0; i<pokemon.moves.length; i++)
{
var move = pokemon.moves[i];
var NoAssist = {
Assist:1, Chatter:1, CircleThrow:1, Copycat:1, Counter:1, Covet:1, DestinyBond:1, Detect:1, DragonTail:1, Endure:1, Feint:1, FocusPunch:1, FollowMe:1, HelpingHand:1, MeFirst:1, Metronome:1, Mimic:1, MirrorCoat:1, MirrorMove:1, Protect:1, QuickGuard:1, Sketch:1, SleepTalk:1, Snatch:1, Struggle:1, Switcheroo:1, Thief:1, Trick:1, WideGuard:1
};
if (!NoAssist[move])
{
moves.push(move);
}
}
}
var move = '';
if (moves.length) move = moves[parseInt(Math.random()*moves.length)];
if (!move)
{
return false;
}
this.useMove(move, target);
},
secondary: false,
target: "self",
type: "Normal"
},
"Assurance": {
num: 372,
accuracy: 100,
basePower: 50,
category: "Physical",
desc: "Base power doubles if, since the beginning of the current turn, the target has taken residual damage from any factors such as recoil, Spikes, Stealth Rock or the effects of holding Life Orb.",
id: "Assurance",
name: "Assurance",
pp: 10,
isContact: true,
priority: 0,
secondary: false,
target: "normal",
type: "Dark"
},
"Astonish": {
num: 310,
accuracy: 100,
basePower: 30,
category: "Physical",
desc: "Has a 30% chance to make the target flinch.",
id: "Astonish",
name: "Astonish",
pp: 15,
isContact: true,
priority: 0,
secondary: {
chance: 30,
volatileStatus: 'flinch'
},
target: "normal",
type: "Ghost"
},
"AttackOrder": {
num: 454,
accuracy: 100,
basePower: 90,
category: "Physical",
desc: "Has a high critical hit ratio.",
id: "AttackOrder",
name: "Attack Order",
pp: 15,
isViable: true,
priority: 0,
critRatio: 2,
secondary: false,
target: "normal",
type: "Bug"
},
"Attract": {
num: 213,
accuracy: 100,
basePower: 0,
category: "Status",
desc: "Infatuates Pokemon of the opposite gender, even if they have a Substitute, causing a 50% chance for the target's attack to fail.",
id: "Attract",
name: "Attract",
pp: 15,
priority: 0,
secondary: false,
target: "normal",
type: "Normal"
},
"AuraSphere": {
num: 396,
accuracy: true,
basePower: 90,
category: "Special",
desc: "Ignores Evasion and Accuracy modifiers and never misses except against Protect, Detect or a target in the middle of Dig, Fly, Dive or Bounce.",
id: "AuraSphere",
name: "Aura Sphere",
pp: 20,
isViable: true,
priority: 0,
secondary: false,
target: "normal",
type: "Fighting"
},
"AuroraBeam": {
num: 62,
accuracy: 100,
basePower: 65,
category: "Special",
desc: "Has a 10% chance to lower the target's Attack by 1 stage.",
id: "AuroraBeam",
name: "Aurora Beam",
pp: 20,
priority: 0,
secondary: {
chance: 10,
boosts: {
atk: -1
}
},
target: "normal",
type: "Ice"
},
"Autotomize": {
num: 475,
accuracy: true,
basePower: false,
category: "Status",
desc: "Raises the user's Speed by two stages.",
id: "Autotomize",
name: "Autotomize",
pp: 15,
isViable: true,
priority: 3,
volatileStatus: 'Autotomize',
effect: {
noCopy: true, // doesn't get copied by Baton Pass
onStart: function(pokemon) {
this.add('message '+pokemon.name+' became nimble! (placeholder)');
},
onModifyPokemon: function(pokemon) {
pokemon.weightkg /= 2;
}
},
boosts: {
spe: 2
},
secondary: false,
target: "self",
type: "Steel"
},
"Avalanche": {
num: 419,
accuracy: true,
basePower: 60,
basePowerCallback: function(pokemon, target) {
if (!pokemon.lastHitBy || !pokemon.lastHitBy.thisTurn)
{
return 60;
}
var move = this.getMove(pokemon.lastHitBy.move);
if (move.category === 'Status')
{
return 60;
}
this.debug('Boosted for getting hit by '+pokemon.lastHitBy.move);
return 120;
},
category: "Physical",
desc: "Base power is 60. Almost always goes last, even after another Pokemon's Focus Punch; this move's base power doubles if the user is damaged before its turn.",
id: "Avalanche",
name: "Avalanche",
pp: 10,
isViable: true,
isContact: true,
priority: -4,
secondary: false,
target: "normal",
type: "Ice"
},
"Barrage": {
num: 140,
accuracy: 85,
basePower: 15,
category: "Physical",
desc: "Attacks 2-5 times in one turn; if one of these attacks breaks a target's Substitute, the target will take damage for the rest of the hits. This move has a 3/8 chance to hit twice, a 3/8 chance to hit three times, a 1/8 chance to hit four times and a 1/8 chance to hit five times. If the user of this move has Skill Link, this move will always strike five times.",
id: "Barrage",
name: "Barrage",
pp: 20,
priority: 0,
multihit: [2,5],
secondary: false,
target: "normal",
type: "Normal"
},
"Barrier": {
num: 112,
accuracy: true,
basePower: 0,
category: "Status",
desc: "Raises the user's Defense by 2 stages.",
id: "Barrier",
name: "Barrier",
pp: 30,
isViable: true,
priority: 0,
boosts: {
def: 2
},
secondary: false,
target: "self",
type: "Psychic"
},
"BatonPass": {
num: 226,
accuracy: true,
basePower: 0,
category: "Status",
desc: "The user returns to its party, bypassing any trapping moves and Pursuit; it passes all stat modifiers (positive or negative, including from Charge and Stockpile), as well as confusion, Focus Energy/Lansat Berry boosts, Ingrain, Aqua Ring, Embargo, Gastro Acid, Power Trick, Magnet Rise, Stockpiles, Perish Song count, Mist, Leech Seed, Ghost Curses, Mind Reader, Lock-On, Block, Mean Look, Spider Web and Substitute to the replacement Pokemon.",
id: "BatonPass",
name: "Baton Pass",
pp: 40,
isViable: true,
priority: 0,
batonPass: true,
secondary: false,
target: "self",
type: "Normal"
},
"BeatUp": {
num: 251,
accuracy: true,
basePower: false,
category: "Physical",
desc: "Each healthy (i.e. not fainted nor inflicted with a status condition) Pokemon in your party contributes a typeless 10 base power hit determined solely by their base Attack and Defense stats.",
id: "BeatUp",
name: "Beat Up",
pp: 10,
priority: 0,
secondary: false,
target: "normal",
type: "Dark"
},
"BellyDrum": {
num: 187,
accuracy: true,
basePower: 0,
category: "Status",
desc: "The user maximizes its Attack but sacrifices 50% of its max HP.",
id: "BellyDrum",
name: "Belly Drum",
pp: 10,
isViable: true,
priority: 0,
onHit: function(target) {
if (target.hp <= target.maxhp/2)
{
return false;
}
target.damage(target.maxhp/2);
target.setBoost({atk: 6});
this.add('r-belly-drum '+target.id);
},
secondary: false,
target: "self",
type: "Normal"
},
"Bestow": {
num: 516,
accuracy: true,
basePower: false,
category: "Status",
desc: "Gives the user's held item to the target.",
id: "Bestow",
name: "Bestow",
pp: 15,
priority: 0,
onHit: function(target, source) {
if (target.item)
{
return false;
}
var yourItem = source.takeItem();
if (!yourItem)
{
return false;
}
if (!target.setItem(yourItem))
{
return false;
}
this.add('r-trick-get '+target.id+' '+yourItem.id);
},
secondary: false,
target: "normal",
type: "Normal"
},
"Bide": {
num: 117,
accuracy: true,
basePower: false,
category: "Physical",
desc: "Usually goes first for the duration of the move. The user absorbs all damage for two turns and then, during the third turn, the user inflicts twice the absorbed damage on the last pokemon that hit it. This move ignores the target's type and even hits Ghost-type Pokemon.",
id: "Bide",
name: "Bide",
pp: 10,
isContact: true,
priority: 1,
volatileStatus: 'Bide',
effect: {
duration: 3,
onStart: function() {
this.effectData.totalDamage = 0;
},
onDamage: function(damage, target, source, move) {
if (!move || move.effectType !== 'Move') return;
if (!source || source.side === target.side) return;
this.effectData.totalDamage += damage;
this.effectData.sourcePosition = source.position;
this.effectData.sourceSide = source.side;
},
onModifyPokemon: function(pokemon) {
pokemon.lockMove('Bide');
},
onAfterSetStatus: function(status, pokemon) {
if (status.id === 'slp')
{
pokemon.removeVolatile('Bide');
}
},
onBeforeMove: function(pokemon) {
if (this.effectData.duration === 1)
{
if (!this.effectData.totalDamage)
{
this.add('r-failed '+pokemon.id);
return false;
}
this.add('message Unleashed energy. (placeholder)');
var target = this.effectData.sourceSide.active[this.effectData.sourcePosition];
this.moveHit(target, pokemon, 'Bide', {damage: this.effectData.totalDamage*2});
return false;
}
this.add('message Storing energy. (placeholder)');
return false;
}
},
secondary: false,
target: "self",
type: "Normal"
},
"Bind": {
num: 20,
accuracy: 85,
basePower: 15,
category: "Physical",
desc: "Traps the target for 5-6 turns, causing damage equal to 1/16 of its max HP each turn; this trapped effect can be broken by Rapid Spin. The target can still switch out if it is holding Shed Shell or uses Baton Pass or U-Turn.",
id: "Bind",
name: "Bind",
pp: 20,
isContact: true,
priority: 0,
volatileStatus: 'partiallyTrapped',
secondary: false,
target: "normal",
type: "Normal"
},
"Bite": {
num: 44,
accuracy: 100,
basePower: 60,
category: "Physical",
desc: "Has a 30% chance to make the target flinch.",
id: "Bite",
name: "Bite",
pp: 25,
isContact: true,
priority: 0,
secondary: {
chance: 30,
volatileStatus: 'flinch'
},
target: "normal",
type: "Dark"
},
"BlastBurn": {
num: 307,
accuracy: 90,
basePower: 150,
category: "Special",
desc: "The user recharges during its next turn; as a result, until the end of the next turn, the user becomes uncontrollable.",
id: "BlastBurn",
name: "Blast Burn",
pp: 5,
priority: 0,
self: {
volatileStatus: 'mustRecharge'
},
secondary: false,
target: "normal",
type: "Fire"
},
"BlazeKick": {
num: 299,
accuracy: 90,
basePower: 85,
category: "Physical",
desc: "Has a high critical hit ratio and a 10% chance to burn the target.",
id: "BlazeKick",
name: "Blaze Kick",
pp: 10,
isViable: true,
isContact: true,
priority: 0,
critRatio: 2,
secondary: {
chance: 10,
status: 'brn'
},
target: "normal",
type: "Fire"
},
"Blizzard": {
num: 59,
accuracy: 70,
basePower: 120,
category: "Special",
desc: "Has a 10% chance to freeze the target. During Hail, this move will never miss under normal circumstances and has a 30% chance to hit through a target's Protect or Detect.",
id: "Blizzard",
name: "Blizzard",
pp: 5,
isViable: true,
priority: 0,
secondary: {
chance: 10,
status: 'frz'
},
target: "foes",
type: "Ice"
},
"Block": {
num: 335,
accuracy: 100,
basePower: 0,
category: "Status",
desc: "As long as the user remains in battle, the target cannot switch out unless it is holding Shed Shell or uses Baton Pass or U-Turn. The target will still be trapped if the user switches out by using Baton Pass.",
id: "Block",
name: "Block",
pp: 5,
isViable: true,
priority: 0,
secondary: false,
target: "normal",
type: "Normal"
},
"BlueFlare": {
num: 551,
accuracy: 85,
basePower: 130,
category: "Special",
desc: "Has a 20% chance to burn the target.",
id: "BlueFlare",
name: "Blue Flare",
pp: 5,
isViable: true,
priority: 0,
secondary: {
chance: 20,
status: 'brn'
},
target: "normal",
type: "Fire"
},
"BodySlam": {
num: 34,
accuracy: 100,
basePower: 85,
category: "Physical",
desc: "Has a 30% chance to paralyze the target.",
id: "BodySlam",
name: "Body Slam",
pp: 15,
isViable: true,
isContact: true,
priority: 0,
secondary: {
chance: 30,
status: 'par'
},
target: "normal",
type: "Normal"
},
"BoltStrike": {
num: 550,
accuracy: 85,
basePower: 130,
category: "Physical",
desc: "Has a 20% chance to paralyze the target.",
id: "BoltStrike",
name: "Bolt Strike",
pp: 5,
isViable: true,
isContact: true,
priority: 0,
secondary: {
chance: 20,
status: 'par'
},
target: "normal",
type: "Electric"
},
"BoneClub": {
num: 125,
accuracy: 85,
basePower: 65,
category: "Physical",
desc: "Has a 10% chance to make the target flinch.",
id: "BoneClub",
name: "Bone Club",
pp: 20,
priority: 0,
secondary: {
chance: 10,
volatileStatus: 'flinch'
},
target: "normal",
type: "Ground"
},
"BoneRush": {
num: 198,
accuracy: 80,
basePower: 25,
category: "Physical",
desc: "Attacks 2-5 times in one turn; if one of these attacks breaks a target's Substitute, the target will take damage for the rest of the hits. This move has a 3/8 chance to hit twice, a 3/8 chance to hit three times, a 1/8 chance to hit four times and a 1/8 chance to hit five times. If the user of this move has Skill Link, this move will always strike five times.",
id: "BoneRush",
isViable: true,
name: "Bone Rush",
pp: 10,
priority: 0,
multihit: [2,5],
secondary: false,
target: "normal",
type: "Ground"
},
"Bonemerang": {
num: 155,
accuracy: 90,
basePower: 50,
category: "Physical",
desc: "Strikes twice; if the first hit breaks the target's Substitute, the real Pokemon will take damage from the second hit.",
id: "Bonemerang",
name: "Bonemerang",
pp: 10,
isViable: true,
priority: 0,
multihit: 2,
secondary: false,
target: "normal",
type: "Ground"
},
"Bounce": {
num: 340,
accuracy: 85,
basePower: 85,
category: "Physical",
desc: "On the first turn, the user bounces into the air, becoming uncontrollable, and evades most attacks. Gust, Twister, Thunder and Sky Uppercut have normal accuracy against a mid-air Pokemon, with Gust and Twister also gaining doubled power. The user may also be hit in mid-air if it was previously targeted by Lock-On or Mind Reader or if it is attacked by a Pokemon with No Guard. On the second turn, the user descends and has a 30% chance to paralyze the target.",
id: "Bounce",
name: "Bounce",
pp: 5,
isViable: true,
isContact: true,
priority: 0,
beforeMoveCallback: function(pokemon) {
if (pokemon.removeVolatile('Bounce')) return;
pokemon.addVolatile('Bounce');
this.add('prepare-move '+pokemon.id+' Bounce');
return true;
},
effect: {
duration: 2,
onModifyPokemon: function(pokemon) {
pokemon.lockMove('Bounce');
},
onSourceModifyMove: function(move) {
// warning: does not work the same way as Fly
if (move.target === 'foeSide') return;
if (move.id === 'Gust' || move.id === 'Twister' || move.id === 'Thunder')
{
// should not normally be done in ModifyMove event,
// but these moves have static base power, and
// it's faster to do this here than in
// BasePower event
move.basePower *= 2;
return;
}
else if (move.id === 'Sky Uppercut')
{
return;
}
move.accuracy = 0;
}
},
secondary: {
chance: 30,
status: 'par'