More cards

This commit is contained in:
FrazeRIP
2025-11-10 01:06:46 -06:00
parent 40d79761b6
commit 64768d9032
19 changed files with 284 additions and 23 deletions

View File

@@ -11,13 +11,13 @@ namespace Continentis.Mods.Basic.Cards
{
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCardAmount")));
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCount")));
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
{
if (target != user)
{
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack_Corrosion")).Apply(target, user, this);
CreateCharacterBuff<Corrosion>(GetAttribute("BuffStack")).Apply(target, user, this);
}
}));
return new List<CommandBase> { mainGroup };