-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
207 lines (163 loc) · 6.42 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
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
DEBUG = False
DARKNESS = True
# Small different on leveling
TENCENT = True or DARKNESS
SSF = True
AW = False
AW_RANGE = False and AW
SPELL = True
BOW = False
RICH_LEVELING = False
#
# Part 1 - A1-A10
#
DARKNESS_HIDE_CLASS = ' '.join([
'"Bows" "Two Hand" "Staves" "Quivers" "One Hand" "Claws" "Rings" "Amulets" "Belts"',
'"Daggers"',
# '"Wands" "Sceptres"',
# '"Body Armour"',
# '"Shields"',
# '"Boots"', # 80+血,有移速更好
# '"Helmets"', # 90+血,有命中更好
# '"Gloves"', # 80+血,有攻速/点伤更好
]).strip()
NEED_GGB_WEAPON = True # True
SHOW_FLASK_HALLOWED = True # True
SHOW_FLASK_LIFE = True # True
SHOW_4L = True # True, 装备合适的话就取消掉
SHOW_FLASK_MANA = True # True -> False -> True -> False 65 or 3 in 1
SHOW_NON_4L_NORMAL = True # True
ALERT_MAGIC_BASE_TYPE = ' '.join([
'"Amber Amulet" "Agate Amulet" "Citrine Amulet"' if SPELL else '', # 血抗
'"Jade Amulet" "Turquoise Amulet" "Citrine Amulet"' if SPELL else '', # 血抗
# '"Lapis Amulet" "Turquoise Amulet" "Onyx Amulet"' if not SPELL else '', # 点伤,血抗
'"Ruby Ring" "Topaz Ring" "Sapphire Ring" "Two-Stone Ring"', # 点伤,血抗
'"Leather Belt" "Heavy Belt"', # 血抗
]).strip() if not RICH_LEVELING else ''
ALERT_NORMAL_BASE_TYPE = ' '.join([
'"Ceremonial Kite Shield" "Angelic Kite Shield"', # 补抗用
'"Crystal Sceptre"',
'"Platinum Kris"', # 爆率
'"Fossilised Spirit Shield"', # 爆率
# '"Engraved Wand"', # essence of anger/wrath/hatred
# '"Siege Axe"', # 59 73
# TODO: other bases?
# '"Titan Greaves" "Vaal Greaves"' if '"Boots"' not in HIDE_BELOW_T1_RARE_CLASS else '', # 62 68
# '"Royal Burgonet" "Eternal Burgonet"' if '"Helmets"' not in HIDE_BELOW_T1_RARE_CLASS else '', # 65 69
]).strip()
# Life: 70+(Rings), 80+(Amulets, Gloves, Boots), 90+(Helmets, Belts, Body Armour), 100+(Body Armour, IL 73+)
HIDE_BELOW_T1_RARE_CLASS = ' '.join([
'"Claws" "One Hand"',
# '"Body Armour"', # 有血就行
# '"Sceptres"', # 爆率
# '"Boots"', # 80+血,有移速更好
# '"Helmets"', # 90+血,有命中更好
# '"Gloves"', # 80+血,有攻速/点伤更好
# '"Shields"', # 爆率
# '"Daggers" "Wands"',
])
ALERT_UTILITY_FLASK_BASE_TYPE = ' '.join([
'"Quicksilver"',
'"Ruby"',
'"Topaz"',
'"Jade"',
'"Silver"',
'"Granite"',
'"Basalt"',
'"Diamond"',
'"Bismuth" "Stibnite" "Amethyst" "Sapphire" "Aquamarine" "Quartz" "Sulphur"' if SHOW_FLASK_HALLOWED else '',
]).strip() if not RICH_LEVELING else ''
#
# Part 2 - Atlas
#
MAP_WHITE = False # False
MAP_YELLOW = False # False
MAP_RED = False # False
T1_RARE_BASE_TYPE = ' '.join([
'"Kite Shield"',
'"Spirit Shield"',
# '"Nightmare Mace" "Pernarch" "Legion Hammer" "Tenderizer" "Dragon Mace"', # 等一个过3.0分的武器
# '"Infernal Axe" "Butcher Axe" "Karui Axe" "Engraved Hatchet" "Wraith Axe"',
# '"Behemoth Mace" "Vaal Hatchet" "Runic Hatchet"',
# TODO: other bases?
# '"Royal Burgonet" "Eternal Burgonet" "Ezomyte Burgonet"', # 差不多就行
# '"Titan Greaves" "Vaal Greaves"',
# '"Titan Gauntlets" "Vaal Gauntlets"', # 血友病
# '"Siege Axe"', # 开膛斧
# '"Imbued Wand" "Carved Wand" "Engraved Wand"' # 皮斯卡托的慧眼
# '"Lion Pelt"', # 斯塔空加之首
# '"Crusader Buckler"', # 艾许之镜
]).strip() if not MAP_RED else ''
MAGIC_JEWEL_BASE_TYPE = ' '.join([
'"Crimson"',
'"Viridian" "Cobalt"',
]).strip() # if not MAP_YELLOW else ''
CURRENCY_PORTAL_FONT_SIZE = [40, 18][0] # Portal skill
NEED_CHISEL = False
ALERT_ATLAS_NORMAL_BASE_TYPE = ' '.join([
'"Bone Helmet"', # +2/+3,血,召唤血
'"Two-Toned Boots"', # 血抗(移速)
'"Spiked Gloves"', # 攻速精华
'"Gripped Gloves"', # 攻速精华
'"Fingerless Silk Gloves"', # TODO: ???
]).strip()
#
# Part 3 - Others
#
SSF_CRAFT_AMULETS_BASE_TYPE = ' '.join(
['"Turquoise"', '"Lapis"']
[max(0, 0 if SHOW_FLASK_LIFE else 1, 0 if '"Lapis Amulet"' in ALERT_MAGIC_BASE_TYPE else 2):])
if SPELL:
SSF_CRAFT_AMULETS_BASE_TYPE = ' '.join(['"Amber"'][0:])
SSF_CRAFT_RINGS_BASE_TYPE = '"Two-Stone"' if '"Two-Stone Ring"' in ALERT_MAGIC_BASE_TYPE else ''
SSF_CRAFT_BELTS_BASE_TYPE = ' '.join(['"Heavy Belt" "Leather Belt"'][0:])
if DARKNESS:
SSF_CRAFT_AMULETS_BASE_TYPE = ' '.join([
'"Amber"',
'"Jade"',
'"Citrine"',
]).strip()
SSF_CRAFT_RINGS_BASE_TYPE = ' '.join([
'"Two-Stone"',
'"Topaz"',
'"Sapphire"',
'"Ruby"',
]).strip()
SSF_CRAFT_BELTS_BASE_TYPE = ' '.join([
'"Heavy Belt"',
'"Leather Belt"',
]).strip()
L3_MAX_IL = 19 # RRG 头/脚
NEED_GEM = '"Shield Charge"' if SHOW_FLASK_HALLOWED else ''
LINKED_CLASS = ' '.join([
'"Body Armour"',
'"Boots"' if '"Boots"' not in HIDE_BELOW_T1_RARE_CLASS else '',
'"Helmets"' if '"Helmets"' not in HIDE_BELOW_T1_RARE_CLASS else '',
'"Gloves"' if '"Gloves"' not in HIDE_BELOW_T1_RARE_CLASS else '',
]).strip() if SHOW_4L and SHOW_FLASK_LIFE else ''
SHOW_N2M_ONE_HAND_MELEE = True and SHOW_FLASK_LIFE and not SPELL and not BOW
CURRENCY_WISDOM_FONT_SIZE = [40, 33, 18][max(0, 0 if SHOW_FLASK_LIFE else 2)]
if DARKNESS and not NEED_GGB_WEAPON:
CURRENCY_WISDOM_FONT_SIZE = 18
CURRENCY_ARMOURER_SCRAP_FONT_SIZE = [40, 36, 18][max(0, 0 if SHOW_FLASK_LIFE else 1, 0 if any(
class_ not in HIDE_BELOW_T1_RARE_CLASS for class_ in ['"Boots"', '"Helmets"']) else 2)]
NEED_RGB = True and SHOW_FLASK_LIFE
CURRENCY_ALERT_TRANSMUTATION = True and SHOW_FLASK_LIFE
CURRENCY_ALERT_BLACKSMITH = True and '"Siege Axe"' in ALERT_NORMAL_BASE_TYPE and not SPELL # Trade 8 for 1 glass
CURRENCY_ALERT_AUGMENTATION = True and not MAP_YELLOW
# CURRENCY_ALERT_CHANCE = True and not MAP_YELLOW
ALERT_LOW_CURRENCY = True and SHOW_FLASK_LIFE
if DARKNESS:
CURRENCY_ALERT_TRANSMUTATION = True
CURRENCY_ALERT_AUGMENTATION = True
ALERT_LOW_CURRENCY = True
SSF_UNIQUE = '"Twilight Blade" "Basket Rapier"' # '"Siege Axe" "Basket Rapier" "Twilight Blade" "Sadist Garb" "Destiny Leather" "Tornado Wand"'
ALERT_ESSENCE_BASE_TYPE = ''
IGNORE_RARE_UNDER_T2 = False
L2_MAX_IL = min(4, L3_MAX_IL)
# SHOW_FLASK_MANA = True and SHOW_FLASK_HALLOWED and SHOW_FLASK_LIFE
# if SPELL:
# SHOW_FLASK_MANA = True and SHOW_FLASK_LIFE
CHANCING_BASE_TYPE = '' # "Sadist Garb" if CURRENCY_ALERT_CHANCE else ''
# SHOW_FLASK_HALLOWED = True
# SHOW_FLASK_LIFE = True