S3402.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using GameLogic.Combat.CombatTool;
  2. using UTool.CustomizeTimeLogic.FxLogic.TimeLineEventinterface;
  3. namespace GameLogic.Combat.Skill.MagicSkill
  4. {
  5. /// <summary>
  6. /// 打断对手当前正在生效中的法宝
  7. ///(表现不用飞去打,就原地播放一个特效就行了)
  8. /// </summary>
  9. public class S3402 : MagicSkillBasic
  10. {
  11. private CombatHeroEntity target;
  12. private bool isUpdate = false;
  13. private float _currTime;
  14. private int _useCount;
  15. protected override void ProMagicUseSkill()
  16. {
  17. ActivationTimeLineData("sk1_xiaoshi");
  18. SkillPlayFinish();
  19. }
  20. protected override ILifetCycleHitPoint[] ProGetTineLineTargetEntity(
  21. TimeLineEventLogicBasic timeLineEventLogicBasic)
  22. {
  23. ILifetCycleHitPoint[] lifetCycleHitPoints = new ILifetCycleHitPoint[1];
  24. lifetCycleHitPoints[0] = target.GetMainHotPoin<ILifetCycleHitPoint>();
  25. return lifetCycleHitPoints;
  26. }
  27. }
  28. }