|
@@ -289,6 +289,98 @@ export class Cost {
|
289
|
289
|
|
290
|
290
|
|
291
|
291
|
|
|
292
|
+export class Skill {
|
|
293
|
+
|
|
294
|
+ constructor(_buf_: ByteBuf) {
|
|
295
|
+ this.idx = _buf_.ReadInt()
|
|
296
|
+ this.remark = _buf_.ReadString()
|
|
297
|
+ this.skillId = _buf_.ReadInt()
|
|
298
|
+ this.skillType = _buf_.ReadInt()
|
|
299
|
+ this.cd = _buf_.ReadInt()
|
|
300
|
+ this.gridRange = _buf_.ReadInt()
|
|
301
|
+ this.range = _buf_.ReadInt()
|
|
302
|
+ this.triggerCondition = _buf_.ReadString()
|
|
303
|
+ this.effects = _buf_.ReadString()
|
|
304
|
+ this.buffId = _buf_.ReadString()
|
|
305
|
+ this.skillName = _buf_.ReadString()
|
|
306
|
+ this.desc = _buf_.ReadString()
|
|
307
|
+ this.conflictSkillId = _buf_.ReadInt()
|
|
308
|
+ }
|
|
309
|
+
|
|
310
|
+ /**
|
|
311
|
+ * 主键id
|
|
312
|
+ */
|
|
313
|
+ readonly idx: number
|
|
314
|
+ /**
|
|
315
|
+ * 备注
|
|
316
|
+ */
|
|
317
|
+ readonly remark: string
|
|
318
|
+ /**
|
|
319
|
+ * 技能ID
|
|
320
|
+ */
|
|
321
|
+ readonly skillId: number
|
|
322
|
+ /**
|
|
323
|
+ * 类型
|
|
324
|
+ */
|
|
325
|
+ readonly skillType: number
|
|
326
|
+ /**
|
|
327
|
+ * 冷却时间
|
|
328
|
+ */
|
|
329
|
+ readonly cd: number
|
|
330
|
+ /**
|
|
331
|
+ * 格子范围
|
|
332
|
+ */
|
|
333
|
+ readonly gridRange: number
|
|
334
|
+ /**
|
|
335
|
+ * 攻击距离
|
|
336
|
+ */
|
|
337
|
+ readonly range: number
|
|
338
|
+ /**
|
|
339
|
+ * 技能触发条件
|
|
340
|
+ */
|
|
341
|
+ readonly triggerCondition: string
|
|
342
|
+ /**
|
|
343
|
+ * 效果列表
|
|
344
|
+ */
|
|
345
|
+ readonly effects: string
|
|
346
|
+ /**
|
|
347
|
+ * buff
|
|
348
|
+ */
|
|
349
|
+ readonly buffId: string
|
|
350
|
+ /**
|
|
351
|
+ * 技能名字
|
|
352
|
+ */
|
|
353
|
+ readonly skillName: string
|
|
354
|
+ /**
|
|
355
|
+ * 技能描述
|
|
356
|
+ */
|
|
357
|
+ readonly desc: string
|
|
358
|
+ /**
|
|
359
|
+ * 冲突的技能id
|
|
360
|
+ */
|
|
361
|
+ readonly conflictSkillId: number
|
|
362
|
+
|
|
363
|
+ resolve(tables:Tables) {
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+ }
|
|
378
|
+}
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
292
|
384
|
export class System {
|
293
|
385
|
|
294
|
386
|
constructor(_buf_: ByteBuf) {
|
|
@@ -321,12 +413,13 @@ export class System {
|
321
|
413
|
|
322
|
414
|
|
323
|
415
|
|
324
|
|
-export class BattleSummonWeight {
|
|
416
|
+export class BattleSpacialSummon {
|
325
|
417
|
|
326
|
418
|
constructor(_buf_: ByteBuf) {
|
327
|
419
|
this.idx = _buf_.ReadInt()
|
328
|
420
|
this.quality = _buf_.ReadInt()
|
329
|
421
|
this.weight = _buf_.ReadInt()
|
|
422
|
+ this.costgem = _buf_.ReadInt()
|
330
|
423
|
}
|
331
|
424
|
|
332
|
425
|
/**
|
|
@@ -341,11 +434,16 @@ export class BattleSummonWeight {
|
341
|
434
|
* 权重
|
342
|
435
|
*/
|
343
|
436
|
readonly weight: number
|
|
437
|
+ /**
|
|
438
|
+ * 消耗宝石数量
|
|
439
|
+ */
|
|
440
|
+ readonly costgem: number
|
344
|
441
|
|
345
|
442
|
resolve(tables:Tables) {
|
346
|
443
|
|
347
|
444
|
|
348
|
445
|
|
|
446
|
+
|
349
|
447
|
}
|
350
|
448
|
}
|
351
|
449
|
|
|
@@ -397,103 +495,37 @@ export class WaveRewards {
|
397
|
495
|
|
398
|
496
|
|
399
|
497
|
|
400
|
|
-export class SkillBuff {
|
|
498
|
+export class HeroQualityWorth {
|
401
|
499
|
|
402
|
500
|
constructor(_buf_: ByteBuf) {
|
403
|
501
|
this.idx = _buf_.ReadInt()
|
404
|
|
- this.remark = _buf_.ReadString()
|
405
|
|
- this.type = _buf_.ReadInt()
|
406
|
|
- this.parameters = _buf_.ReadString()
|
407
|
|
- this.probability = _buf_.ReadInt()
|
408
|
|
- this.triggerCondition = _buf_.ReadString()
|
409
|
|
- this.effectType = _buf_.ReadInt()
|
410
|
|
- this.duration = _buf_.ReadInt()
|
411
|
|
- this.overlapTimes = _buf_.ReadInt()
|
412
|
|
- this.uniqueGain = _buf_.ReadBool()
|
413
|
|
- this.halo = _buf_.ReadBool()
|
414
|
|
- this.attributes = _buf_.ReadString()
|
415
|
|
- this.mixBufficon = _buf_.ReadInt()
|
416
|
|
- this.skillShowId = _buf_.ReadInt()
|
417
|
|
- this.floatingTextId = _buf_.ReadInt()
|
|
502
|
+ this.quality = _buf_.ReadInt()
|
|
503
|
+ this.gold = _buf_.ReadInt()
|
|
504
|
+ this.gem = _buf_.ReadInt()
|
418
|
505
|
}
|
419
|
506
|
|
420
|
507
|
/**
|
421
|
|
- * buffid
|
|
508
|
+ * 唯一id
|
422
|
509
|
*/
|
423
|
510
|
readonly idx: number
|
424
|
511
|
/**
|
425
|
|
- * 备注
|
426
|
|
- */
|
427
|
|
- readonly remark: string
|
428
|
|
- /**
|
429
|
|
- * buff类型
|
430
|
|
- */
|
431
|
|
- readonly type: number
|
432
|
|
- /**
|
433
|
|
- * buff参数
|
434
|
|
- */
|
435
|
|
- readonly parameters: string
|
436
|
|
- /**
|
437
|
|
- * 触发概率
|
438
|
|
- */
|
439
|
|
- readonly probability: number
|
440
|
|
- /**
|
441
|
|
- * 触发条件
|
442
|
|
- */
|
443
|
|
- readonly triggerCondition: string
|
444
|
|
- /**
|
445
|
|
- * 效果类型
|
446
|
|
- */
|
447
|
|
- readonly effectType: number
|
448
|
|
- /**
|
449
|
|
- * 持续时间
|
450
|
|
- */
|
451
|
|
- readonly duration: number
|
452
|
|
- /**
|
453
|
|
- * 叠加次数
|
454
|
|
- */
|
455
|
|
- readonly overlapTimes: number
|
456
|
|
- /**
|
457
|
|
- * 唯一增益
|
458
|
|
- */
|
459
|
|
- readonly uniqueGain: boolean
|
460
|
|
- /**
|
461
|
|
- * 是否是光环
|
462
|
|
- */
|
463
|
|
- readonly halo: boolean
|
464
|
|
- /**
|
465
|
|
- * buff增加的属性
|
466
|
|
- */
|
467
|
|
- readonly attributes: string
|
468
|
|
- /**
|
469
|
|
- * 是否合并
|
|
512
|
+ * 品质
|
470
|
513
|
*/
|
471
|
|
- readonly mixBufficon: number
|
|
514
|
+ readonly quality: Quality
|
472
|
515
|
/**
|
473
|
|
- * 效果id
|
|
516
|
+ * 局内金币
|
474
|
517
|
*/
|
475
|
|
- readonly skillShowId: number
|
|
518
|
+ readonly gold: number
|
476
|
519
|
/**
|
477
|
|
- * 飘字id
|
|
520
|
+ * 局内宝石
|
478
|
521
|
*/
|
479
|
|
- readonly floatingTextId: number
|
|
522
|
+ readonly gem: number
|
480
|
523
|
|
481
|
524
|
resolve(tables:Tables) {
|
482
|
525
|
|
483
|
526
|
|
484
|
527
|
|
485
|
528
|
|
486
|
|
-
|
487
|
|
-
|
488
|
|
-
|
489
|
|
-
|
490
|
|
-
|
491
|
|
-
|
492
|
|
-
|
493
|
|
-
|
494
|
|
-
|
495
|
|
-
|
496
|
|
-
|
497
|
529
|
}
|
498
|
530
|
}
|
499
|
531
|
|
|
@@ -501,13 +533,12 @@ export class SkillBuff {
|
501
|
533
|
|
502
|
534
|
|
503
|
535
|
|
504
|
|
-export class HeroQualityWorth {
|
|
536
|
+export class BattleSummonWeight {
|
505
|
537
|
|
506
|
538
|
constructor(_buf_: ByteBuf) {
|
507
|
539
|
this.idx = _buf_.ReadInt()
|
508
|
540
|
this.quality = _buf_.ReadInt()
|
509
|
|
- this.gold = _buf_.ReadInt()
|
510
|
|
- this.gem = _buf_.ReadInt()
|
|
541
|
+ this.weight = _buf_.ReadInt()
|
511
|
542
|
}
|
512
|
543
|
|
513
|
544
|
/**
|
|
@@ -519,19 +550,14 @@ export class HeroQualityWorth {
|
519
|
550
|
*/
|
520
|
551
|
readonly quality: Quality
|
521
|
552
|
/**
|
522
|
|
- * 局内金币
|
523
|
|
- */
|
524
|
|
- readonly gold: number
|
525
|
|
- /**
|
526
|
|
- * 局内宝石
|
|
553
|
+ * 权重
|
527
|
554
|
*/
|
528
|
|
- readonly gem: number
|
|
555
|
+ readonly weight: number
|
529
|
556
|
|
530
|
557
|
resolve(tables:Tables) {
|
531
|
558
|
|
532
|
559
|
|
533
|
560
|
|
534
|
|
-
|
535
|
561
|
}
|
536
|
562
|
}
|
537
|
563
|
|
|
@@ -571,44 +597,6 @@ export class Item {
|
571
|
597
|
|
572
|
598
|
|
573
|
599
|
|
574
|
|
-export class BattleSpacialSummon {
|
575
|
|
-
|
576
|
|
- constructor(_buf_: ByteBuf) {
|
577
|
|
- this.idx = _buf_.ReadInt()
|
578
|
|
- this.quality = _buf_.ReadInt()
|
579
|
|
- this.weight = _buf_.ReadInt()
|
580
|
|
- this.costgem = _buf_.ReadInt()
|
581
|
|
- }
|
582
|
|
-
|
583
|
|
- /**
|
584
|
|
- * 唯一id
|
585
|
|
- */
|
586
|
|
- readonly idx: number
|
587
|
|
- /**
|
588
|
|
- * 品质
|
589
|
|
- */
|
590
|
|
- readonly quality: Quality
|
591
|
|
- /**
|
592
|
|
- * 权重
|
593
|
|
- */
|
594
|
|
- readonly weight: number
|
595
|
|
- /**
|
596
|
|
- * 消耗宝石数量
|
597
|
|
- */
|
598
|
|
- readonly costgem: number
|
599
|
|
-
|
600
|
|
- resolve(tables:Tables) {
|
601
|
|
-
|
602
|
|
-
|
603
|
|
-
|
604
|
|
-
|
605
|
|
- }
|
606
|
|
-}
|
607
|
|
-
|
608
|
|
-
|
609
|
|
-
|
610
|
|
-
|
611
|
|
-
|
612
|
600
|
export class Hero {
|
613
|
601
|
|
614
|
602
|
constructor(_buf_: ByteBuf) {
|
|
@@ -665,26 +653,28 @@ export class Hero {
|
665
|
653
|
|
666
|
654
|
|
667
|
655
|
|
668
|
|
-export class Skill {
|
|
656
|
+export class SkillBuff {
|
669
|
657
|
|
670
|
658
|
constructor(_buf_: ByteBuf) {
|
671
|
659
|
this.idx = _buf_.ReadInt()
|
672
|
660
|
this.remark = _buf_.ReadString()
|
673
|
|
- this.skillId = _buf_.ReadInt()
|
674
|
|
- this.skillType = _buf_.ReadInt()
|
675
|
|
- this.cd = _buf_.ReadInt()
|
676
|
|
- this.gridRange = _buf_.ReadInt()
|
677
|
|
- this.range = _buf_.ReadInt()
|
|
661
|
+ this.type = _buf_.ReadInt()
|
|
662
|
+ this.parameters = _buf_.ReadString()
|
|
663
|
+ this.probability = _buf_.ReadInt()
|
678
|
664
|
this.triggerCondition = _buf_.ReadString()
|
679
|
|
- this.effects = _buf_.ReadString()
|
680
|
|
- this.buffId = _buf_.ReadString()
|
681
|
|
- this.skillName = _buf_.ReadString()
|
682
|
|
- this.desc = _buf_.ReadString()
|
683
|
|
- this.conflictSkillId = _buf_.ReadInt()
|
|
665
|
+ this.effectType = _buf_.ReadInt()
|
|
666
|
+ this.duration = _buf_.ReadInt()
|
|
667
|
+ this.overlapTimes = _buf_.ReadInt()
|
|
668
|
+ this.uniqueGain = _buf_.ReadBool()
|
|
669
|
+ this.halo = _buf_.ReadBool()
|
|
670
|
+ this.attributes = _buf_.ReadString()
|
|
671
|
+ this.mixBufficon = _buf_.ReadInt()
|
|
672
|
+ this.skillShowId = _buf_.ReadInt()
|
|
673
|
+ this.floatingTextId = _buf_.ReadInt()
|
684
|
674
|
}
|
685
|
675
|
|
686
|
676
|
/**
|
687
|
|
- * 主键id
|
|
677
|
+ * buffid
|
688
|
678
|
*/
|
689
|
679
|
readonly idx: number
|
690
|
680
|
/**
|
|
@@ -692,49 +682,57 @@ export class Skill {
|
692
|
682
|
*/
|
693
|
683
|
readonly remark: string
|
694
|
684
|
/**
|
695
|
|
- * 技能ID
|
|
685
|
+ * buff类型
|
696
|
686
|
*/
|
697
|
|
- readonly skillId: number
|
|
687
|
+ readonly type: number
|
698
|
688
|
/**
|
699
|
|
- * 类型
|
|
689
|
+ * buff参数
|
700
|
690
|
*/
|
701
|
|
- readonly skillType: number
|
|
691
|
+ readonly parameters: string
|
702
|
692
|
/**
|
703
|
|
- * 冷却时间
|
|
693
|
+ * 触发概率
|
704
|
694
|
*/
|
705
|
|
- readonly cd: number
|
|
695
|
+ readonly probability: number
|
706
|
696
|
/**
|
707
|
|
- * 格子范围
|
|
697
|
+ * 触发条件
|
708
|
698
|
*/
|
709
|
|
- readonly gridRange: number
|
|
699
|
+ readonly triggerCondition: string
|
710
|
700
|
/**
|
711
|
|
- * 攻击距离
|
|
701
|
+ * 效果类型
|
712
|
702
|
*/
|
713
|
|
- readonly range: number
|
|
703
|
+ readonly effectType: number
|
714
|
704
|
/**
|
715
|
|
- * 技能触发条件
|
|
705
|
+ * 持续时间
|
716
|
706
|
*/
|
717
|
|
- readonly triggerCondition: string
|
|
707
|
+ readonly duration: number
|
718
|
708
|
/**
|
719
|
|
- * 效果列表
|
|
709
|
+ * 叠加次数
|
720
|
710
|
*/
|
721
|
|
- readonly effects: string
|
|
711
|
+ readonly overlapTimes: number
|
722
|
712
|
/**
|
723
|
|
- * buff
|
|
713
|
+ * 唯一增益
|
724
|
714
|
*/
|
725
|
|
- readonly buffId: string
|
|
715
|
+ readonly uniqueGain: boolean
|
726
|
716
|
/**
|
727
|
|
- * 技能名字
|
|
717
|
+ * 是否是光环
|
728
|
718
|
*/
|
729
|
|
- readonly skillName: string
|
|
719
|
+ readonly halo: boolean
|
730
|
720
|
/**
|
731
|
|
- * 技能描述
|
|
721
|
+ * buff增加的属性
|
732
|
722
|
*/
|
733
|
|
- readonly desc: string
|
|
723
|
+ readonly attributes: string
|
734
|
724
|
/**
|
735
|
|
- * 冲突的技能id
|
|
725
|
+ * 是否合并
|
736
|
726
|
*/
|
737
|
|
- readonly conflictSkillId: number
|
|
727
|
+ readonly mixBufficon: number
|
|
728
|
+ /**
|
|
729
|
+ * 效果id
|
|
730
|
+ */
|
|
731
|
+ readonly skillShowId: number
|
|
732
|
+ /**
|
|
733
|
+ * 飘字id
|
|
734
|
+ */
|
|
735
|
+ readonly floatingTextId: number
|
738
|
736
|
|
739
|
737
|
resolve(tables:Tables) {
|
740
|
738
|
|
|
@@ -750,6 +748,8 @@ export class Skill {
|
750
|
748
|
|
751
|
749
|
|
752
|
750
|
|
|
751
|
+
|
|
752
|
+
|
753
|
753
|
}
|
754
|
754
|
}
|
755
|
755
|
|