This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
weights.js
92 lines (65 loc) · 1.5 KB
/
weights.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
module.exports = {
// Side conditions
"p1_reflect": 64,
"p2_reflect": -64,
"p1_spikes": -150,
"p2_spikes": 150,
"p1_stealthrock": -200,
"p2_stealthrock": 200,
"p1_stickyweb": -40,
"p2_stickyweb": 40,
"p1_toxicspikes": -100,
"p2_toxicspikes": 100,
"p1_lightscreen": 64,
"p2_lightscreen": -64,
"p1_tailwind": 32,
"p2_tailwind": -32,
// Volatile Status Effects
"p1_substitute": 150,
"p2_substitute": -150,
"p1_confusion": -32,
"p2_confusion": 32,
"p1_leechseed": -80,
"p2_leechseed": 80,
"p1_infestation": 0,
"p2_infestation": 0,
// Boosts
"p1_atk": 50,
"p2_atk": -50,
"p1_def": 25,
"p2_def": -25,
"p1_spa": 50,
"p2_spa": -50,
"p1_spd": 25,
"p2_spd": -25,
"p1_spe": 0,
"p2_spe": 0,
"p1_accuracy": 10,
"p2_accuracy": -10,
"p1_evasion": 10,
"p2_evasion": -10,
"p1_hp": 1024,
"p2_hp": -1024,
"p1_alive": 512, //was 1024 //TODO: incremental p1_alive? so hp when a pokemon is at full health is worth more than when a pokemon is at partial health
"p2_alive": -512, //was -1024
"p1_fast_alive": 512,
"p2_fast_alive": -512,
// Status effects
"p1_psn_count": -100,
"p2_psn_count": 100,
"p1_tox_count": -100,
"p2_tox_count": 100,
"p1_slp_count": -120,
"p2_slp_count": 120,
"p1_brn_count": -100,
"p2_brn_count": 100,
"p1_frz_count": -100,
"p2_frz_count": 100,
"p1_par_count": -100,
"p2_par_count": 100,
// Other features
"items": 4,
"faster": 50,
"has_supereffective": 200,
"has_stab": 100
}