引入属性、伤害管线
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
namespace SepCore.Definition
|
||||
{
|
||||
public sealed partial class StatConfig
|
||||
{
|
||||
public StatConfig()
|
||||
{
|
||||
}
|
||||
|
||||
public StatConfig(
|
||||
StatType statType,
|
||||
string name = "",
|
||||
float defaultBaseValue = 0f,
|
||||
bool hasMin = false,
|
||||
float minValue = 0f,
|
||||
bool hasMax = false,
|
||||
float maxValue = 0f,
|
||||
bool isPercentDisplay = false)
|
||||
{
|
||||
StatType = statType;
|
||||
Name = name;
|
||||
DefaultBaseValue = defaultBaseValue;
|
||||
HasMin = hasMin;
|
||||
MinValue = minValue;
|
||||
HasMax = hasMax;
|
||||
MaxValue = maxValue;
|
||||
IsPercentDisplay = isPercentDisplay;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user