| | |
| | | hintConfig = DamageNumConfig.Get(BattleConst.BattleChaseAttack); |
| | | } |
| | | |
| | | if (hintConfig != null) |
| | | { |
| | | caster.heroInfoBar.ShowTips(((char)hintConfig.prefix).ToString(), true, false, 1.25f); |
| | | // Debug.Break(); |
| | | } |
| | | Hint(caster, hintConfig); |
| | | |
| | | |
| | | } |
| | | |
| | | // 高亮所有本次技能相关的目标 |
| | |
| | | Debug.LogError("强制结束技能 暂时不支持其他的方式释放 有需求please联系策划 技能id:" + skillConfig.SkillID + " cast position " + skillConfig.CastPosition); |
| | | ForceFinished(); |
| | | break; |
| | | } |
| | | } |
| | | |
| | | protected void Hint(BattleObject battleObject, DamageNumConfig hintConfig) |
| | | { |
| | | if (hintConfig != null) |
| | | { |
| | | battleObject.heroInfoBar.ShowTips(((char)hintConfig.prefix).ToString(), true, false, 1.25f); |
| | | } |
| | | } |
| | | |
| | |
| | | OnHitEachTargetEx(_hitIndex, exTarget, hurtEx); |
| | | } |
| | | } |
| | | |
| | | if (0 == _hitIndex) |
| | | { |
| | | bool needhint = false; |
| | | |
| | | for (int i = 0; i < hitList.Count; i++) |
| | | { |
| | | var hurt = hitList[i]; |
| | | |
| | | //8-击晕 |
| | | if ((hurt.AttackTypes & (int)DamageType.Stunned) == (int)DamageType.Stunned) |
| | | { |
| | | needhint = true; |
| | | break; |
| | | } |
| | | |
| | | for (int j = 0; j < hurt.HurtListEx?.Length; j++) |
| | | { |
| | | var hurtex = hurt.HurtListEx[j]; |
| | | //8-击晕 |
| | | if ((hurtex.AttackTypes & (int)ServerDamageType.Stunned) == (int)ServerDamageType.Stunned) |
| | | { |
| | | needhint = true; |
| | | break; |
| | | } |
| | | } |
| | | |
| | | if (needhint) |
| | | break; |
| | | } |
| | | |
| | | if (needhint) |
| | | { |
| | | DamageNumConfig hintConfig = DamageNumConfig.Get(BattleConst.BattleStun); |
| | | Hint(caster, hintConfig); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | // 处理单个目标被命中:应用伤害和施法者效果 |