| | |
| | | continue;
|
| | | }
|
| | |
|
| | | if (_sTarget.AttackType == (int)HurtAttackType.FinalKill)
|
| | | {
|
| | | var _funcConfig = Config.Instance.Get<FuncConfigConfig>("KillEffects");
|
| | | if (_funcConfig != null)
|
| | | {
|
| | | int _effectID = 0;
|
| | | if (int.TryParse(_funcConfig.Numerical1, out _effectID))
|
| | | {
|
| | | SFXPlayUtility.Instance.PlayBattleEffect(_effectID, _cTarget.Root);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | if (_cTarget.ServerInstID == PlayerDatas.Instance.PlayerId)
|
| | | {
|
| | | if (GAMgr.Instance.otherPlayerAtkHeroDict.ContainsKey(_cTarget.ServerInstID))
|
| | |
| | | {
|
| | | continue;
|
| | | }
|
| | |
|
| | | CheckFanJi(_attacker, _sTarget, _cTarget);
|
| | | _cTarget.ActorInfo.SyncServerHp = _sTarget.CurHP;
|
| | | _cTarget.ActorInfo.SyncServerHpEx = _sTarget.CurHPEx;
|
| | |
|
| | | if (_sTarget.AttackType == (int)HurtAttackType.FinalKill)
|
| | | {
|
| | | var _funcConfig = Config.Instance.Get<FuncConfigConfig>("KillEffects");
|
| | | if (_funcConfig != null)
|
| | | {
|
| | | int _effectID = 0;
|
| | | if (int.TryParse(_funcConfig.Numerical1, out _effectID))
|
| | | {
|
| | | SFXPlayUtility.Instance.PlayBattleEffect(_effectID, _cTarget.Root);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | if (_cTarget.ServerInstID == PlayerDatas.Instance.PlayerId)
|
| | | {
|
| | | if (GAMgr.Instance.otherPlayerAtkHeroDict.ContainsKey(_cTarget.ServerInstID))
|