Update
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Continentis.Mods.Basic.Cards
|
||||
{
|
||||
base.Initialize(card);
|
||||
this.card.eventSubmodule.onInitiativeDiscard.Add("FirmBelief_PlayWhenDiscard",
|
||||
new PrioritizedCheckAndEffect(() => true, () => card.Play(new List<CharacterBase>(), user)));
|
||||
new PrioritizedCheckAndEffect(() => true, () => card.Play(new List<CharacterBase>(), user, false, true)));
|
||||
}
|
||||
|
||||
public override void SetUpLogicComponents()
|
||||
@@ -26,7 +26,7 @@ namespace Continentis.Mods.Basic.Cards
|
||||
CommandGroup mainGroup = SingleCommandGroup(
|
||||
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||
new Cmd_Function(() => user.AddBlock(GetAttribute("Block"))),
|
||||
new Cmd_Function(() => user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount"))));
|
||||
user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount")));
|
||||
|
||||
return new List<CommandBase> { mainGroup };
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Continentis.Mods.Basic.Cards
|
||||
|
||||
private void SelectEffect(CardInstance card)
|
||||
{
|
||||
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DiscardCard(card, true), new CommandContext());
|
||||
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DiscardCard(card, true, 0f), new CommandContext());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user