-
Notifications
You must be signed in to change notification settings - Fork 0
/
modWork.txt
162 lines (108 loc) · 2.97 KB
/
modWork.txt
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
/*
Overall:
- for each mod roll all the other mods against it - this is to account for odd combinations
of prefix and suffix
- each of these "rolls" as a group is added to the potential roll list
*/
When I show the template I need to know how many roll combinations I have and cycle between them all.
0: "43% increased Armour and Energy Shield"
1: "+75 to maximum Life"
2: "44% increased Rarity of Items found"
3: "+35% to Fire Resistance"
4: "15% increased Block and Stun Recovery"
// What we should be able to get to..
"Straight Rolls"
1: "+75 to maximum Life"
3: "+35% to Fire Resistance"
Rolls:
+75 to maximum Life
Prefix lvl 44 : 75
+35% to Fire Resistance
Suffix lvl 48 : 35
"Dual Prefix/Suffix Roll" - When mod.possibleAffixes > 1
2: "44% increased Rarity of Items found"
Min/Maxing
Rolls:
Prefix lvl 39 : 18
(max) Suffix lvl 75 : 26
(max) Prefix lvl 62 : 24
Suffix lvl 53 : 20
Max/Max (ie. This means a user could divine)
Rolls:
(max) Suffix lvl 75 : 21 (low bound 21 - upper 26)
(max) Prefix lvl 62 : 23 (low bound 19 - upper 24)
"Hybrid Roll" - When mod.nameLookup > 1
0: "43% increased Armour and Energy Shield"
4: "15% increased Block and Stun Recovery"
Hyrid Roll:
Prefix lvl 60 : 43 / 15
No Change Affixes (count hybrids + straight rolls):
Prefix: 2
Suffix: 1
Cycle Dual Affix Rolls (for now this determines the possible ones):
Prefix : 1
Suffix : 1
/*
Base Item Found Rarity
Item Level 75
PREFIX
Name Level Value
Magpie's 20 8 to 12
Pirate's 39 13 to 18
Dragon's 62 19 to 24
Name Level Value
of Plunder 3 6 to 10
of Raiding 30 11 to 14
of Archaeology 53 15 to 20
of Excavation 75 21 to 26
*/
// Procedure when an item can be a suffix OR a prefix
// 1. Delay this mod until the end
//
// We rolled 44% - decide what the possible rolls are between these...
// Item level 75
// Discovered Roll:
(Suffix Discovery)
Roll:
Prefix lvl 39 : 18
Suffix lvl 75 : 26 (max)
Roll:
Prefix lvl 62 : 24
Suffix lvl 53 : 20
(Prefix Discovery)
Roll:
Suffix lvl 75 : 26
Prefix lvl 39 : 18
Roll:
Suffix lvl 53 : 20
Prefix lvl 62 : 24
Roll:
Suffix lvl 30 : 14
Prefix Impossible
Discovery yielded the same possible rolls via going through prefix first or suffix.
Min/Maxing
Rolls:
Prefix lvl 39 : 18
(max) Suffix lvl 75 : 26
(max) Prefix lvl 62 : 24
Suffix lvl 53 : 20
Can we try and maximize lvls between both (ie. This means a user could divine)
Rolls:
(max) Suffix lvl 75 : 21 (low bound 21 - upper 26)
(max) Prefix lvl 62 : 23 (low bound 19 - upper 24)
Prefix: 2
Suffix: 1
Roll One:
Prefix lvl 20 : 12
Remainder is 44 - 12 = 32
Can a suffix roll for 32?
No. Roll One not possible.
Roll Two:
Prefix lvl 39 : 18
Remainder = 26
Can a suffix roll for 26?
Yes.
Roll:
Prefix lvl 39 : 18
Suffix lvl 75 : 26 (max)
Continue...