AttackResult修改
This commit is contained in:
@@ -30,7 +30,10 @@ namespace Continentis.Mods.Basic.Cards
|
||||
}
|
||||
CommandGroup occupiedGroup = new CommandGroup(ExecutionMode.Sequential, new Cmd_Function(1, ()=>
|
||||
{
|
||||
Debug.Log("不插队指令,先于攻击触发,如果先执行抽牌说明插队成功");
|
||||
CommandQueueManager.Instance.AddCommand(new Cmd_Function(() =>
|
||||
{
|
||||
Debug.Log("插队指令,等待动画播放完毕");
|
||||
}), false);
|
||||
}));
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList, ExecutionMode.Sequential, ExecutionMode.Sequential, templates.ToArray());
|
||||
CommandGroup finalGroup = new CommandGroup(ExecutionMode.Sequential, new Cmd_Function(()=>
|
||||
@@ -39,7 +42,7 @@ namespace Continentis.Mods.Basic.Cards
|
||||
}));
|
||||
CommandGroup firstGroup = new CommandGroup(ExecutionMode.Sequential, new Cmd_Function(()=>
|
||||
{
|
||||
Debug.Log("插队指令,先抽牌");
|
||||
Debug.Log("插队指令,抽牌");
|
||||
}), new Cmd_DrawCards(user.deckSubmodule, 1));
|
||||
firstGroup.insertAtFirst = true;
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ namespace Continentis.Mods.Basic.Cards
|
||||
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
base.PlayEffect(targetList);
|
||||
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_PlayAnimation(user.characterView, "Attack"),
|
||||
new Cmd_ParamFunction<CharacterBase>(target =>
|
||||
|
||||
Reference in New Issue
Block a user