void Start() { dropTable = new DropTable(); dropTable.loot = new List <LootDrop> { new LootDrop("sword", 25), new LootDrop("staff", 25), new LootDrop("potion_log", 25) }; ID = 0; Experiance = 20; navAgent = GetComponent <NavMeshAgent>(); chatacterStats = new ChatacterStats(6, 10, 2); currentHealth = maxHealth; }
void Start() { stats = GetComponent <Player>().chatacterStats; }
public void Consume(ChatacterStats stats) { Debug.Log("You drank the potion, bot"); }
void Start() { spawnProjectile = transform.Find("ProjectileSpawn"); chatacterStats = GetComponent <Player>().chatacterStats; }
void Start() { PlayerLevel = GetComponent <PlayerLevel>(); this.currentHealth = this.maxHealth; chatacterStats = new ChatacterStats(10, 10, 10); }