using Continentis.MainGame.Character; using UnityEngine; namespace Continentis.MainGame.Card { public abstract partial class CardBuffBase : BuffBase { public CardInstance attachedCard; public CharacterBase sourceCharacter; public UsageSubmodule usageSubmodule; public UnitedStackSubmodule unitedStackSubmodule; public IndependentStackSubmodule independentStackSubmodule; public AttributeSubmodule attributeSubmodule; } public partial class CardBuffBase { public override void Apply(CardInstance attached) { this.Apply(attached, null); } public abstract void Apply(CardInstance attachedCard, CharacterBase sourceCharacter = null); } }