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