Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | {
|
| | | _target = GAMgr.Instance.GetByCID(skill.hitClientBattleTargetList[i]) as GActorFight;
|
| | |
|
| | | if (PersonalEnemy.m_CBinSdDict.ContainsKey(_target.ServerInstID))
|
| | | {
|
| | | continue;
|
| | | }
|
| | |
|
| | | AttackHandler.HurtObjs _hurtObject = new AttackHandler.HurtObjs
|
| | | {
|
| | | ObjID = (uint)_target.ServerInstID,
|
| | |
| | |
|
| | | if (_doReduceHp)
|
| | | {
|
| | | if (attacker is GA_NpcClientFightNorm || target is GA_NpcClientFightNorm)
|
| | | {
|
| | | target.ActorInfo.ReduceHp((uint)hurtValue);
|
| | | }
|
| | | else
|
| | | {
|
| | | target.ActorInfo.ReduceHp((uint)realHurtValue);
|
| | | }
|
| | | // if (attacker is GA_NpcClientFightNorm || target is GA_NpcClientFightNorm)
|
| | | // {
|
| | | // target.ActorInfo.ReduceHp((uint)hurtValue);
|
| | | // }
|
| | | // else
|
| | | // {
|
| | | target.ActorInfo.ReduceHp((uint)realHurtValue);
|
| | | // }
|
| | | }
|
| | |
|
| | | if (target.ServerInstID == PlayerDatas.Instance.baseData.PlayerID)
|