Added an artifact that attracts creatures, item max health can be changed & items can be made indestructible
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
public override void Update(float deltaTime)
|
||||
{
|
||||
if (item.Condition > 50.0f) Finished();
|
||||
if (item.Condition > item.Prefab.Health * 0.5f) Finished();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user