This commit is contained in:
SoulliesOfficial
2025-12-13 23:28:23 -05:00
parent 40660b41e0
commit 467e385991
49 changed files with 238 additions and 161 deletions

View File

@@ -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 };
}

View File

@@ -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());
}
}