This commit is contained in:
wulongxiao 2024-12-25 16:47:58 +08:00
commit 4eb6e3c01d

View File

@ -49,7 +49,8 @@ public enum BuffTypeState
public class Fun : Base
{
/// <summary>
/// 扣血 传入参数 目标,伤害值,攻击类型,使用者子弹射来的方向0是右边1是左边
/// </summary>
@ -101,7 +102,9 @@ public class Fun : Base
// 执行眩晕效果
targetRole.Navigation.StopPathDoTween(duration);
Debug.LogWarning(targetRole.name + "执行眩晕效果");
GameObject go = Instantiate(Resources.Load<GameObject>("A_Fight/XuanYun"), targetRole.transform);
go.GetComponent<XuanYun>().DesSelf(duration);
Debug.LogWarning($"应用眩晕 {duration} 至 {targetRole.name}.");
}
else