| | |
| | | attackType = (byte)HurtAttackType.Normal;
|
| | | }
|
| | |
|
| | | if (ClientSceneManager.Instance.IsClientFightMode)
|
| | | GActorNpcFight _actorFight = target as GActorNpcFight;
|
| | |
|
| | | if (ClientSceneManager.Instance.IsClientFightMode || (_actorFight != null && _actorFight.NpcConfig.IsBoss == 0))
|
| | | {
|
| | | if (_exceptSkill != null && _exceptSkill.effectValue.ContainsKey(4092))
|
| | | {
|
| | |
| | |
|
| | | int _rate = 0;
|
| | |
|
| | | _skillInfo = SkillHelper.Instance.GetExpertSkill(skillId);
|
| | | if (_skillInfo.effectValue.TryGetValue(4081, out _effectValue))
|
| | | {
|
| | | _rate += _effectValue.value1;
|
| | | }
|
| | |
|
| | | var _dict = StatusMgr.Instance.ZhongJiDict;
|
| | | foreach (var _info in _dict.Values)
|
| | | {
|
| | |
| | | _rate += _info.rate;
|
| | | }
|
| | | }
|
| | | if (_hero.SkillMgr.TryGetPassiveEffectValue(4081, out _effectValue, out _skillInfo))
|
| | |
|
| | | _skillInfo = SkillHelper.Instance.GetExpertSkill(skillId);
|
| | | if (_skillInfo != null && _skillInfo.effectValue.TryGetValue(4081, out _effectValue))
|
| | | {
|
| | | if (_effectValue.value2 == 1)
|
| | | {
|