forked from exApiTools/BetterSanctum
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathProfileContent.cs
More file actions
304 lines (291 loc) · 12.3 KB
/
ProfileContent.cs
File metadata and controls
304 lines (291 loc) · 12.3 KB
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
using System.Collections.Generic;
namespace PathfindSanctum;
public class ProfileContent
{
public Dictionary<string, int> CurrencyWeights { get; set; }
public Dictionary<string, int> FightRoomWeights { get; set; }
public Dictionary<string, int> RewardRoomWeights { get; set; }
public Dictionary<string, int> AfflictionWeights { get; set; }
private static ProfileContent CreateBaseProfile()
{
return new ProfileContent
{
CurrencyWeights = new()
{
["Armourer's Scraps_Now"] = 4,
["Armourer's Scraps_EndOfFloor"] = 4,
["Armourer's Scraps_EndOfSanctum"] = 4,
["Awakened Sextants_Now"] = 261,
["Awakened Sextants_EndOfFloor"] = 261,
["Awakened Sextants_EndOfSanctum"] = 698,
["Blacksmith's Whetstones_Now"] = 3,
["Blacksmith's Whetstones_EndOfFloor"] = 3,
["Blacksmith's Whetstones_EndOfSanctum"] = 3,
["Blessed Orbs_Now"] = 45,
["Blessed Orbs_EndOfFloor"] = 45,
["Blessed Orbs_EndOfSanctum"] = 68,
["Cartographer's Chisels_Now"] = 109,
["Cartographer's Chisels_EndOfFloor"] = 218,
["Cartographer's Chisels_EndOfSanctum"] = 305,
["Chaos Orbs_Now"] = 218,
["Chaos Orbs_EndOfFloor"] = 436,
["Chaos Orbs_EndOfSanctum"] = 611,
["Chromatic Orbs_Now"] = 39,
["Chromatic Orbs_EndOfFloor"] = 87,
["Chromatic Orbs_EndOfSanctum"] = 130,
["Divine Orbs_Now"] = 10000,
["Divine Orbs_EndOfFloor"] = 10000,
["Divine Orbs_EndOfSanctum"] = 20000,
["Divine Vessels_Now"] = 21,
["Divine Vessels_EndOfFloor"] = 21,
["Divine Vessels_EndOfSanctum"] = 65,
["Enkindling Orbs_Now"] = 139,
["Enkindling Orbs_EndOfFloor"] = 139,
["Enkindling Orbs_EndOfSanctum"] = 209,
["Exalted Orbs_Now"] = 523,
["Exalted Orbs_EndOfFloor"] = 523,
["Exalted Orbs_EndOfSanctum"] = 1047,
["Gemcutter's Prisms_Now"] = 209,
["Gemcutter's Prisms_EndOfFloor"] = 418,
["Gemcutter's Prisms_EndOfSanctum"] = 628,
["Glassblower's Baubles_Now"] = 176,
["Glassblower's Baubles_EndOfFloor"] = 392,
["Glassblower's Baubles_EndOfSanctum"] = 589,
["Instilling Orbs_Now"] = 69,
["Instilling Orbs_EndOfFloor"] = 139,
["Instilling Orbs_EndOfSanctum"] = 209,
["Jeweller's Orbs_Now"] = 15,
["Jeweller's Orbs_EndOfFloor"] = 34,
["Jeweller's Orbs_EndOfSanctum"] = 52,
["Mirrors of Kalandra_Now"] = 1000000,
["Mirrors of Kalandra_EndOfFloor"] = 1000000,
["Mirrors of Kalandra_EndOfSanctum"] = 1000000,
["Orbs of Alchemy_Now"] = 10,
["Orbs of Alchemy_EndOfFloor"] = 24,
["Orbs of Alchemy_EndOfSanctum"] = 34,
["Orbs of Alteration_Now"] = 74,
["Orbs of Alteration_EndOfFloor"] = 165,
["Orbs of Alteration_EndOfSanctum"] = 248,
["Orbs of Annulment_Now"] = 187,
["Orbs of Annulment_EndOfFloor"] = 187,
["Orbs of Annulment_EndOfSanctum"] = 375,
["Orbs of Augmentation_Now"] = 1,
["Orbs of Augmentation_EndOfFloor"] = 1,
["Orbs of Augmentation_EndOfSanctum"] = 1,
["Orbs of Binding_Now"] = 6,
["Orbs of Binding_EndOfFloor"] = 13,
["Orbs of Binding_EndOfSanctum"] = 18,
["Orbs of Chance_Now"] = 15,
["Orbs of Chance_EndOfFloor"] = 34,
["Orbs of Chance_EndOfSanctum"] = 52,
["Orbs of Fusing_Now"] = 39,
["Orbs of Fusing_EndOfFloor"] = 91,
["Orbs of Fusing_EndOfSanctum"] = 130,
["Orbs of Horizon_Now"] = 22,
["Orbs of Horizon_EndOfFloor"] = 45,
["Orbs of Horizon_EndOfSanctum"] = 68,
["Orbs of Regret_Now"] = 174,
["Orbs of Regret_EndOfFloor"] = 349,
["Orbs of Regret_EndOfSanctum"] = 488,
["Orbs of Scouring_Now"] = 54,
["Orbs of Scouring_EndOfFloor"] = 109,
["Orbs of Scouring_EndOfSanctum"] = 152,
["Orbs of Transmutation_Now"] = 0,
["Orbs of Transmutation_EndOfFloor"] = 0,
["Orbs of Transmutation_EndOfSanctum"] = 0,
["Orbs of Unmaking_Now"] = 174,
["Orbs of Unmaking_EndOfFloor"] = 349,
["Orbs of Unmaking_EndOfSanctum"] = 523,
["Regal Orbs_Now"] = 69,
["Regal Orbs_EndOfFloor"] = 139,
["Regal Orbs_EndOfSanctum"] = 209,
["Sacred Orbs_Now"] = 480,
["Sacred Orbs_EndOfFloor"] = 480,
["Sacred Orbs_EndOfSanctum"] = 960,
["Stacked Decks_Now"] = 349,
["Stacked Decks_EndOfFloor"] = 698,
["Stacked Decks_EndOfSanctum"] = 1047,
["Vaal Orbs_Now"] = 35,
["Vaal Orbs_EndOfFloor"] = 71,
["Vaal Orbs_EndOfSanctum"] = 143,
["Veiled Orbs_Now"] = 74192,
["Veiled Orbs_EndOfFloor"] = 74192,
["Veiled Orbs_EndOfSanctum"] = 148385,
["Veiled Scarabs_Now"] = 261,
["Veiled Scarabs_EndOfFloor"] = 261,
["Veiled Scarabs_EndOfSanctum"] = 698,
},
FightRoomWeights = new()
{
["Arena_Floor1"] = -50,
["Arena_Floor2"] = -50,
["Arena_Floor3"] = -100,
["Arena_Floor4"] = -100,
["Explore_Floor1"] = 50,
["Explore_Floor2"] = 50,
["Explore_Floor3"] = 2,
["Explore_Floor4"] = 2,
["Gauntlet_Floor1"] = 49,
["Gauntlet_Floor2"] = 49,
["Gauntlet_Floor3"] = 1,
["Gauntlet_Floor4"] = 1,
["Lair_Floor1"] = 0,
["Lair_Floor2"] = 0,
["Lair_Floor3"] = 0,
["Lair_Floor4"] = 0,
["Miniboss_Floor1"] = 3,
["Miniboss_Floor2"] = 51,
["Miniboss_Floor3"] = 3,
["Miniboss_Floor4"] = 3,
// Have never been found in gameplay
["Boss"] = 99999,
["Maze"] = 99999,
["Puzzle"] = 99999,
["Vault"] = 99999,
},
RewardRoomWeights = new()
{
["BoonFountain_Floor1"] = 500,
["BoonFountain_Floor2"] = 500,
["BoonFountain_Floor3"] = 25,
["BoonFountain_Floor4"] = 25,
["CurseFountain_Floor1"] = 0,
["CurseFountain_Floor2"] = 0,
["CurseFountain_Floor3"] = 0,
["CurseFountain_Floor4"] = 0,
["Deal_Floor1"] = 300,
["Deal_Floor2"] = 300,
["Deal_Floor3"] = 690,
["Deal_Floor4"] = 2357,
["Deferral_Floor1"] = 0,
["Deferral_Floor2"] = 0,
["Deferral_Floor3"] = 200,
["Deferral_Floor4"] = 200,
["Fountain_Floor1"] = 0,
["Fountain_Floor2"] = 0,
["Fountain_Floor3"] = 0,
["Fountain_Floor4"] = 0,
["Merchant_Floor1"] = 551,
["Merchant_Floor2"] = 551,
["Merchant_Floor3"] = 3,
["Merchant_Floor4"] = 3,
["RainbowFountain_Floor1"] = 2400,
["RainbowFountain_Floor2"] = 2400,
["RainbowFountain_Floor3"] = 2300,
["RainbowFountain_Floor4"] = 2300,
["Treasure_Floor1"] = 550,
["Treasure_Floor2"] = 550,
["Treasure_Floor3"] = 2,
["Treasure_Floor4"] = 2,
["TreasureMinor_Floor1"] = 300,
["TreasureMinor_Floor2"] = 300,
["TreasureMinor_Floor3"] = 1,
["TreasureMinor_Floor4"] = 1,
// Doesn't Matter
["Final"] = 99999,
},
AfflictionWeights = new()
{
// Must be above 10k to prevent 1 Divine, 20k to prevent 2 Divine
// Major
["Anomaly Attractor"] = -100,
["Chiselled Stone"] = -437,
["Corrosive Concoction"] = 0,
["Cutpurse"] = -865,
["Deadly Snare"] = -10000,
["Death Toll"] = -2306,
["Demonic Skull"] = -2306,
["Ghastly Scythe"] = -9999,
["Glass Shard"] = -865,
["Orb of Negation"] = -437,
["Unassuming Brick"] = -865,
["Veiled Sight"] = -2306,
["Accursed Prism"] = -5765,
["Black Smoke"] = -2306,
["Blunt Sword"] = -4612,
["Chains of Binding"] = 0,
["Charred Coin"] = -437,
["Concealed Anomaly"] = -100,
["Corrupted Lockpick"] = -383,
["Dark Pit"] = -6918,
["Deceptive Mirror"] = -6918,
["Door Tax"] = -437,
["Empty Trove"] = -437,
["Fiendish Wings"] = -437,
["Floor Tax"] = -437,
["Gargoyle Totem"] = 0,
["Golden Smoke"] = -865,
["Haemorrhage"] = 0,
["Honed Claws"] = 0,
["Hungry Fangs"] = 0,
["Iron Manacles"] = 0,
["Liquid Cowardice"] = -1276,
["Mark of Terror"] = 0,
["Phantom Illusion"] = 0,
["Poisoned Water"] = 0,
["Purple Smoke"] = -612,
["Rapid Quicksand"] = -437,
["Red Smoke"] = -6918,
["Rusted Coin"] = -437,
["Rusted Mallet"] = 0,
["Sharpened Arrowhead"] = 0,
["Shattered Shield"] = 0,
["Spiked Exit"] = -638,
["Spiked Shell"] = -4612,
["Spilt Purse"] = 0,
["Tattered Blindfold"] = 0,
["Tight Choker"] = -383,
["Unhallowed Amulet"] = 0,
["Unhallowed Ring"] = 0,
["Unholy Urn"] = -383,
["Unquenched Thirst"] = 0,
["Voodoo Doll"] = 0,
["Weakened Flesh"] = -612,
["Worn Sandals"] = -1224,
}
};
}
public static ProfileContent CreateDefaultProfile()
{
var profile = CreateBaseProfile();
return profile;
}
public static ProfileContent CreateNoHitProfile()
{
var profile = CreateBaseProfile();
profile.AfflictionWeights["Weakened Flesh"] = 0;
profile.AfflictionWeights["Fiendish Wings"] = -1224;
foreach (var currency in profile.CurrencyWeights.Keys)
{
if (!currency.Contains("Mirrors"))
{
profile.CurrencyWeights[currency] = 0;
}
if (currency.Contains("Divine"))
{
profile.CurrencyWeights[currency] = 2000;
}
}
return profile;
}
/** What I'm going to use for Legacy of Phrecia */
public static ProfileContent CreatePhreciaProfile()
{
var profile = CreateBaseProfile();
profile.AfflictionWeights["Weakened Flesh"] = 0;
profile.AfflictionWeights["Fiendish Wings"] = -1224;
profile.AfflictionWeights["Liquid Cowardice"] = -2557;
profile.AfflictionWeights["Honed Claws"] = -612;
foreach (var currency in profile.CurrencyWeights.Keys)
{
if (currency.Contains("Orbs of Unmaking"))
{
profile.CurrencyWeights[currency] = 0;
} else if (profile.CurrencyWeights[currency] < 120)
{
profile.CurrencyWeights[currency] = 1;
}
}
return profile;
}
}