(clienr) feat:事件定义
This commit is contained in:
11
Client/Assets/Scripts/Data/HediffEventDef.cs
Normal file
11
Client/Assets/Scripts/Data/HediffEventDef.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace Data
|
||||
{
|
||||
public class HediffEventDef:Define
|
||||
{
|
||||
public HediffDef hediff; // 要添加的HediffDef的defName
|
||||
public float hediffSeverity = 1.0f; // 添加时Hediff的严重程度或进度
|
||||
public AffiliationDef affiliation; // 目标的派系DefName
|
||||
public bool forAllPawnsInFaction = false; // 是否为该派系的所有Pawns添加Hediff
|
||||
public int specificPawnCount = 1; // 如果不是所有Pawns,指定数量
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user