Files
Continentis/Assets/Scripts/MainGame/Card/CardSubmodules/WeightSubmodule.cs
SoulliesOfficial 85bbe2431c 意图初步
2025-11-15 09:08:36 -05:00

26 lines
652 B
C#

using System;
using UnityEngine;
namespace Continentis.MainGame.Card
{
public class WeightSubmodule : SubmoduleBase<CardLogicBase>
{
public bool forceUse;
public bool forceIgnore;
public float baseWeight;
public float currentWeight;
public WeightSubmodule(CardLogicBase owner) : base(owner)
{
this.forceUse = false;
this.forceIgnore = false;
this.baseWeight = owner.cardData.baseWeight;
this.currentWeight = baseWeight;
}
public void RefreshCurrentWeight()
{
this.currentWeight = baseWeight;
}
}
}