Class MonsterPool.SpawnRuleEntry
Inheritance
object
MonsterPool.SpawnRuleEntry
Assembly: Dew.Core.dll
Syntax
[Serializable]
public class MonsterPool.SpawnRuleEntry
Fields
chance
Declaration
Field Value
conditions
Declaration
public List<MonsterSpawnCondition> conditions
Field Value
maxCount
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
public int maxCount
Field Value
minCount
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
public int minCount
Field Value
monster
Declaration
[HideLabel]
public AssetRef<Monster> monster
Field Value
useAnd
Declaration
[LabelText("All Conditions Must Match (AND)")]
[ToggleLeft]
[ShowIf("@conditions != null && conditions.Count > 1", true)]
public bool useAnd
Field Value
Methods
Clone()
Declaration
public MonsterPool.SpawnRuleEntry Clone()
Returns
EvaluateCondition()
Declaration
public bool EvaluateCondition()
Returns