-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.py
160 lines (113 loc) · 2.64 KB
/
settings.py
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
import enum
def initGlobal():
global ITEMS_DATA
ITEMS_DATA={}
global ITEM_PROPERTIES_DATA
ITEM_PROPERTIES_DATA={}
global EQUIPMENT_ITEM_TYPES_DATA
EQUIPMENT_ITEM_TYPES_DATA={}
global ACTION_DATA
ACTION_DATA={}
global VARIABLES
VARIABLES={}
global OPTIMIZED_ITEM_LIST
OPTIMIZED_ITEM_LIST = {}
class eqTypeEnum(enum.IntEnum):
RING = 103
LEGS = 119
NECK = 120
BACK = 132
BELT = 133
HEAD = 134
CHEST = 136
SHOULDERS = 138
PET = 582
MOUNT = 611
EMBLEMA = 646
COSTUME = 647
#Should do parent stuff again
#ACCESSORY=480 / ACCESSORY=537 / EMBLEMA = 646
class rarityEnum(enum.IntEnum):
WHITE = 1
GREEN = 2
ORANGE = 3
LEGENDARY = 4
RELIC = 5
BLUE = 6
EPIC = 7
class waeponEnum(enum.Enum):
PRIMARY = "isPrimary"
SECONDARY = "isSecondary"
TWO_HANDED = "isTwoHanded"
class simpleActionEnum(enum.IntEnum):
PV_ADD=20
PV_MINUS=21
PA_ADD=31
PA_MINUS=56
PM_ADD=41
PM_MINUS=57
PO_ADD=160
PO_MINUS=161
PW_ADD=191
PW_MINUS=192
PC_ADD=184
PC_MINUS=-1
INI_ADD=171
INI_MINUS=172
CC_ADD=150
CC_MINUS=168
WIS_ADD=166
WIS_MINUS=-1
PP_ADD=162
PP_MINUS=-1
WILL_ADD=177
WILL_MINUS=-1
BLOCK_ADD=875
BLOCK_MINUS=876
LOCK_ADD=173
LOCK_MINUS=174
DODGE_ADD=175
DODGE_MINUS=176
FIRE_MASTERY_ADD=122
FIRE_MASTERY_MINUS=132
WATER_MASTERY_ADD=124
WATER_MASTERY_MINUS=-1 #???? NO REMOVE OF WATER MASTERY
AIR_MASTERY_ADD=125
AIR_MASTERY_MINUS=-1
EARTH_MASTERY_ADD=123
EARTH_MASTERY_MINUS=-1
ELEM_MASTERY_ADD=120
ELEM_MASTERY_MINUS=130
HEAL_MASTERY_ADD=26
HEAL_MASTERY_MINUS=-1
CRIT_MASTERY_ADD=149
CRIT_MASTERY_MINUS=1056
BACK_MASTERY_ADD=180
BACK_MASTERY_MINUS=181
ZONE_MASTERY_ADD=1050
ZONE_MASTERY_MINUS=-1
MONO_MASTERY_ADD=1051
MONO_MASTERY_MINUS=1057
MELEE_MASTERY_ADD=1052
MELEE_MASTERY_MINUS=-1
DISTANCE_MASTERY_ADD=1053
DISTANCE_MASTERY_MINUS=1060
BERSERK_MASTERY_ADD=1055
BERSERK_MASTERY_MINUS=1061
ELEM_RES_ADD=80
#ELEM_RES_MINUS=90 # there is only one item here, it will not be parsed right now. BIG TODO
ELEM_RES_MINUS_UNCAPED=100
FIRE_RES_ADD=82
FIRE_RES_MINUS=97
WATER_RES_ADD=83
WATER_RES_MINUS=98
EARTH_RES_ADD=84
EARTH_RES_MINUS=96
AIR_RES_ADD=85
AIR_RES_MINUS=-1
class paramsActionEnum(enum.IntEnum):
RANDOM_NUMBER_MASTERY_ADD=1068
RANDOM_NUMBER_MASTERY_MINUS=-1
RANDOM_NUMBER_RES_ADD=1069
RANDOM_NUMBER_RES_MINUS=-1
#ID=39 working quite strange, should take into action