| | |
| | | public static bool s_SkillEffectLog = false;
|
| | | public static bool s_ShowMapLine = false;
|
| | | public static bool s_ShowZZAtkValue = false;
|
| | | public static bool s_ForceSupperHit = false;
|
| | | public static bool s_ForceLuckHit = false;
|
| | | public static bool s_forceAutoFight
|
| | | {
|
| | | get
|
| | |
| | |
|
| | | if (GUILayout.Button("测试寻路"))
|
| | | {
|
| | | Debug.Log(PathFinder.WalkAble(_start3, _end3));
|
| | | // Debug.Log(PathFinder.WalkAble(_start3, _end3));
|
| | | MapTransferUtility.Instance.MoveToNPC(10904012);
|
| | | }
|
| | |
|
| | | EditorGUILayout.LabelField("Log存储路径", RuntimeLogUtility.s_LogPath);
|
| | |
| | | RuntimeLogUtility.s_ShowZZAtkValue = EditorGUILayout.Toggle("显示助战伤害", RuntimeLogUtility.s_ShowZZAtkValue);
|
| | | RuntimeLogUtility.TEST_CLIENT_PVP = EditorGUILayout.Toggle("模拟客户端PVP状态", RuntimeLogUtility.TEST_CLIENT_PVP);
|
| | | RuntimeLogUtility.TEST_CLIENT_PVP_AI = EditorGUILayout.Toggle("模拟客户端PVP的AI状态", RuntimeLogUtility.TEST_CLIENT_PVP_AI);
|
| | |
|
| | | RuntimeLogUtility.s_ForceSupperHit = EditorGUILayout.Toggle("强制暴击", RuntimeLogUtility.s_ForceSupperHit);
|
| | | RuntimeLogUtility.s_ForceLuckHit = EditorGUILayout.Toggle("强制会心一击", RuntimeLogUtility.s_ForceLuckHit);
|
| | |
|
| | | if (GUILayout.Button("创建PVP敌方"))
|
| | | {
|
| | | // var _npc = GAMgr.Instance.ReqClntFightNpc<GA_NpcClientFightNorm>(10101003, E_ActorGroup.Enemy);
|
| | | // _npc.BornPos = _npc.Pos = PlayerDatas.Instance.hero.Pos;
|
| | | // _npc.ActorInfo.ResetHp(9999999, -1, 9999999);
|
| | |
|
| | | var _npc = GAMgr.Instance.ReqClntFightNpc<GA_NpcClientFightBoss>(10103001, E_ActorGroup.Enemy);
|
| | | var _npc = GAMgr.Instance.ReqClntFightNpc<GA_NpcClientFightNorm>(10101002, E_ActorGroup.Enemy);
|
| | | _npc.BornPos = _npc.Pos = PlayerDatas.Instance.hero.Pos;
|
| | | _npc.ActorInfo.ResetHp(5, -1, 5);
|
| | |
|
| | | // var _npc = GAMgr.Instance.ReqClntFightNpc<GA_NpcClientFightBoss>(10103001, E_ActorGroup.Enemy);
|
| | |
|
| | | // GActorPlayerBase.PlayerInfo _playerInfo = new GActorPlayerBase.PlayerInfo();
|
| | | // _playerInfo.maxHp = (uint)PlayerDatas.Instance.extersion.MaxMP;
|
| | |
| | | // };
|
| | |
|
| | | // GAMgr.Instance.ReqClntPlayer<GA_PVPClientPlayer>(_playerInfo, E_ActorGroup.Player);
|
| | | // AdventureStage.Instance.Enter();
|
| | | }
|
| | |
|
| | | if (GUILayout.Button("重置PVP敌方"))
|
| | | {
|
| | | GA_PVPClientPlayer.Reset();
|
| | | // GA_PVPClientPlayer.Reset();
|
| | | // AdventureStage.Instance.Exit();
|
| | | }
|
| | |
|
| | | _navChkPos = EditorGUILayout.Vector3Field("检测点", _navChkPos);
|