Files
Continentis/Assets/Scripts/MainGame/Card/CardSubmodules/WeightSubmodule.cs
SoulliesOfficial 5fe665d0ce Card爆改!
2025-11-15 12:17:34 -05:00

26 lines
650 B
C#

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