Skip to content

Commit 10e91e6

Browse files
committed
Fixed issue with active abilities caused by stored value refactor
1 parent e0b343d commit 10e91e6

2 files changed

Lines changed: 96 additions & 0 deletions

File tree

core/assets/abilityBehaviors/humanUnitActives.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
"type": "rawString",
2929
"value": "asbuff"
3030
},
31+
"instanceValue": {
32+
"type": "rawBoolean",
33+
"value": "false"
34+
},
3135
"valueToStore": {
3236
"type": "getLastCreatedNonStackingStatBuff"
3337
}
@@ -57,6 +61,10 @@
5761
"type": "rawString",
5862
"value": "mvbuff"
5963
},
64+
"instanceValue": {
65+
"type": "rawBoolean",
66+
"value": "false"
67+
},
6068
"valueToStore": {
6169
"type": "getLastCreatedNonStackingStatBuff"
6270
}
@@ -88,6 +96,10 @@
8896
},
8997
"buff": {
9098
"type": "getStoredNonStackingStatBuffByKey",
99+
"instanceValue": {
100+
"type": "rawBoolean",
101+
"value": "false"
102+
},
91103
"key": {
92104
"type": "rawString",
93105
"value": "mvbuff"
@@ -100,6 +112,10 @@
100112
},
101113
"buff": {
102114
"type": "getStoredNonStackingStatBuffByKey",
115+
"instanceValue": {
116+
"type": "rawBoolean",
117+
"value": "false"
118+
},
103119
"key": {
104120
"type": "rawString",
105121
"value": "asbuff"
@@ -156,6 +172,10 @@
156172
},
157173
"buff": {
158174
"type": "getStoredNonStackingStatBuffByKey",
175+
"instanceValue": {
176+
"type": "rawBoolean",
177+
"value": "false"
178+
},
159179
"key": {
160180
"type": "rawString",
161181
"value": "mvbuff"
@@ -168,6 +188,10 @@
168188
},
169189
"buff": {
170190
"type": "getStoredNonStackingStatBuffByKey",
191+
"instanceValue": {
192+
"type": "rawBoolean",
193+
"value": "false"
194+
},
171195
"key": {
172196
"type": "rawString",
173197
"value": "asbuff"
@@ -187,6 +211,10 @@
187211
"type": "updateNonStackingStatBuff",
188212
"buff": {
189213
"type": "getStoredNonStackingStatBuffByKey",
214+
"instanceValue": {
215+
"type": "rawBoolean",
216+
"value": "false"
217+
},
190218
"key": {
191219
"type": "rawString",
192220
"value": "mvbuff"
@@ -203,6 +231,10 @@
203231
"type": "updateNonStackingStatBuff",
204232
"buff": {
205233
"type": "getStoredNonStackingStatBuffByKey",
234+
"instanceValue": {
235+
"type": "rawBoolean",
236+
"value": "false"
237+
},
206238
"key": {
207239
"type": "rawString",
208240
"value": "asbuff"

core/assets/abilityBehaviors/nightElfUnitActives.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"type": "rawString",
2626
"value": "atkbuff"
2727
},
28+
"instanceValue": {
29+
"type": "rawBoolean",
30+
"value": "false"
31+
},
2832
"valueToStore": {
2933
"type": "getLastCreatedNonStackingStatBuff"
3034
}
@@ -51,6 +55,10 @@
5155
"type": "rawString",
5256
"value": "defbuff"
5357
},
58+
"instanceValue": {
59+
"type": "rawBoolean",
60+
"value": "false"
61+
},
5462
"valueToStore": {
5563
"type": "getLastCreatedNonStackingStatBuff"
5664
}
@@ -77,6 +85,10 @@
7785
"type": "rawString",
7886
"value": "hpbuff"
7987
},
88+
"instanceValue": {
89+
"type": "rawBoolean",
90+
"value": "false"
91+
},
8092
"valueToStore": {
8193
"type": "getLastCreatedNonStackingStatBuff"
8294
}
@@ -103,6 +115,10 @@
103115
"type": "rawString",
104116
"value": "mpbuff"
105117
},
118+
"instanceValue": {
119+
"type": "rawBoolean",
120+
"value": "false"
121+
},
106122
"valueToStore": {
107123
"type": "getLastCreatedNonStackingStatBuff"
108124
}
@@ -136,6 +152,10 @@
136152
},
137153
"buff": {
138154
"type": "getStoredNonStackingStatBuffByKey",
155+
"instanceValue": {
156+
"type": "rawBoolean",
157+
"value": "false"
158+
},
139159
"key": {
140160
"type": "rawString",
141161
"value": "atkbuff"
@@ -148,6 +168,10 @@
148168
},
149169
"buff": {
150170
"type": "getStoredNonStackingStatBuffByKey",
171+
"instanceValue": {
172+
"type": "rawBoolean",
173+
"value": "false"
174+
},
151175
"key": {
152176
"type": "rawString",
153177
"value": "defbuff"
@@ -160,6 +184,10 @@
160184
},
161185
"buff": {
162186
"type": "getStoredNonStackingStatBuffByKey",
187+
"instanceValue": {
188+
"type": "rawBoolean",
189+
"value": "false"
190+
},
163191
"key": {
164192
"type": "rawString",
165193
"value": "hpbuff"
@@ -172,6 +200,10 @@
172200
},
173201
"buff": {
174202
"type": "getStoredNonStackingStatBuffByKey",
203+
"instanceValue": {
204+
"type": "rawBoolean",
205+
"value": "false"
206+
},
175207
"key": {
176208
"type": "rawString",
177209
"value": "mpbuff"
@@ -228,6 +260,10 @@
228260
},
229261
"buff": {
230262
"type": "getStoredNonStackingStatBuffByKey",
263+
"instanceValue": {
264+
"type": "rawBoolean",
265+
"value": "false"
266+
},
231267
"key": {
232268
"type": "rawString",
233269
"value": "atkbuff"
@@ -240,6 +276,10 @@
240276
},
241277
"buff": {
242278
"type": "getStoredNonStackingStatBuffByKey",
279+
"instanceValue": {
280+
"type": "rawBoolean",
281+
"value": "false"
282+
},
243283
"key": {
244284
"type": "rawString",
245285
"value": "defbuff"
@@ -252,6 +292,10 @@
252292
},
253293
"buff": {
254294
"type": "getStoredNonStackingStatBuffByKey",
295+
"instanceValue": {
296+
"type": "rawBoolean",
297+
"value": "false"
298+
},
255299
"key": {
256300
"type": "rawString",
257301
"value": "hpbuff"
@@ -264,6 +308,10 @@
264308
},
265309
"buff": {
266310
"type": "getStoredNonStackingStatBuffByKey",
311+
"instanceValue": {
312+
"type": "rawBoolean",
313+
"value": "false"
314+
},
267315
"key": {
268316
"type": "rawString",
269317
"value": "mpbuff"
@@ -290,6 +338,10 @@
290338
"type": "updateNonStackingStatBuff",
291339
"buff": {
292340
"type": "getStoredNonStackingStatBuffByKey",
341+
"instanceValue": {
342+
"type": "rawBoolean",
343+
"value": "false"
344+
},
293345
"key": {
294346
"type": "rawString",
295347
"value": "atkbuff"
@@ -306,6 +358,10 @@
306358
"type": "updateNonStackingStatBuff",
307359
"buff": {
308360
"type": "getStoredNonStackingStatBuffByKey",
361+
"instanceValue": {
362+
"type": "rawBoolean",
363+
"value": "false"
364+
},
309365
"key": {
310366
"type": "rawString",
311367
"value": "defbuff"
@@ -322,6 +378,10 @@
322378
"type": "updateNonStackingStatBuff",
323379
"buff": {
324380
"type": "getStoredNonStackingStatBuffByKey",
381+
"instanceValue": {
382+
"type": "rawBoolean",
383+
"value": "false"
384+
},
325385
"key": {
326386
"type": "rawString",
327387
"value": "hpbuff"
@@ -338,6 +398,10 @@
338398
"type": "updateNonStackingStatBuff",
339399
"buff": {
340400
"type": "getStoredNonStackingStatBuffByKey",
401+
"instanceValue": {
402+
"type": "rawBoolean",
403+
"value": "false"
404+
},
341405
"key": {
342406
"type": "rawString",
343407
"value": "mpbuff"

0 commit comments

Comments
 (0)