Files
Continentis/Assets/Scripts/MainGame/Card/CardBuff/CardBuffBase.cs

28 lines
793 B
C#
Raw Normal View History

2025-10-03 00:02:43 -04:00
using Continentis.MainGame.Character;
using UnityEngine;
namespace Continentis.MainGame.Card
{
2025-11-15 12:17:34 -05:00
public abstract partial class CardBuffBase : BuffBase<CardInstance>
2025-10-03 00:02:43 -04:00
{
2025-11-15 12:17:34 -05:00
public CardInstance attachedCard;
2025-10-03 00:02:43 -04:00
public CharacterBase sourceCharacter;
public UsageSubmodule usageSubmodule;
public UnitedStackSubmodule unitedStackSubmodule;
public IndependentStackSubmodule independentStackSubmodule;
public AttributeSubmodule attributeSubmodule;
}
public partial class CardBuffBase
{
2025-11-15 12:17:34 -05:00
public override void Apply(CardInstance attached)
2025-10-03 00:02:43 -04:00
{
this.Apply(attached, null);
}
2025-11-15 12:17:34 -05:00
public abstract void Apply(CardInstance attachedCard, CharacterBase sourceCharacter = null);
2025-10-03 00:02:43 -04:00
}
}