Almost Final Version

This commit is contained in:
2022-05-16 01:13:50 +07:00
parent bb6aea8720
commit 150efde055
47 changed files with 1120 additions and 4707 deletions

View File

@ -21,7 +21,7 @@ public class Player : MonoBehaviour, ICharacter
}
public event Action<bool> OnDeathEvent;
public void GetDamage(float damage)
public void GetDamage(int damage)
{
PlayerCharacter.LastTimeHit = TimeManager.Instance.CurrentTime;
Condition.GiveHealth(-Mathf.RoundToInt(damage * (1 - Condition.ArmourPoints * 0.5f)));