|
@@ -32,6 +32,8 @@ namespace Fort23.Mono.Phases
|
|
|
actionList.Add(OnStep406);
|
|
|
actionList.Add(OnStep407);
|
|
|
actionList.Add(OnStep408);
|
|
|
+ actionList.Add(OnStep409);
|
|
|
+ actionList.Add(OnStep410);
|
|
|
|
|
|
|
|
|
actionList.Add(OnStepEnd);
|
|
@@ -229,13 +231,62 @@ namespace Fort23.Mono.Phases
|
|
|
pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
|
|
|
pgm.SetFingerVisiable(true);
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 上辅助功法
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="obj"></param>
|
|
|
+ public async CTask OnStep408(UnityEngine.Object obj)
|
|
|
+ {
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
+ GameObject gameObject =
|
|
|
+ UIManager.Instance.GetComponent<SkillSelectPanel>()._skillWidgets[2].own;
|
|
|
+ Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
+ Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
|
+
|
|
|
+ pgm.SetfxTransVisiable(true);
|
|
|
+ pgm.SetMaskTarget(gameObject);
|
|
|
+ pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
|
+
|
|
|
+ await pgm.ConfigLogic(408, delegate() { });
|
|
|
+
|
|
|
+ pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
|
|
|
+ pgm.SetFingerVisiable(true);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="obj"></param>
|
|
|
+ public async CTask OnStep409(UnityEngine.Object obj)
|
|
|
+ {
|
|
|
+ pgm.StepInit();
|
|
|
+ await TimerComponent.Instance.WaitAsync(100);
|
|
|
+
|
|
|
+ GameObject gameObject =
|
|
|
+ UIManager.Instance.GetComponent<SkillSelectPanel>().allKongSkill[6].own;
|
|
|
+ Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
|
|
|
+ Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
|
|
|
+
|
|
|
+ pgm.SetfxTransVisiable(true);
|
|
|
+ pgm.SetMaskTarget(gameObject);
|
|
|
+ pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
|
+
|
|
|
+ await pgm.ConfigLogic(409, delegate() { });
|
|
|
+
|
|
|
+ pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
|
|
|
+ pgm.SetFingerVisiable(true);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 功法调整完毕,点这里返回
|
|
|
/// </summary>
|
|
|
/// <param name="obj"></param>
|
|
|
- public async CTask OnStep408(UnityEngine.Object obj)
|
|
|
+ public async CTask OnStep410(UnityEngine.Object obj)
|
|
|
{
|
|
|
pgm.StepInit();
|
|
|
await TimerComponent.Instance.WaitAsync(100);
|
|
@@ -249,7 +300,7 @@ namespace Fort23.Mono.Phases
|
|
|
pgm.SetMaskTarget(gameObject);
|
|
|
pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
|
|
|
|
|
|
- await pgm.ConfigLogic(408, delegate() { });
|
|
|
+ await pgm.ConfigLogic(410, delegate() { });
|
|
|
|
|
|
pgm.SetFingerPos(pgm.Setpos(localPos, size, gameObject));
|
|
|
pgm.SetFingerVisiable(true);
|