make Health.MaxHP not readonly; some people want to frob it at runtime
This commit is contained in:
@@ -41,7 +41,7 @@ namespace OpenRA.Traits
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int HP { get { return hp; } }
|
public int HP { get { return hp; } }
|
||||||
public readonly int MaxHP;
|
public int MaxHP;
|
||||||
|
|
||||||
public bool IsDead { get { return hp <= 0; } }
|
public bool IsDead { get { return hp <= 0; } }
|
||||||
public bool RemoveOnDeath = true;
|
public bool RemoveOnDeath = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user