From 6cd8d57e2417a034faae341d3be1e54d5e324582 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 07 三月 2019 22:23:00 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.173on.com:10010/r/snxxz_scripts
---
Utility/RuntimeLogUtility.cs | 62 ++++++++++++++++--------------
1 files changed, 33 insertions(+), 29 deletions(-)
diff --git a/Utility/RuntimeLogUtility.cs b/Utility/RuntimeLogUtility.cs
index dbb203f..be73b93 100644
--- a/Utility/RuntimeLogUtility.cs
+++ b/Utility/RuntimeLogUtility.cs
@@ -237,38 +237,42 @@
if (GUILayout.Button("鍒涘缓PVP鏁屾柟"))
{
- GActorPlayerBase.PlayerInfo _playerInfo = new GActorPlayerBase.PlayerInfo();
- _playerInfo.maxHp = (uint)PlayerDatas.Instance.extersion.MaxMP;
- _playerInfo.hp = _playerInfo.maxHp;
- _playerInfo.level = 200;
- _playerInfo.job = 1;
- _playerInfo.name = "鏈哄櫒浜�";
+ 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);
- _playerInfo.itemDatas = new GActorPlayerBase.CEquipInfo[4];
+ // GActorPlayerBase.PlayerInfo _playerInfo = new GActorPlayerBase.PlayerInfo();
+ // _playerInfo.maxHp = (uint)PlayerDatas.Instance.extersion.MaxMP;
+ // _playerInfo.hp = _playerInfo.maxHp;
+ // _playerInfo.level = 200;
+ // _playerInfo.job = 1;
+ // _playerInfo.name = "鏈哄櫒浜�";
- // 10484, 10481, 10482, 3713
- _playerInfo.itemDatas[0] = new GActorPlayerBase.CEquipInfo
- {
- id = 10484,
- place = (int)RoleEquipType.Clothes
- };
- _playerInfo.itemDatas[1] = new GActorPlayerBase.CEquipInfo
- {
- id = 10481,
- place = (int)RoleEquipType.Weapon
- };
- _playerInfo.itemDatas[2] = new GActorPlayerBase.CEquipInfo
- {
- id = 10482,
- place = (int)RoleEquipType.Weapon2
- };
- _playerInfo.itemDatas[3] = new GActorPlayerBase.CEquipInfo
- {
- id = 3713,
- place = (int)RoleEquipType.Wing
- };
+ // _playerInfo.itemDatas = new GActorPlayerBase.CEquipInfo[4];
- GAMgr.Instance.ReqClntPlayer<GA_PVPClientPlayer>(_playerInfo, E_ActorGroup.Player);
+ // // 10484, 10481, 10482, 3713
+ // _playerInfo.itemDatas[0] = new GActorPlayerBase.CEquipInfo
+ // {
+ // id = 10484,
+ // place = (int)RoleEquipType.Clothes
+ // };
+ // _playerInfo.itemDatas[1] = new GActorPlayerBase.CEquipInfo
+ // {
+ // id = 10481,
+ // place = (int)RoleEquipType.Weapon
+ // };
+ // _playerInfo.itemDatas[2] = new GActorPlayerBase.CEquipInfo
+ // {
+ // id = 10482,
+ // place = (int)RoleEquipType.Weapon2
+ // };
+ // _playerInfo.itemDatas[3] = new GActorPlayerBase.CEquipInfo
+ // {
+ // id = 3713,
+ // place = (int)RoleEquipType.Wing
+ // };
+
+ // GAMgr.Instance.ReqClntPlayer<GA_PVPClientPlayer>(_playerInfo, E_ActorGroup.Player);
}
if (GUILayout.Button("閲嶇疆PVP鏁屾柟"))
--
Gitblit v1.8.0