File tree 2 files changed +14
-5
lines changed 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 68
68
"modifiers" : {
69
69
"attackDamage" : {
70
70
"uuid" : " 648D7064-6A60-4F59-8ABE-C2C23A6DD7A9" ,
71
- "modifier" : 0 ,
71
+ "modifier" : 3 ,
72
72
"operation" : " ADDITION"
73
73
}
74
74
},
191
191
"modifiers" : {
192
192
"attackDamage" : {
193
193
"uuid" : " 22653B89-116E-49DC-9B6B-9971489B5BE5" ,
194
- "modifier" : 0 ,
194
+ "modifier" : -4 ,
195
195
"operation" : " ADDITION"
196
196
}
197
197
},
236
236
"displayName" : " Absorption" ,
237
237
"type" : " good" ,
238
238
"protocolName" : " absorption" ,
239
- "modifiers" : {},
239
+ "modifiers" : {
240
+ "maxAbsorption" : {
241
+ "uuid" : " EAE29CF0-701E-4ED6-883A-96F798F3DAB5" ,
242
+ "modifier" : 4 ,
243
+ "operation" : " ADDITION"
244
+ }
245
+ },
240
246
"color" : 2445989
241
247
},
242
248
{
330
336
"type" : " neutral" ,
331
337
"protocolName" : " bad_omen" ,
332
338
"modifiers" : {},
333
- "color" : 7455580
339
+ "color" : 745784
334
340
},
335
341
{
336
342
"id" : 31 ,
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const context = {
66
66
}
67
67
}
68
68
69
- if ( versionGreaterOrEqual ( '1.20' ) ) {
69
+ if ( versionGreaterOrEqual ( '1.20.2 ' ) ) {
70
70
context . register = function ( name , effect ) {
71
71
const id = context . effects . length - 1
72
72
const prismarineName = toTitleCaseFromSnakeCase ( name )
@@ -138,6 +138,9 @@ for (let i = 0; i < context.effects.length; i++) {
138
138
if ( manualData [ fail ] ) {
139
139
console . log ( 'Using manual data for' , fail )
140
140
generatedEffects [ i ] = manualData [ fail ]
141
+ if ( versionGreaterOrEqual ( '1.20.2' ) ) {
142
+ generatedEffects [ i ] . id = i
143
+ }
141
144
} else {
142
145
throw new Error ( 'Missing manual data for ' + fail )
143
146
}
You can’t perform that action at this time.
0 commit comments