Human.cs 478 B

123456789101112131415161718192021
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class Human : Creature {
  5. // Start is called before the first frame update
  6. void Start() {
  7. Dex = Random.Range(0, 100);
  8. movementRate = 30;
  9. CreatureHealth = Random.Range(20, 30);
  10. CurrentHealth = CreatureHealth;
  11. MaxHealth = CreatureHealth;
  12. IsCreatureAlive = true;
  13. }
  14. // Update is called once per frame
  15. void Update() {
  16. }
  17. }