28 lines
793 B
C#
28 lines
793 B
C#
using Continentis.MainGame.Character;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis.MainGame.Card
|
|
{
|
|
public abstract partial class CardBuffBase : BuffBase<CardInstance>
|
|
{
|
|
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);
|
|
}
|
|
} |