Files
SoulliesOfficial d09b58fd80 架构大更
2026-03-20 11:56:50 -04:00

26 lines
659 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.intentionBaseWeight;
this.currentWeight = baseWeight;
}
public void RefreshCurrentWeight()
{
this.currentWeight = baseWeight;
}
}
}