28 lines
797 B
C#
28 lines
797 B
C#
using Continentis.MainGame.Character;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis.MainGame.Card
|
|
{
|
|
public abstract partial class CardBuffBase : BuffBase<CardLogicBase>
|
|
{
|
|
public CardLogicBase attachedCard;
|
|
public CharacterBase sourceCharacter;
|
|
|
|
public UsageSubmodule usageSubmodule;
|
|
|
|
public UnitedStackSubmodule unitedStackSubmodule;
|
|
public IndependentStackSubmodule independentStackSubmodule;
|
|
|
|
public AttributeSubmodule attributeSubmodule;
|
|
}
|
|
|
|
public partial class CardBuffBase
|
|
{
|
|
public override void Apply(CardLogicBase attached)
|
|
{
|
|
this.Apply(attached, null);
|
|
}
|
|
|
|
public abstract void Apply(CardLogicBase attachedCard, CharacterBase sourceCharacter = null);
|
|
}
|
|
} |