眩晕
This commit is contained in:
parent
bd0c31fcf2
commit
88af3457ad
@ -50,6 +50,7 @@ public enum BuffTypeState
|
|||||||
public class Fun : Base
|
public class Fun : Base
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 扣血 传入参数 目标,伤害值,攻击类型,使用者,子弹射来的方向(0是右边,1是左边)
|
/// 扣血 传入参数 目标,伤害值,攻击类型,使用者,子弹射来的方向(0是右边,1是左边)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -102,6 +103,8 @@ public class Fun : Base
|
|||||||
targetRole.Navigation.StopPathDoTween(duration);
|
targetRole.Navigation.StopPathDoTween(duration);
|
||||||
Debug.LogWarning(targetRole.name + "执行眩晕效果");
|
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}.");
|
Debug.LogWarning($"应用眩晕 {duration} 至 {targetRole.name}.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user