| | |
| | | TeamHero teamHero = caster.teamHero; |
| | | EventBroadcast.Instance.Broadcast<string, SkillConfig, TeamHero>(EventName.BATTLE_CAST_SKILL, guid, skillConfig, teamHero); |
| | | |
| | | if (caster != null) |
| | | { |
| | | // 战斗类型 0-常规;1-连击;2-反击;3-追击;4-子技能;5-被动触发的 |
| | | DamageNumConfig hintConfig = null; |
| | | if (tagUseSkillAttack.BattleType == 1) |
| | | { |
| | | hintConfig = DamageNumConfig.Get(BattleConst.BattleComboAttack); |
| | | } |
| | | else if (tagUseSkillAttack.BattleType == 2) |
| | | { |
| | | hintConfig = DamageNumConfig.Get(BattleConst.BattleCounterAttack); |
| | | } |
| | | else if (tagUseSkillAttack.BattleType == 3) |
| | | { |
| | | hintConfig = DamageNumConfig.Get(BattleConst.BattleChaseAttack); |
| | | } |
| | | |
| | | if (hintConfig != null) |
| | | { |
| | | caster.heroInfoBar.ShowTips(((char)hintConfig.prefix).ToString(), true); |
| | | } |
| | | } |
| | | |
| | | // 高亮所有本次技能相关的目标 |
| | | HighLightAllTargets(); |
| | | |