Added an artifact that attracts creatures, item max health can be changed & items can be made indestructible

This commit is contained in:
Joonas Rikkonen
2017-07-04 22:10:30 +03:00
parent d397253fa1
commit 9b054ebd50
14 changed files with 83 additions and 33 deletions
@@ -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();
}
}
}