Files

25 lines
622 B
C#
Raw Permalink Normal View History

2025-01-25 04:38:09 +08:00

using Thousandto.Cfg.Data;
using Thousandto.Code.Global;
namespace Thousandto.Code.Logic
{
public class CollectionPropterty : BaseProperty
{
public int CfgID { get; private set; }
public DeclareGather Cfg { get; private set; }
public CollectionPropterty(Collection owner, DeclareGather cfg)
{
_owner = owner;
ID = owner.ID;
Cfg = cfg;
CfgID = Cfg.Id;
Name = Cfg.Name;
LogicBodyRadius = cfg.LogicBodySize / 100f;
CurHP = 1;
SetBattleProp(AllBattleProp.MaxHP, 1);
}
}
}