diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 84a5c739..709bb710 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -22,26 +22,26 @@ "__id__": 2 }, { - "__id__": 649 + "__id__": 653 }, { - "__id__": 697 + "__id__": 701 } ], "_active": true, "_components": [ - { - "__id__": 905 - }, - { - "__id__": 907 - }, { "__id__": 909 + }, + { + "__id__": 911 + }, + { + "__id__": 913 } ], "_prefab": { - "__id__": 911 + "__id__": 915 }, "_lpos": { "__type__": "cc.Vec3", @@ -113,10 +113,16 @@ }, { "__id__": 646 + }, + { + "__id__": 648 + }, + { + "__id__": 650 } ], "_prefab": { - "__id__": 648 + "__id__": 652 }, "_lpos": { "__type__": "cc.Vec3", @@ -14018,6 +14024,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "83A/et+x1ItrwtqTgPyg8J" }, + { + "__type__": "0e186v7IoJEnZ9QdXVZry2W", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 649 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "378Hnx3W5ClbCsbqOcc658" + }, + { + "__type__": "032d6I9ON5BF53LaOx18ST1", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 651 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a1CK5uLEdCcbq4grojkxGU" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -14041,23 +14083,23 @@ }, "_children": [ { - "__id__": 650 + "__id__": 654 } ], "_active": false, "_components": [ - { - "__id__": 690 - }, - { - "__id__": 692 - }, { "__id__": 694 + }, + { + "__id__": 696 + }, + { + "__id__": 698 } ], "_prefab": { - "__id__": 696 + "__id__": 700 }, "_lpos": { "__type__": "cc.Vec3", @@ -14094,24 +14136,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 649 + "__id__": 653 }, "_children": [ { - "__id__": 651 + "__id__": 655 } ], "_active": true, "_components": [ { - "__id__": 685 + "__id__": 689 }, { - "__id__": 687 + "__id__": 691 } ], "_prefab": { - "__id__": 689 + "__id__": 693 }, "_lpos": { "__type__": "cc.Vec3", @@ -14148,33 +14190,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 650 + "__id__": 654 }, "_children": [ { - "__id__": 652 + "__id__": 656 }, { - "__id__": 658 + "__id__": 662 }, { - "__id__": 667 + "__id__": 671 }, { - "__id__": 673 + "__id__": 677 } ], "_active": true, "_components": [ { - "__id__": 679 + "__id__": 683 }, { - "__id__": 681 + "__id__": 685 } ], "_prefab": { - "__id__": 684 + "__id__": 688 }, "_lpos": { "__type__": "cc.Vec3", @@ -14211,20 +14253,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 651 + "__id__": 655 }, "_children": [], "_active": true, "_components": [ { - "__id__": 653 + "__id__": 657 }, { - "__id__": 655 + "__id__": 659 } ], "_prefab": { - "__id__": 657 + "__id__": 661 }, "_lpos": { "__type__": "cc.Vec3", @@ -14261,11 +14303,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 652 + "__id__": 656 }, "_enabled": true, "__prefab": { - "__id__": 654 + "__id__": 658 }, "_contentSize": { "__type__": "cc.Size", @@ -14289,11 +14331,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 652 + "__id__": 656 }, "_enabled": true, "__prefab": { - "__id__": 656 + "__id__": 660 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -14345,17 +14387,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 651 + "__id__": 655 }, "_prefab": { - "__id__": 659 + "__id__": 663 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 658 + "__id__": 662 }, "asset": { "__uuid__": "915a4408-90ea-4c30-9974-05d96c0c27f1", @@ -14363,7 +14405,7 @@ }, "fileId": "c46/YsCPVOJYA4mWEpNYRx", "instance": { - "__id__": 660 + "__id__": 664 }, "targetOverrides": null }, @@ -14376,20 +14418,20 @@ "mountedChildren": [], "mountedComponents": [], "propertyOverrides": [ - { - "__id__": 661 - }, - { - "__id__": 663 - }, - { - "__id__": 664 - }, { "__id__": 665 }, { - "__id__": 666 + "__id__": 667 + }, + { + "__id__": 668 + }, + { + "__id__": 669 + }, + { + "__id__": 670 } ], "removedComponents": [] @@ -14397,7 +14439,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 662 + "__id__": 666 }, "propertyPath": [ "_name" @@ -14413,7 +14455,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 662 + "__id__": 666 }, "propertyPath": [ "_lpos" @@ -14428,7 +14470,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 662 + "__id__": 666 }, "propertyPath": [ "_lrot" @@ -14444,7 +14486,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 662 + "__id__": 666 }, "propertyPath": [ "_euler" @@ -14459,7 +14501,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 662 + "__id__": 666 }, "propertyPath": [ "_active" @@ -14472,20 +14514,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 651 + "__id__": 655 }, "_children": [], "_active": true, "_components": [ { - "__id__": 668 + "__id__": 672 }, { - "__id__": 670 + "__id__": 674 } ], "_prefab": { - "__id__": 672 + "__id__": 676 }, "_lpos": { "__type__": "cc.Vec3", @@ -14522,11 +14564,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 667 + "__id__": 671 }, "_enabled": true, "__prefab": { - "__id__": 669 + "__id__": 673 }, "_contentSize": { "__type__": "cc.Size", @@ -14550,11 +14592,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 667 + "__id__": 671 }, "_enabled": true, "__prefab": { - "__id__": 671 + "__id__": 675 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -14608,20 +14650,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 651 + "__id__": 655 }, "_children": [], "_active": true, "_components": [ { - "__id__": 674 + "__id__": 678 }, { - "__id__": 676 + "__id__": 680 } ], "_prefab": { - "__id__": 678 + "__id__": 682 }, "_lpos": { "__type__": "cc.Vec3", @@ -14658,11 +14700,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 673 + "__id__": 677 }, "_enabled": true, "__prefab": { - "__id__": 675 + "__id__": 679 }, "_contentSize": { "__type__": "cc.Size", @@ -14686,11 +14728,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 673 + "__id__": 677 }, "_enabled": true, "__prefab": { - "__id__": 677 + "__id__": 681 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -14767,11 +14809,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 651 + "__id__": 655 }, "_enabled": true, "__prefab": { - "__id__": 680 + "__id__": 684 }, "_contentSize": { "__type__": "cc.Size", @@ -14795,15 +14837,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 651 + "__id__": 655 }, "_enabled": true, "__prefab": { - "__id__": 682 + "__id__": 686 }, "clickEvents": [ { - "__id__": 683 + "__id__": 687 } ], "_interactable": true, @@ -14843,7 +14885,7 @@ "_duration": 0.1, "_zoomScale": 0.8, "_target": { - "__id__": 651 + "__id__": 655 }, "_id": "" }, @@ -14854,7 +14896,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 653 }, "component": "", "_componentId": "11498TbVJpO6qmZ8m9k55Zx", @@ -14880,11 +14922,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 650 + "__id__": 654 }, "_enabled": true, "__prefab": { - "__id__": 686 + "__id__": 690 }, "_contentSize": { "__type__": "cc.Size", @@ -14908,11 +14950,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 650 + "__id__": 654 }, "_enabled": false, "__prefab": { - "__id__": 688 + "__id__": 692 }, "_resizeMode": 0, "_layoutType": 0, @@ -14959,11 +15001,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 649 + "__id__": 653 }, "_enabled": true, "__prefab": { - "__id__": 691 + "__id__": 695 }, "_contentSize": { "__type__": "cc.Size", @@ -14987,11 +15029,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 649 + "__id__": 653 }, "_enabled": true, "__prefab": { - "__id__": 693 + "__id__": 697 }, "_alignFlags": 20, "_target": null, @@ -15023,11 +15065,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 649 + "__id__": 653 }, "_enabled": true, "__prefab": { - "__id__": 695 + "__id__": 699 }, "_id": "" }, @@ -15058,35 +15100,35 @@ }, "_children": [ { - "__id__": 698 + "__id__": 702 }, { - "__id__": 738 + "__id__": 742 }, { - "__id__": 778 + "__id__": 782 }, { - "__id__": 818 + "__id__": 822 }, { - "__id__": 858 + "__id__": 862 } ], "_active": true, "_components": [ - { - "__id__": 898 - }, - { - "__id__": 900 - }, { "__id__": 902 + }, + { + "__id__": 904 + }, + { + "__id__": 906 } ], "_prefab": { - "__id__": 904 + "__id__": 908 }, "_lpos": { "__type__": "cc.Vec3", @@ -15123,33 +15165,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 697 + "__id__": 701 }, "_children": [ { - "__id__": 699 + "__id__": 703 }, { - "__id__": 705 + "__id__": 709 }, { - "__id__": 711 + "__id__": 715 }, { - "__id__": 721 + "__id__": 725 } ], "_active": true, "_components": [ { - "__id__": 733 + "__id__": 737 }, { - "__id__": 735 + "__id__": 739 } ], "_prefab": { - "__id__": 737 + "__id__": 741 }, "_lpos": { "__type__": "cc.Vec3", @@ -15186,20 +15228,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 698 + "__id__": 702 }, "_children": [], "_active": true, "_components": [ { - "__id__": 700 + "__id__": 704 }, { - "__id__": 702 + "__id__": 706 } ], "_prefab": { - "__id__": 704 + "__id__": 708 }, "_lpos": { "__type__": "cc.Vec3", @@ -15236,11 +15278,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 699 + "__id__": 703 }, "_enabled": true, "__prefab": { - "__id__": 701 + "__id__": 705 }, "_contentSize": { "__type__": "cc.Size", @@ -15264,11 +15306,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 699 + "__id__": 703 }, "_enabled": true, "__prefab": { - "__id__": 703 + "__id__": 707 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15322,20 +15364,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 698 + "__id__": 702 }, "_children": [], "_active": true, "_components": [ { - "__id__": 706 + "__id__": 710 }, { - "__id__": 708 + "__id__": 712 } ], "_prefab": { - "__id__": 710 + "__id__": 714 }, "_lpos": { "__type__": "cc.Vec3", @@ -15372,11 +15414,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 705 + "__id__": 709 }, "_enabled": true, "__prefab": { - "__id__": 707 + "__id__": 711 }, "_contentSize": { "__type__": "cc.Size", @@ -15400,11 +15442,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 705 + "__id__": 709 }, "_enabled": true, "__prefab": { - "__id__": 709 + "__id__": 713 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15458,26 +15500,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 698 + "__id__": 702 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 712 - }, - { - "__id__": 714 - }, { "__id__": 716 }, { "__id__": 718 + }, + { + "__id__": 720 + }, + { + "__id__": 722 } ], "_prefab": { - "__id__": 720 + "__id__": 724 }, "_lpos": { "__type__": "cc.Vec3", @@ -15514,11 +15556,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 711 + "__id__": 715 }, "_enabled": true, "__prefab": { - "__id__": 713 + "__id__": 717 }, "_contentSize": { "__type__": "cc.Size", @@ -15542,11 +15584,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 711 + "__id__": 715 }, "_enabled": true, "__prefab": { - "__id__": 715 + "__id__": 719 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15610,11 +15652,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 711 + "__id__": 715 }, "_enabled": true, "__prefab": { - "__id__": 717 + "__id__": 721 }, "_id": "" }, @@ -15628,11 +15670,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 711 + "__id__": 715 }, "_enabled": true, "__prefab": { - "__id__": 719 + "__id__": 723 }, "templateMode": true, "watchPath": "data.role.gold", @@ -15665,24 +15707,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 698 + "__id__": 702 }, "_children": [ { - "__id__": 722 + "__id__": 726 } ], "_active": false, "_components": [ { - "__id__": 728 + "__id__": 732 }, { - "__id__": 730 + "__id__": 734 } ], "_prefab": { - "__id__": 732 + "__id__": 736 }, "_lpos": { "__type__": "cc.Vec3", @@ -15719,20 +15761,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 721 + "__id__": 725 }, "_children": [], "_active": true, "_components": [ { - "__id__": 723 + "__id__": 727 }, { - "__id__": 725 + "__id__": 729 } ], "_prefab": { - "__id__": 727 + "__id__": 731 }, "_lpos": { "__type__": "cc.Vec3", @@ -15769,11 +15811,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 722 + "__id__": 726 }, "_enabled": true, "__prefab": { - "__id__": 724 + "__id__": 728 }, "_contentSize": { "__type__": "cc.Size", @@ -15797,11 +15839,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 722 + "__id__": 726 }, "_enabled": true, "__prefab": { - "__id__": 726 + "__id__": 730 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15855,11 +15897,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 721 + "__id__": 725 }, "_enabled": true, "__prefab": { - "__id__": 729 + "__id__": 733 }, "_contentSize": { "__type__": "cc.Size", @@ -15883,11 +15925,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 721 + "__id__": 725 }, "_enabled": true, "__prefab": { - "__id__": 731 + "__id__": 735 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -15941,11 +15983,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 698 + "__id__": 702 }, "_enabled": true, "__prefab": { - "__id__": 734 + "__id__": 738 }, "_contentSize": { "__type__": "cc.Size", @@ -15969,11 +16011,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 698 + "__id__": 702 }, "_enabled": true, "__prefab": { - "__id__": 736 + "__id__": 740 }, "_alignFlags": 12, "_target": null, @@ -16018,33 +16060,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 697 + "__id__": 701 }, "_children": [ { - "__id__": 739 + "__id__": 743 }, { - "__id__": 745 + "__id__": 749 }, { - "__id__": 751 + "__id__": 755 }, { - "__id__": 761 + "__id__": 765 } ], "_active": false, "_components": [ { - "__id__": 773 + "__id__": 777 }, { - "__id__": 775 + "__id__": 779 } ], "_prefab": { - "__id__": 777 + "__id__": 781 }, "_lpos": { "__type__": "cc.Vec3", @@ -16081,20 +16123,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 738 + "__id__": 742 }, "_children": [], "_active": true, "_components": [ { - "__id__": 740 + "__id__": 744 }, { - "__id__": 742 + "__id__": 746 } ], "_prefab": { - "__id__": 744 + "__id__": 748 }, "_lpos": { "__type__": "cc.Vec3", @@ -16131,11 +16173,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 739 + "__id__": 743 }, "_enabled": true, "__prefab": { - "__id__": 741 + "__id__": 745 }, "_contentSize": { "__type__": "cc.Size", @@ -16159,11 +16201,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 739 + "__id__": 743 }, "_enabled": true, "__prefab": { - "__id__": 743 + "__id__": 747 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16217,20 +16259,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 738 + "__id__": 742 }, "_children": [], "_active": true, "_components": [ { - "__id__": 746 + "__id__": 750 }, { - "__id__": 748 + "__id__": 752 } ], "_prefab": { - "__id__": 750 + "__id__": 754 }, "_lpos": { "__type__": "cc.Vec3", @@ -16267,11 +16309,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 745 + "__id__": 749 }, "_enabled": true, "__prefab": { - "__id__": 747 + "__id__": 751 }, "_contentSize": { "__type__": "cc.Size", @@ -16295,11 +16337,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 745 + "__id__": 749 }, "_enabled": true, "__prefab": { - "__id__": 749 + "__id__": 753 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16353,26 +16395,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 738 + "__id__": 742 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 752 - }, - { - "__id__": 754 - }, { "__id__": 756 }, { "__id__": 758 + }, + { + "__id__": 760 + }, + { + "__id__": 762 } ], "_prefab": { - "__id__": 760 + "__id__": 764 }, "_lpos": { "__type__": "cc.Vec3", @@ -16409,11 +16451,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 751 + "__id__": 755 }, "_enabled": true, "__prefab": { - "__id__": 753 + "__id__": 757 }, "_contentSize": { "__type__": "cc.Size", @@ -16437,11 +16479,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 751 + "__id__": 755 }, "_enabled": true, "__prefab": { - "__id__": 755 + "__id__": 759 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16505,11 +16547,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 751 + "__id__": 755 }, "_enabled": true, "__prefab": { - "__id__": 757 + "__id__": 761 }, "_id": "" }, @@ -16523,11 +16565,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 751 + "__id__": 755 }, "_enabled": true, "__prefab": { - "__id__": 759 + "__id__": 763 }, "templateMode": true, "watchPath": "data.role.gold", @@ -16560,24 +16602,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 738 + "__id__": 742 }, "_children": [ { - "__id__": 762 + "__id__": 766 } ], "_active": false, "_components": [ { - "__id__": 768 + "__id__": 772 }, { - "__id__": 770 + "__id__": 774 } ], "_prefab": { - "__id__": 772 + "__id__": 776 }, "_lpos": { "__type__": "cc.Vec3", @@ -16614,20 +16656,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 761 + "__id__": 765 }, "_children": [], "_active": true, "_components": [ { - "__id__": 763 + "__id__": 767 }, { - "__id__": 765 + "__id__": 769 } ], "_prefab": { - "__id__": 767 + "__id__": 771 }, "_lpos": { "__type__": "cc.Vec3", @@ -16664,11 +16706,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 762 + "__id__": 766 }, "_enabled": true, "__prefab": { - "__id__": 764 + "__id__": 768 }, "_contentSize": { "__type__": "cc.Size", @@ -16692,11 +16734,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 762 + "__id__": 766 }, "_enabled": true, "__prefab": { - "__id__": 766 + "__id__": 770 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16750,11 +16792,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 761 + "__id__": 765 }, "_enabled": true, "__prefab": { - "__id__": 769 + "__id__": 773 }, "_contentSize": { "__type__": "cc.Size", @@ -16778,11 +16820,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 761 + "__id__": 765 }, "_enabled": true, "__prefab": { - "__id__": 771 + "__id__": 775 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -16836,11 +16878,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 738 + "__id__": 742 }, "_enabled": true, "__prefab": { - "__id__": 774 + "__id__": 778 }, "_contentSize": { "__type__": "cc.Size", @@ -16864,11 +16906,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 738 + "__id__": 742 }, "_enabled": true, "__prefab": { - "__id__": 776 + "__id__": 780 }, "_alignFlags": 12, "_target": null, @@ -16913,33 +16955,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 697 + "__id__": 701 }, "_children": [ { - "__id__": 779 + "__id__": 783 }, { - "__id__": 785 + "__id__": 789 }, { - "__id__": 791 + "__id__": 795 }, { - "__id__": 801 + "__id__": 805 } ], "_active": false, "_components": [ { - "__id__": 813 + "__id__": 817 }, { - "__id__": 815 + "__id__": 819 } ], "_prefab": { - "__id__": 817 + "__id__": 821 }, "_lpos": { "__type__": "cc.Vec3", @@ -16976,20 +17018,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 778 + "__id__": 782 }, "_children": [], "_active": true, "_components": [ { - "__id__": 780 + "__id__": 784 }, { - "__id__": 782 + "__id__": 786 } ], "_prefab": { - "__id__": 784 + "__id__": 788 }, "_lpos": { "__type__": "cc.Vec3", @@ -17026,11 +17068,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 779 + "__id__": 783 }, "_enabled": true, "__prefab": { - "__id__": 781 + "__id__": 785 }, "_contentSize": { "__type__": "cc.Size", @@ -17054,11 +17096,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 779 + "__id__": 783 }, "_enabled": true, "__prefab": { - "__id__": 783 + "__id__": 787 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17112,20 +17154,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 778 + "__id__": 782 }, "_children": [], "_active": true, "_components": [ { - "__id__": 786 + "__id__": 790 }, { - "__id__": 788 + "__id__": 792 } ], "_prefab": { - "__id__": 790 + "__id__": 794 }, "_lpos": { "__type__": "cc.Vec3", @@ -17162,11 +17204,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 785 + "__id__": 789 }, "_enabled": true, "__prefab": { - "__id__": 787 + "__id__": 791 }, "_contentSize": { "__type__": "cc.Size", @@ -17190,11 +17232,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 785 + "__id__": 789 }, "_enabled": true, "__prefab": { - "__id__": 789 + "__id__": 793 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17248,26 +17290,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 778 + "__id__": 782 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 792 - }, - { - "__id__": 794 - }, { "__id__": 796 }, { "__id__": 798 + }, + { + "__id__": 800 + }, + { + "__id__": 802 } ], "_prefab": { - "__id__": 800 + "__id__": 804 }, "_lpos": { "__type__": "cc.Vec3", @@ -17304,11 +17346,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 791 + "__id__": 795 }, "_enabled": true, "__prefab": { - "__id__": 793 + "__id__": 797 }, "_contentSize": { "__type__": "cc.Size", @@ -17332,11 +17374,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 791 + "__id__": 795 }, "_enabled": true, "__prefab": { - "__id__": 795 + "__id__": 799 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17400,11 +17442,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 791 + "__id__": 795 }, "_enabled": true, "__prefab": { - "__id__": 797 + "__id__": 801 }, "_id": "" }, @@ -17418,11 +17460,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 791 + "__id__": 795 }, "_enabled": true, "__prefab": { - "__id__": 799 + "__id__": 803 }, "templateMode": true, "watchPath": "data.role.gold", @@ -17455,24 +17497,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 778 + "__id__": 782 }, "_children": [ { - "__id__": 802 + "__id__": 806 } ], "_active": false, "_components": [ { - "__id__": 808 + "__id__": 812 }, { - "__id__": 810 + "__id__": 814 } ], "_prefab": { - "__id__": 812 + "__id__": 816 }, "_lpos": { "__type__": "cc.Vec3", @@ -17509,20 +17551,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 801 + "__id__": 805 }, "_children": [], "_active": true, "_components": [ { - "__id__": 803 + "__id__": 807 }, { - "__id__": 805 + "__id__": 809 } ], "_prefab": { - "__id__": 807 + "__id__": 811 }, "_lpos": { "__type__": "cc.Vec3", @@ -17559,11 +17601,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 802 + "__id__": 806 }, "_enabled": true, "__prefab": { - "__id__": 804 + "__id__": 808 }, "_contentSize": { "__type__": "cc.Size", @@ -17587,11 +17629,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 802 + "__id__": 806 }, "_enabled": true, "__prefab": { - "__id__": 806 + "__id__": 810 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17645,11 +17687,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 801 + "__id__": 805 }, "_enabled": true, "__prefab": { - "__id__": 809 + "__id__": 813 }, "_contentSize": { "__type__": "cc.Size", @@ -17673,11 +17715,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 801 + "__id__": 805 }, "_enabled": true, "__prefab": { - "__id__": 811 + "__id__": 815 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -17731,11 +17773,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 778 + "__id__": 782 }, "_enabled": true, "__prefab": { - "__id__": 814 + "__id__": 818 }, "_contentSize": { "__type__": "cc.Size", @@ -17759,11 +17801,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 778 + "__id__": 782 }, "_enabled": true, "__prefab": { - "__id__": 816 + "__id__": 820 }, "_alignFlags": 12, "_target": null, @@ -17808,33 +17850,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 697 + "__id__": 701 }, "_children": [ { - "__id__": 819 + "__id__": 823 }, { - "__id__": 825 + "__id__": 829 }, { - "__id__": 831 + "__id__": 835 }, { - "__id__": 841 + "__id__": 845 } ], "_active": false, "_components": [ { - "__id__": 853 + "__id__": 857 }, { - "__id__": 855 + "__id__": 859 } ], "_prefab": { - "__id__": 857 + "__id__": 861 }, "_lpos": { "__type__": "cc.Vec3", @@ -17871,20 +17913,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 818 + "__id__": 822 }, "_children": [], "_active": true, "_components": [ { - "__id__": 820 + "__id__": 824 }, { - "__id__": 822 + "__id__": 826 } ], "_prefab": { - "__id__": 824 + "__id__": 828 }, "_lpos": { "__type__": "cc.Vec3", @@ -17921,11 +17963,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 819 + "__id__": 823 }, "_enabled": true, "__prefab": { - "__id__": 821 + "__id__": 825 }, "_contentSize": { "__type__": "cc.Size", @@ -17949,11 +17991,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 819 + "__id__": 823 }, "_enabled": true, "__prefab": { - "__id__": 823 + "__id__": 827 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18007,20 +18049,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 818 + "__id__": 822 }, "_children": [], "_active": true, "_components": [ { - "__id__": 826 + "__id__": 830 }, { - "__id__": 828 + "__id__": 832 } ], "_prefab": { - "__id__": 830 + "__id__": 834 }, "_lpos": { "__type__": "cc.Vec3", @@ -18057,11 +18099,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 825 + "__id__": 829 }, "_enabled": true, "__prefab": { - "__id__": 827 + "__id__": 831 }, "_contentSize": { "__type__": "cc.Size", @@ -18085,11 +18127,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 825 + "__id__": 829 }, "_enabled": true, "__prefab": { - "__id__": 829 + "__id__": 833 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18143,26 +18185,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 818 + "__id__": 822 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 832 - }, - { - "__id__": 834 - }, { "__id__": 836 }, { "__id__": 838 + }, + { + "__id__": 840 + }, + { + "__id__": 842 } ], "_prefab": { - "__id__": 840 + "__id__": 844 }, "_lpos": { "__type__": "cc.Vec3", @@ -18199,11 +18241,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 835 }, "_enabled": true, "__prefab": { - "__id__": 833 + "__id__": 837 }, "_contentSize": { "__type__": "cc.Size", @@ -18227,11 +18269,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 835 }, "_enabled": true, "__prefab": { - "__id__": 835 + "__id__": 839 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18295,11 +18337,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 835 }, "_enabled": true, "__prefab": { - "__id__": 837 + "__id__": 841 }, "_id": "" }, @@ -18313,11 +18355,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 831 + "__id__": 835 }, "_enabled": true, "__prefab": { - "__id__": 839 + "__id__": 843 }, "templateMode": true, "watchPath": "data.role.gold", @@ -18350,24 +18392,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 818 + "__id__": 822 }, "_children": [ { - "__id__": 842 + "__id__": 846 } ], "_active": false, "_components": [ { - "__id__": 848 + "__id__": 852 }, { - "__id__": 850 + "__id__": 854 } ], "_prefab": { - "__id__": 852 + "__id__": 856 }, "_lpos": { "__type__": "cc.Vec3", @@ -18404,20 +18446,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 841 + "__id__": 845 }, "_children": [], "_active": true, "_components": [ { - "__id__": 843 + "__id__": 847 }, { - "__id__": 845 + "__id__": 849 } ], "_prefab": { - "__id__": 847 + "__id__": 851 }, "_lpos": { "__type__": "cc.Vec3", @@ -18454,11 +18496,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 842 + "__id__": 846 }, "_enabled": true, "__prefab": { - "__id__": 844 + "__id__": 848 }, "_contentSize": { "__type__": "cc.Size", @@ -18482,11 +18524,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 842 + "__id__": 846 }, "_enabled": true, "__prefab": { - "__id__": 846 + "__id__": 850 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18540,11 +18582,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 841 + "__id__": 845 }, "_enabled": true, "__prefab": { - "__id__": 849 + "__id__": 853 }, "_contentSize": { "__type__": "cc.Size", @@ -18568,11 +18610,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 841 + "__id__": 845 }, "_enabled": true, "__prefab": { - "__id__": 851 + "__id__": 855 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18626,11 +18668,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 818 + "__id__": 822 }, "_enabled": true, "__prefab": { - "__id__": 854 + "__id__": 858 }, "_contentSize": { "__type__": "cc.Size", @@ -18654,11 +18696,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 818 + "__id__": 822 }, "_enabled": true, "__prefab": { - "__id__": 856 + "__id__": 860 }, "_alignFlags": 12, "_target": null, @@ -18703,33 +18745,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 697 + "__id__": 701 }, "_children": [ { - "__id__": 859 + "__id__": 863 }, { - "__id__": 865 + "__id__": 869 }, { - "__id__": 871 + "__id__": 875 }, { - "__id__": 881 + "__id__": 885 } ], "_active": false, "_components": [ { - "__id__": 893 + "__id__": 897 }, { - "__id__": 895 + "__id__": 899 } ], "_prefab": { - "__id__": 897 + "__id__": 901 }, "_lpos": { "__type__": "cc.Vec3", @@ -18766,20 +18808,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 858 + "__id__": 862 }, "_children": [], "_active": true, "_components": [ { - "__id__": 860 + "__id__": 864 }, { - "__id__": 862 + "__id__": 866 } ], "_prefab": { - "__id__": 864 + "__id__": 868 }, "_lpos": { "__type__": "cc.Vec3", @@ -18816,11 +18858,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 859 + "__id__": 863 }, "_enabled": true, "__prefab": { - "__id__": 861 + "__id__": 865 }, "_contentSize": { "__type__": "cc.Size", @@ -18844,11 +18886,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 859 + "__id__": 863 }, "_enabled": true, "__prefab": { - "__id__": 863 + "__id__": 867 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -18902,20 +18944,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 858 + "__id__": 862 }, "_children": [], "_active": true, "_components": [ { - "__id__": 866 + "__id__": 870 }, { - "__id__": 868 + "__id__": 872 } ], "_prefab": { - "__id__": 870 + "__id__": 874 }, "_lpos": { "__type__": "cc.Vec3", @@ -18952,11 +18994,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 865 + "__id__": 869 }, "_enabled": true, "__prefab": { - "__id__": 867 + "__id__": 871 }, "_contentSize": { "__type__": "cc.Size", @@ -18980,11 +19022,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 865 + "__id__": 869 }, "_enabled": true, "__prefab": { - "__id__": 869 + "__id__": 873 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -19038,26 +19080,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 858 + "__id__": 862 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 872 - }, - { - "__id__": 874 - }, { "__id__": 876 }, { "__id__": 878 + }, + { + "__id__": 880 + }, + { + "__id__": 882 } ], "_prefab": { - "__id__": 880 + "__id__": 884 }, "_lpos": { "__type__": "cc.Vec3", @@ -19094,11 +19136,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 871 + "__id__": 875 }, "_enabled": true, "__prefab": { - "__id__": 873 + "__id__": 877 }, "_contentSize": { "__type__": "cc.Size", @@ -19122,11 +19164,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 871 + "__id__": 875 }, "_enabled": true, "__prefab": { - "__id__": 875 + "__id__": 879 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -19190,11 +19232,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 871 + "__id__": 875 }, "_enabled": true, "__prefab": { - "__id__": 877 + "__id__": 881 }, "_id": "" }, @@ -19208,11 +19250,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 871 + "__id__": 875 }, "_enabled": true, "__prefab": { - "__id__": 879 + "__id__": 883 }, "templateMode": true, "watchPath": "data.role.gold", @@ -19245,24 +19287,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 858 + "__id__": 862 }, "_children": [ { - "__id__": 882 + "__id__": 886 } ], "_active": false, "_components": [ { - "__id__": 888 + "__id__": 892 }, { - "__id__": 890 + "__id__": 894 } ], "_prefab": { - "__id__": 892 + "__id__": 896 }, "_lpos": { "__type__": "cc.Vec3", @@ -19299,20 +19341,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 881 + "__id__": 885 }, "_children": [], "_active": true, "_components": [ { - "__id__": 883 + "__id__": 887 }, { - "__id__": 885 + "__id__": 889 } ], "_prefab": { - "__id__": 887 + "__id__": 891 }, "_lpos": { "__type__": "cc.Vec3", @@ -19349,11 +19391,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 882 + "__id__": 886 }, "_enabled": true, "__prefab": { - "__id__": 884 + "__id__": 888 }, "_contentSize": { "__type__": "cc.Size", @@ -19377,11 +19419,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 882 + "__id__": 886 }, "_enabled": true, "__prefab": { - "__id__": 886 + "__id__": 890 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -19435,11 +19477,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 881 + "__id__": 885 }, "_enabled": true, "__prefab": { - "__id__": 889 + "__id__": 893 }, "_contentSize": { "__type__": "cc.Size", @@ -19463,11 +19505,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 881 + "__id__": 885 }, "_enabled": true, "__prefab": { - "__id__": 891 + "__id__": 895 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -19521,11 +19563,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 858 + "__id__": 862 }, "_enabled": true, "__prefab": { - "__id__": 894 + "__id__": 898 }, "_contentSize": { "__type__": "cc.Size", @@ -19549,11 +19591,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 858 + "__id__": 862 }, "_enabled": true, "__prefab": { - "__id__": 896 + "__id__": 900 }, "_alignFlags": 12, "_target": null, @@ -19598,11 +19640,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 697 + "__id__": 701 }, "_enabled": true, "__prefab": { - "__id__": 899 + "__id__": 903 }, "_contentSize": { "__type__": "cc.Size", @@ -19626,11 +19668,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 697 + "__id__": 701 }, "_enabled": true, "__prefab": { - "__id__": 901 + "__id__": 905 }, "_alignFlags": 41, "_target": null, @@ -19662,11 +19704,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 697 + "__id__": 701 }, "_enabled": true, "__prefab": { - "__id__": 903 + "__id__": 907 }, "_resizeMode": 0, "_layoutType": 1, @@ -19717,7 +19759,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 906 + "__id__": 910 }, "_contentSize": { "__type__": "cc.Size", @@ -19745,7 +19787,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 908 + "__id__": 912 }, "_alignFlags": 45, "_target": null, @@ -19781,7 +19823,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 910 + "__id__": 914 }, "_id": "" }, @@ -19802,7 +19844,7 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 658 + "__id__": 662 }, { "__id__": 587 diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index a1171872..0c8def7d 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -17,6 +17,7 @@ export class SingletonModuleComp extends ecs.Comp { /** 游戏地图 */ map: GameMap = null!; mission:any={ + status:0, //0:未开始 1:进行中 2:胜利 3:失败 play:false, pause:false, is_victory:false, diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index dd3db4f9..eb2b4ad5 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -63,42 +63,42 @@ export const HeroSet = { } export const HeroInfo = { - 5001:{uuid:5001,name:"神圣守护",path:"k2",quality:3,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6018],tals:"说明"}, - 5002:{uuid:5002,name:"幻影剑豪",path:"k1",quality:3,kind:2,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6024],tals:"说明"}, - 5003:{uuid:5003,name:"战争领主",path:"k5",quality:3,kind:2,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6027],tals:"说明"}, - 5004:{uuid:5004,name:"混沌法师",path:"zh1",quality:3,kind:2,type:2,hp:200,ap:100,dis:500,a_cd:1.5,speed:150,skills:[6003,6031],tals:"说明"}, - 5005:{uuid:5005,name:"火焰法师",path:"zh2",quality:3,kind:2,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:180,skills:[6003,6013],tals:"说明"}, - 5006:{uuid:5006,name:"风暴精灵",path:"m4",quality:3,kind:2,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:150,skills:[6001,6016],tals:"说明"}, - 5007:{uuid:5007,name:"生命圣者",path:"d1",quality:3,kind:2,type:2,hp:200,ap:100,dis:500,a_cd:1.5,speed:150,skills:[6003,6028],tals:"说明"}, - 5008:{uuid:5008,name:"战争祭祀",path:"d2",quality:3,kind:2,type:2,hp:200,ap:100,dis:500,a_cd:1.5,speed:150,skills:[6003,6019],tals:"说明"}, - 5009:{uuid:5009,name:"暴风射手",path:"a5",quality:3,kind:2,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6006,6034],tals:"说明"}, - 5010:{uuid:5010,name:"苍穹射手",path:"a3",quality:3,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6006,6014],tals:"说明"}, - 5011:{uuid:5011,name:"幽灵射手",path:"a4",quality:3,kind:2,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6006,6021],tals:"说明"}, - 5201:{uuid:5201,name:"兽人战士",path:"mor1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5202:{uuid:5202,name:"兽人刺客",path:"mor2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5203:{uuid:5203,name:"兽人护卫",path:"mor3",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6007,6007],tals:"说明"}, - 5204:{uuid:5204,name:"石卫", path:"mgem1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5205:{uuid:5205,name:"土卫", path:"mgem2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5206:{uuid:5206,name:"树人", path:"mgem3",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5207:{uuid:5207,name:"小骷髅", path:"mkl1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5208:{uuid:5208,name:"小骷髅", path:"mkl2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5209:{uuid:5209,name:"小骷髅", path:"mkl3",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5210:{uuid:5210,name:"骷髅战士",path:"mkl4",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5211:{uuid:5211,name:"骷髅战士",path:"mkl5",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5212:{uuid:5212,name:"骷髅战士",path:"mkl6",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5213:{uuid:5213,name:"骷髅射手",path:"mkla1",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6005,6005],tals:"说明"}, - 5214:{uuid:5214,name:"骷髅射手",path:"mkla2",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6005,6005],tals:"说明"}, - 5215:{uuid:5215,name:"骷髅射手",path:"mkla3",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6005,6005],tals:"说明"}, - 5216:{uuid:5216,name:"元素1", path:"my1",quality:2,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:150,skills:[6001,6001],tals:"说明"}, - 5217:{uuid:5217,name:"元素2", path:"my2",quality:2,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:150,skills:[6002,6002],tals:"说明"}, - 5218:{uuid:5218,name:"元素3", path:"my3",quality:2,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:150,skills:[6003,6003],tals:"说明"}, - 5219:{uuid:5219,name:"牛头战士",path:"mn1",quality:2,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5220:{uuid:5220,name:"牛头战士",path:"mn2",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6010,6010],tals:"说明"}, - 5221:{uuid:5221,name:"牛头战士",path:"mn3",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5222:{uuid:5222,name:"独眼巨人",path:"md1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6005,6005],tals:"说明"}, - 5223:{uuid:5223,name:"独眼巨人",path:"md2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:240,skills:[6008,6008],tals:"说明"}, - 5224:{uuid:5224,name:"独眼巨人",path:"md3",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:180,skills:[6005,6005],tals:"说明"}, - 5225:{uuid:5225,name:"精英独眼",path:"md4",quality:3,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1,speed:150,skills:[6009,6009],tals:"说明"}, - 5226:{uuid:5226,name:"精英牛头",path:"mn4",quality:3,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1,speed:150,skills:[6010,6010],tals:"说明"}, - 5227:{uuid:5227,name:"精英兽人",path:"mor4",quality:3,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1,speed:150,skills:[6009,6009],tals:"说明"} + 5001:{uuid:5001,name:"神圣守护",path:"k2",quality:3,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:140,skills:[6005,6018],tals:"说明"}, + 5002:{uuid:5002,name:"幻影剑豪",path:"k1",quality:3,kind:2,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:140,skills:[6005,6024],tals:"说明"}, + 5003:{uuid:5003,name:"战争领主",path:"k5",quality:3,kind:2,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:140,skills:[6005,6027],tals:"说明"}, + 5004:{uuid:5004,name:"混沌法师",path:"zh1",quality:3,kind:2,type:2,hp:200,ap:100,dis:500,a_cd:1.5,speed:100,skills:[6003,6031],tals:"说明"}, + 5005:{uuid:5005,name:"火焰法师",path:"zh2",quality:3,kind:2,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:120,skills:[6003,6013],tals:"说明"}, + 5006:{uuid:5006,name:"风暴精灵",path:"m4",quality:3,kind:2,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:100,skills:[6001,6016],tals:"说明"}, + 5007:{uuid:5007,name:"生命圣者",path:"d1",quality:3,kind:2,type:2,hp:200,ap:100,dis:500,a_cd:1.5,speed:100,skills:[6003,6028],tals:"说明"}, + 5008:{uuid:5008,name:"战争祭祀",path:"d2",quality:3,kind:2,type:2,hp:200,ap:100,dis:500,a_cd:1.5,speed:100,skills:[6003,6019],tals:"说明"}, + 5009:{uuid:5009,name:"暴风射手",path:"a5",quality:3,kind:2,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:120,skills:[6006,6034],tals:"说明"}, + 5010:{uuid:5010,name:"苍穹射手",path:"a3",quality:3,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:120,skills:[6006,6014],tals:"说明"}, + 5011:{uuid:5011,name:"幽灵射手",path:"a4",quality:3,kind:2,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:120,skills:[6006,6021],tals:"说明"}, + 5201:{uuid:5201,name:"兽人战士",path:"mor1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5202:{uuid:5202,name:"兽人刺客",path:"mor2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5203:{uuid:5203,name:"兽人护卫",path:"mor3",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:50,skills:[6007,6007],tals:"说明"}, + 5204:{uuid:5204,name:"石卫", path:"mgem1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5205:{uuid:5205,name:"土卫", path:"mgem2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5206:{uuid:5206,name:"树人", path:"mgem3",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5207:{uuid:5207,name:"小骷髅", path:"mkl1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5208:{uuid:5208,name:"小骷髅", path:"mkl2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5209:{uuid:5209,name:"小骷髅", path:"mkl3",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5210:{uuid:5210,name:"骷髅战士",path:"mkl4",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5211:{uuid:5211,name:"骷髅战士",path:"mkl5",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5212:{uuid:5212,name:"骷髅战士",path:"mkl6",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5213:{uuid:5213,name:"骷髅射手",path:"mkla1",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:50,skills:[6005,6005],tals:"说明"}, + 5214:{uuid:5214,name:"骷髅射手",path:"mkla2",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:50,skills:[6005,6005],tals:"说明"}, + 5215:{uuid:5215,name:"骷髅射手",path:"mkla3",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:50,skills:[6005,6005],tals:"说明"}, + 5216:{uuid:5216,name:"元素1", path:"my1",quality:2,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:50,skills:[6001,6001],tals:"说明"}, + 5217:{uuid:5217,name:"元素2", path:"my2",quality:2,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:50,skills:[6002,6002],tals:"说明"}, + 5218:{uuid:5218,name:"元素3", path:"my3",quality:2,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1.5,speed:50,skills:[6003,6003],tals:"说明"}, + 5219:{uuid:5219,name:"牛头战士",path:"mn1",quality:2,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5220:{uuid:5220,name:"牛头战士",path:"mn2",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:50,skills:[6010,6010],tals:"说明"}, + 5221:{uuid:5221,name:"牛头战士",path:"mn3",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5222:{uuid:5222,name:"独眼巨人",path:"md1",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6005,6005],tals:"说明"}, + 5223:{uuid:5223,name:"独眼巨人",path:"md2",quality:1,kind:1,type:0,hp:200,ap:100,dis:180,a_cd:1,speed:50,skills:[6008,6008],tals:"说明"}, + 5224:{uuid:5224,name:"独眼巨人",path:"md3",quality:1,kind:1,type:1,hp:200,ap:150,dis:400,a_cd:1.2,speed:50,skills:[6005,6005],tals:"说明"}, + 5225:{uuid:5225,name:"精英独眼",path:"md4",quality:3,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1,speed:50,skills:[6009,6009],tals:"说明"}, + 5226:{uuid:5226,name:"精英牛头",path:"mn4",quality:3,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1,speed:50,skills:[6010,6010],tals:"说明"}, + 5227:{uuid:5227,name:"精英兽人",path:"mor4",quality:3,kind:1,type:2,hp:200,ap:150,dis:500,a_cd:1,speed:50,skills:[6009,6009],tals:"说明"} }; \ No newline at end of file diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index 107338b4..330e0b8a 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -73,6 +73,7 @@ export class MissionComp extends CCComp { mission_start(){ /* todo 关卡设定完善*/ console.log("mission_start Missions mons:",Missions[smc.mission.lv]) + smc.mission.status=1 this.colose_victory() this.mission_init() // this.mskill_init() diff --git a/assets/script/game/map/MissionHeroComp.ts b/assets/script/game/map/MissionHeroComp.ts index f853359a..bb1983a8 100644 --- a/assets/script/game/map/MissionHeroComp.ts +++ b/assets/script/game/map/MissionHeroComp.ts @@ -2,8 +2,11 @@ import { _decorator, v3, Vec3 } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { BoxSet } from "../common/config/BoxSet"; -import { HeroSet } from "../common/config/heroSet"; +import { HeroList, HeroSet } from "../common/config/heroSet"; import { Hero } from "../hero/Hero"; +import { smc } from "../common/SingletonModuleComp"; +import { Timer } from "db://oops-framework/core/common/timer/Timer"; +import { RandomManager } from "db://oops-framework/core/common/random/RandomManager"; const { ccclass, property } = _decorator; @@ -11,13 +14,25 @@ const { ccclass, property } = _decorator; @ccclass('MissionHeroCompComp') @ecs.register('MissionHeroComp', false) export class MissionHeroCompComp extends CCComp { - /** 视图层逻辑代码分离演示 */ + timer:Timer=new Timer(2) + start() { - // var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象 - // this.on(ModuleEvent.Cmd, this.onHandler, this); + + } + protected update(dt: number): void { + if(smc.mission.status != 1) return + if(this.timer.update(dt)){ + this.call_hero() + } + } + call_hero(){ + this.timer.reset() + let hero_list =HeroList + let x=RandomManager.instance.getRandomInt(0,hero_list.length,1) + let uuid=hero_list[x] + console.log("call_hero",uuid) + this.addHero(uuid) } - - /** 添加玩家 */ private addHero(uuid:number=1001,i:number=0) { let hero = ecs.getEntity(Hero);