更新引导

main
yurui 2024-10-16 20:47:56 +08:00
parent dd32c1ccc7
commit 011693ee96
5 changed files with 644 additions and 11 deletions

View File

@ -5,6 +5,8 @@ using Gameplay.Unit;
namespace Gameplay.Skill
{
using cfg.SkillCfg;
using Gameplay.Guide;
using Gameplay.Level;
public class SkillHandle
{
@ -30,8 +32,15 @@ namespace Gameplay.Skill
this.owner = owner;
runtimeData = new SkillRuntimeData(configData);
// 一开始处于不可释放状态
runtimeData.remainCDTime = runtimeData.maxCdTime;
if (GuideManager.Instance.IsGuiding && // 新手引导特殊处理
null != LevelManager.Instance.CurrentLevel &&
100002 == LevelManager.Instance.CurrLevel.Cfg.Id &&
owner is Character.Character character &&
100003 == character.ConfigId) // 克劳迪亚
runtimeData.remainCDTime = 0f;
else
// 一开始处于不可释放状态
runtimeData.remainCDTime = runtimeData.maxCdTime;
}
public void LogicUpdate(float dt)

View File

@ -1292,7 +1292,7 @@
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"27"
"49"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
@ -1310,7 +1310,7 @@
"NextId": 605,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
@ -1353,7 +1353,7 @@
"NextId": 607,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
@ -1396,7 +1396,7 @@
"NextId": 609,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
@ -1421,7 +1421,7 @@
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"49"
"27"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
@ -1479,6 +1479,50 @@
"Id": 612,
"GroupId": 600,
"BeginCondition": [],
"NextId": 613,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 4,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
"UI_LiuHaiRight/UITeamQueue/GameObj_Queue/3/Button_CharacterPicRect",
"55"
],
"GuideCompleteType": 17,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 613,
"GroupId": 600,
"BeginCondition": [],
"NextId": 614,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"55"
],
"GuideCompleteType": 15,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 614,
"GroupId": 600,
"BeginCondition": [],
"NextId": 700,
"IsBeginStep": false,
"IsComplete": false,
@ -1500,15 +1544,576 @@
"Id": 700,
"GroupId": 700,
"BeginCondition": [],
"NextId": 0,
"NextId": 701,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 17,
"GuideTypeParams": [
"100003"
],
"GuideCompleteType": 29,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 701,
"GroupId": 700,
"BeginCondition": [],
"NextId": 702,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"CommandSkill/CommandAndTeamSelect/UI_TeamAndSkillSelect",
"UI_LiuHaiLeft/Teams/Button_Team (1)/ImageTeamName/ButtonEdit"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 2,
"ArrowOffset": {
"x": 50,
"y": 0
},
"TipKey": ""
},
{
"Id": 702,
"GroupId": 700,
"BeginCondition": [],
"NextId": 703,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 12,
"GuideTypeParams": [],
"GuideCompleteType": 3,
"CompleteTypeParams": [
"TeamChoose/UI_TeamInfo"
],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 703,
"GroupId": 700,
"BeginCondition": [],
"NextId": 704,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 3,
"GuideTypeParams": [
"TeamChoose/UI_TeamInfo",
"UI_AllChoose/Image_Member3"
],
"GuideCompleteType": 6,
"CompleteTypeParams": [
"MainScene/ShowCharacter/UISelectCharacter"
],
"ArrowDirection": 1,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 704,
"GroupId": 700,
"BeginCondition": [],
"NextId": 705,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"MainScene/ShowCharacter/UISelectCharacter",
"ScrollView_SelectCharacter/Viewport/Content/1"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 2,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 705,
"GroupId": 700,
"BeginCondition": [],
"NextId": 706,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 12,
"GuideTypeParams": [],
"GuideCompleteType": 5,
"CompleteTypeParams": [
"MainScene/ShowCharacter/UISelectCharacter"
],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 706,
"GroupId": 700,
"BeginCondition": [],
"NextId": 707,
"IsBeginStep": false,
"IsComplete": true,
"StepStartDelay": 0,
"GuideStepType": 3,
"GuideTypeParams": [
"TeamChoose/UI_TeamInfo",
"Button_Back/Button_back"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 4,
"ArrowOffset": {
"x": 50,
"y": -50
},
"TipKey": ""
},
{
"Id": 707,
"GroupId": 700,
"BeginCondition": [],
"NextId": 800,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 12,
"GuideTypeParams": [],
"GuideCompleteType": 4,
"CompleteTypeParams": [
"TeamChoose/UI_TeamInfo"
],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 800,
"GroupId": 800,
"BeginCondition": [],
"NextId": 801,
"IsBeginStep": true,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 17,
"GuideTypeParams": [
"100003"
],
"GuideCompleteType": 29,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 801,
"GroupId": 800,
"BeginCondition": [],
"NextId": 802,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 3,
"GuideTypeParams": [
"CommandSkill/CommandAndTeamSelect/UI_TeamAndSkillSelect",
"UI_LiuHaiRight/SkillAndFight/Button_Start"
],
"GuideCompleteType": 7,
"CompleteTypeParams": [],
"ArrowDirection": 7,
"ArrowOffset": {
"x": -50,
"y": 50
},
"TipKey": ""
},
{
"Id": 802,
"GroupId": 800,
"BeginCondition": [],
"NextId": 803,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
"UI_LiuHaiLeft/UITeamSupport/UISupport/Image_ReserveUnFold/ScrollView_WaitFight/Viewport/Content/0/Content"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 6,
"ArrowOffset": {
"x": 50,
"y": 50
},
"TipKey": ""
},
{
"Id": 803,
"GroupId": 800,
"BeginCondition": [],
"NextId": 804,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"26"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
"ArrowDirection": 1,
"ArrowOffset": {
"x": 0,
"y": 50
},
"TipKey": ""
},
{
"Id": 804,
"GroupId": 800,
"BeginCondition": [],
"NextId": 805,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
"UI_LiuHaiLeft/UITeamSupport/UISupport/Image_ReserveUnFold/ScrollView_WaitFight/Viewport/Content/0/Button_CharacterPicRect"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 6,
"ArrowOffset": {
"x": 50,
"y": 50
},
"TipKey": ""
},
{
"Id": 805,
"GroupId": 800,
"BeginCondition": [],
"NextId": 806,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"25"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
"ArrowDirection": 1,
"ArrowOffset": {
"x": 0,
"y": 50
},
"TipKey": ""
},
{
"Id": 806,
"GroupId": 800,
"BeginCondition": [],
"NextId": 807,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
"UI_LiuHaiLeft/UITeamSupport/UISupport/Image_ReserveUnFold/ScrollView_WaitFight/Viewport/Content/0/Button_CharacterPicRect"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 6,
"ArrowOffset": {
"x": 50,
"y": 50
},
"TipKey": ""
},
{
"Id": 807,
"GroupId": 800,
"BeginCondition": [],
"NextId": 808,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"46"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
"ArrowDirection": 1,
"ArrowOffset": {
"x": 0,
"y": 50
},
"TipKey": ""
},
{
"Id": 808,
"GroupId": 800,
"BeginCondition": [],
"NextId": 809,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
"UI_LiuHaiLeft/UITeamSupport/UISupport/Image_ReserveUnFold/ScrollView_WaitFight/Viewport/Content/0/Button_CharacterPicRect"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 6,
"ArrowOffset": {
"x": 50,
"y": 50
},
"TipKey": ""
},
{
"Id": 809,
"GroupId": 800,
"BeginCondition": [],
"NextId": 810,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"65"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
"ArrowDirection": 1,
"ArrowOffset": {
"x": 0,
"y": 50
},
"TipKey": ""
},
{
"Id": 810,
"GroupId": 800,
"BeginCondition": [],
"NextId": 811,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.5,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UITeamFight",
"UI_LiuHaiLeft/UITeamSupport/UISupport/Image_ReserveUnFold/ScrollView_WaitFight/Viewport/Content/0/Button_CharacterPicRect"
],
"GuideCompleteType": 1,
"CompleteTypeParams": [],
"ArrowDirection": 6,
"ArrowOffset": {
"x": 50,
"y": 50
},
"TipKey": ""
},
{
"Id": 811,
"GroupId": 800,
"BeginCondition": [],
"NextId": 812,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"66"
],
"GuideCompleteType": 2,
"CompleteTypeParams": [],
"ArrowDirection": 1,
"ArrowOffset": {
"x": 0,
"y": 50
},
"TipKey": ""
},
{
"Id": 812,
"GroupId": 800,
"BeginCondition": [],
"NextId": 813,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 3,
"GuideTypeParams": [
"LevelSceneUI/UI_StartBtn_CMSBtn",
"UIStartBtn/Image_UI_Start_BG/Button_StartBtn"
],
"GuideCompleteType": 10,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": -50,
"y": 0
},
"TipKey": ""
},
{
"Id": 813,
"GroupId": 800,
"BeginCondition": [],
"NextId": 814,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 12,
"GuideTypeParams": [],
"GuideCompleteType": 5,
"CompleteTypeParams": [
"LevelSceneUI/LevelBegin/UI_LevelTransition"
],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 814,
"GroupId": 800,
"BeginCondition": [],
"NextId": 815,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0.8,
"GuideStepType": 4,
"GuideTypeParams": [
"LevelSceneUI/UI_StartBtn_CMSBtn",
"UI_LiuHaiRight/UICommandSkill/UI_CommandSkill0/Button_CMSkillPress0",
"68"
],
"GuideCompleteType": 18,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 815,
"GroupId": 800,
"BeginCondition": [],
"NextId": 816,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 6,
"GuideTypeParams": [
"68"
],
"GuideCompleteType": 16,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 816,
"GroupId": 800,
"BeginCondition": [],
"NextId": 900,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 9,
"GuideTypeParams": [
"False"
],
"GuideCompleteType": 19,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 900,
"GroupId": 900,
"BeginCondition": [],
"NextId": 901,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 7,
"GuideTypeParams": [
"100003"
"300004"
],
"GuideCompleteType": 7,
"GuideCompleteType": 8,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {
"x": 0,
"y": 0
},
"TipKey": ""
},
{
"Id": 901,
"GroupId": 900,
"BeginCondition": [],
"NextId": 0,
"IsBeginStep": false,
"IsComplete": false,
"StepStartDelay": 0,
"GuideStepType": 9,
"GuideTypeParams": [
"True"
],
"GuideCompleteType": 19,
"CompleteTypeParams": [],
"ArrowDirection": 0,
"ArrowOffset": {

View File

@ -3125,7 +3125,7 @@
"LevelTime": 0,
"LevelWeather": 0,
"LevelScene": "Assets/Scenes/Maps/Maps00_Plain/Maps00_Plain_24.unity",
"MapData": "MapData_Maps_War_Test",
"MapData": "MapData_Maps00_Plain_24",
"LevelData": "LevelData_6_600002",
"StoryID": "",
"MaxSweepingNumbert": 0

View File

@ -8754,5 +8754,16 @@
"DefenceFix": 1,
"FindEnemyRange": 6,
"MonsterLevel": 1
},
{
"MonsterID": 60000208,
"NpcType": 0,
"MonsterClassID": 6,
"AttackFix": 1,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 6,
"MonsterLevel": 1
}
]

View File

@ -3127,6 +3127,14 @@
"Param2": "",
"Value_En": ""
},
{
"Key": "Exp_Consume",
"Value": "Exp消耗",
"Param0": "",
"Param1": "",
"Param2": "",
"Value_En": ""
},
{
"Key": "BoundsName_90001",
"Value": "东方08",