|
@@ -237,110 +237,6 @@ export class Rectangle extends test.Shape {
|
237
|
237
|
|
238
|
238
|
|
239
|
239
|
|
240
|
|
-export class SkillBuff {
|
241
|
|
-
|
242
|
|
- constructor(_buf_: ByteBuf) {
|
243
|
|
- this.idx = _buf_.ReadInt()
|
244
|
|
- this.remark = _buf_.ReadString()
|
245
|
|
- this.type = _buf_.ReadInt()
|
246
|
|
- this.parameters = _buf_.ReadString()
|
247
|
|
- this.probability = _buf_.ReadInt()
|
248
|
|
- this.triggerCondition = _buf_.ReadString()
|
249
|
|
- this.effectType = _buf_.ReadInt()
|
250
|
|
- this.duration = _buf_.ReadInt()
|
251
|
|
- this.overlapTimes = _buf_.ReadInt()
|
252
|
|
- this.uniqueGain = _buf_.ReadBool()
|
253
|
|
- this.halo = _buf_.ReadBool()
|
254
|
|
- this.attributes = _buf_.ReadString()
|
255
|
|
- this.mixBufficon = _buf_.ReadInt()
|
256
|
|
- this.skillShowId = _buf_.ReadInt()
|
257
|
|
- this.floatingTextId = _buf_.ReadInt()
|
258
|
|
- }
|
259
|
|
-
|
260
|
|
- /**
|
261
|
|
- * buffid
|
262
|
|
- */
|
263
|
|
- readonly idx: number
|
264
|
|
- /**
|
265
|
|
- * 备注
|
266
|
|
- */
|
267
|
|
- readonly remark: string
|
268
|
|
- /**
|
269
|
|
- * buff类型
|
270
|
|
- */
|
271
|
|
- readonly type: number
|
272
|
|
- /**
|
273
|
|
- * buff参数
|
274
|
|
- */
|
275
|
|
- readonly parameters: string
|
276
|
|
- /**
|
277
|
|
- * 触发概率
|
278
|
|
- */
|
279
|
|
- readonly probability: number
|
280
|
|
- /**
|
281
|
|
- * 触发条件
|
282
|
|
- */
|
283
|
|
- readonly triggerCondition: string
|
284
|
|
- /**
|
285
|
|
- * 效果类型
|
286
|
|
- */
|
287
|
|
- readonly effectType: number
|
288
|
|
- /**
|
289
|
|
- * 持续时间
|
290
|
|
- */
|
291
|
|
- readonly duration: number
|
292
|
|
- /**
|
293
|
|
- * 叠加次数
|
294
|
|
- */
|
295
|
|
- readonly overlapTimes: number
|
296
|
|
- /**
|
297
|
|
- * 唯一增益
|
298
|
|
- */
|
299
|
|
- readonly uniqueGain: boolean
|
300
|
|
- /**
|
301
|
|
- * 是否是光环
|
302
|
|
- */
|
303
|
|
- readonly halo: boolean
|
304
|
|
- /**
|
305
|
|
- * buff增加的属性
|
306
|
|
- */
|
307
|
|
- readonly attributes: string
|
308
|
|
- /**
|
309
|
|
- * 是否合并
|
310
|
|
- */
|
311
|
|
- readonly mixBufficon: number
|
312
|
|
- /**
|
313
|
|
- * 效果id
|
314
|
|
- */
|
315
|
|
- readonly skillShowId: number
|
316
|
|
- /**
|
317
|
|
- * 飘字id
|
318
|
|
- */
|
319
|
|
- readonly floatingTextId: number
|
320
|
|
-
|
321
|
|
- resolve(tables:Tables) {
|
322
|
|
-
|
323
|
|
-
|
324
|
|
-
|
325
|
|
-
|
326
|
|
-
|
327
|
|
-
|
328
|
|
-
|
329
|
|
-
|
330
|
|
-
|
331
|
|
-
|
332
|
|
-
|
333
|
|
-
|
334
|
|
-
|
335
|
|
-
|
336
|
|
-
|
337
|
|
- }
|
338
|
|
-}
|
339
|
|
-
|
340
|
|
-
|
341
|
|
-
|
342
|
|
-
|
343
|
|
-
|
344
|
240
|
export class Hero {
|
345
|
241
|
|
346
|
242
|
constructor(_buf_: ByteBuf) {
|
|
@@ -471,6 +367,110 @@ export class Skill {
|
471
|
367
|
|
472
|
368
|
|
473
|
369
|
|
|
370
|
+export class SkillBuff {
|
|
371
|
+
|
|
372
|
+ constructor(_buf_: ByteBuf) {
|
|
373
|
+ this.idx = _buf_.ReadInt()
|
|
374
|
+ this.remark = _buf_.ReadString()
|
|
375
|
+ this.type = _buf_.ReadInt()
|
|
376
|
+ this.parameters = _buf_.ReadString()
|
|
377
|
+ this.probability = _buf_.ReadInt()
|
|
378
|
+ this.triggerCondition = _buf_.ReadString()
|
|
379
|
+ this.effectType = _buf_.ReadInt()
|
|
380
|
+ this.duration = _buf_.ReadInt()
|
|
381
|
+ this.overlapTimes = _buf_.ReadInt()
|
|
382
|
+ this.uniqueGain = _buf_.ReadBool()
|
|
383
|
+ this.halo = _buf_.ReadBool()
|
|
384
|
+ this.attributes = _buf_.ReadString()
|
|
385
|
+ this.mixBufficon = _buf_.ReadInt()
|
|
386
|
+ this.skillShowId = _buf_.ReadInt()
|
|
387
|
+ this.floatingTextId = _buf_.ReadInt()
|
|
388
|
+ }
|
|
389
|
+
|
|
390
|
+ /**
|
|
391
|
+ * buffid
|
|
392
|
+ */
|
|
393
|
+ readonly idx: number
|
|
394
|
+ /**
|
|
395
|
+ * 备注
|
|
396
|
+ */
|
|
397
|
+ readonly remark: string
|
|
398
|
+ /**
|
|
399
|
+ * buff类型
|
|
400
|
+ */
|
|
401
|
+ readonly type: number
|
|
402
|
+ /**
|
|
403
|
+ * buff参数
|
|
404
|
+ */
|
|
405
|
+ readonly parameters: string
|
|
406
|
+ /**
|
|
407
|
+ * 触发概率
|
|
408
|
+ */
|
|
409
|
+ readonly probability: number
|
|
410
|
+ /**
|
|
411
|
+ * 触发条件
|
|
412
|
+ */
|
|
413
|
+ readonly triggerCondition: string
|
|
414
|
+ /**
|
|
415
|
+ * 效果类型
|
|
416
|
+ */
|
|
417
|
+ readonly effectType: number
|
|
418
|
+ /**
|
|
419
|
+ * 持续时间
|
|
420
|
+ */
|
|
421
|
+ readonly duration: number
|
|
422
|
+ /**
|
|
423
|
+ * 叠加次数
|
|
424
|
+ */
|
|
425
|
+ readonly overlapTimes: number
|
|
426
|
+ /**
|
|
427
|
+ * 唯一增益
|
|
428
|
+ */
|
|
429
|
+ readonly uniqueGain: boolean
|
|
430
|
+ /**
|
|
431
|
+ * 是否是光环
|
|
432
|
+ */
|
|
433
|
+ readonly halo: boolean
|
|
434
|
+ /**
|
|
435
|
+ * buff增加的属性
|
|
436
|
+ */
|
|
437
|
+ readonly attributes: string
|
|
438
|
+ /**
|
|
439
|
+ * 是否合并
|
|
440
|
+ */
|
|
441
|
+ readonly mixBufficon: number
|
|
442
|
+ /**
|
|
443
|
+ * 效果id
|
|
444
|
+ */
|
|
445
|
+ readonly skillShowId: number
|
|
446
|
+ /**
|
|
447
|
+ * 飘字id
|
|
448
|
+ */
|
|
449
|
+ readonly floatingTextId: number
|
|
450
|
+
|
|
451
|
+ resolve(tables:Tables) {
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+ }
|
|
468
|
+}
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
474
|
474
|
export class HeroLevel {
|
475
|
475
|
|
476
|
476
|
constructor(_buf_: ByteBuf) {
|