| Core/NetworkPackage/DTCFile/ServerPack/H06_PlayerVsNPC/DTC0614_tagUseSkillPos.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/Actor/Skill/FlyObject/FlyObjectManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/Actor/Status/Status_Base.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/GameActor/GAMgr.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/GameActor/GA_Hero.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/NetworkPackage/DTCFile/ServerPack/H06_PlayerVsNPC/DTC0614_tagUseSkillPos.cs
@@ -201,13 +201,14 @@ if (_cTarget.ServerInstID == PlayerDatas.Instance.PlayerId) { if (GAMgr.Instance.otherPlayerAtkHeroDict.ContainsKey(_cTarget.ServerInstID)) if (GAMgr.Instance.otherPlayerAtkHeroDict.ContainsKey(_attacker.ServerInstID)) { GAMgr.Instance.otherPlayerAtkHeroDict[_cTarget.ServerInstID] = Time.realtimeSinceStartup; GAMgr.Instance.otherPlayerAtkHeroDict[_attacker.ServerInstID] = Time.realtimeSinceStartup; } else { GAMgr.Instance.otherPlayerAtkHeroDict.Add(_cTarget.ServerInstID, Time.realtimeSinceStartup); GAMgr.Instance.otherPlayerAtkHeroDict.Add(_attacker.ServerInstID, Time.realtimeSinceStartup); GA_Hero.CallOnStartBeAttacked(_attacker.ServerInstID); } if (!_attacker.ShowOrHide) Fight/Actor/Skill/FlyObject/FlyObjectManager.cs
@@ -48,7 +48,6 @@ } else if (_so.type == SoFlyObject.E_FlyObjectType.Transmit) { if (_pool.inactivedCount == 0) { _pool.Add(new FoTransmit()); Fight/Actor/Status/Status_Base.cs
@@ -78,7 +78,8 @@ if (data.BuffType == (int)E_BuffType.bfActionBuff) { GActorPlayerBase _player = _target as GActorPlayerBase; if (_player != null) { if (!CanMove()) { if (_target is GActorPlayerBase) @@ -119,6 +120,7 @@ } } } } public abstract void Update(); Fight/GameActor/GAMgr.cs
@@ -1161,6 +1161,7 @@ { if (otherPlayerAtkHeroDict.ContainsKey(_removeIdList[i])) { GA_Hero.CallOnStopBeAttacked(_removeIdList[i]); otherPlayerAtkHeroDict.Remove(_removeIdList[i]); } } Fight/GameActor/GA_Hero.cs
@@ -22,6 +22,25 @@ // } //} public static event UnityAction<uint> OnStartBeAttacked; public static event UnityAction<uint> OnStopBeAttacked; public static void CallOnStartBeAttacked(uint sid) { if (OnStartBeAttacked != null) { OnStartBeAttacked(sid); } } public static void CallOnStopBeAttacked(uint sid) { if (OnStopBeAttacked != null) { OnStopBeAttacked(sid); } } public static event UnityAction<float> OnStateEnter; public static event UnityAction OnStateEnd;