五张牌!

This commit is contained in:
SoulliesOfficial
2025-10-30 04:21:28 -04:00
parent 2906206f0c
commit 4c7e5c397b
171 changed files with 2168 additions and 41 deletions

View File

@@ -0,0 +1,17 @@
using Continentis.MainGame.Character;
using Continentis.Mods.Basic.Buffs;
using UnityEngine;
namespace Continentis.MainGame.Card
{
public class CardLogicComponent_Protect : CardLogicComponentBase
{
public void GenerateProtection(CharacterBase protector, CharacterBase target, int roundCount)
{
Protected protectedBuff = card.CreateCharacterBuff<Protected>(protector);
protectedBuff.Apply(target, user, card);
Protecting protectingBuff = card.CreateCharacterBuff<Protecting>(target, roundCount, protectedBuff);
protectingBuff.Apply(protector, user, card);
}
}
}