all repos — RPG @ d5cc90a99daa18d6b6678c9643453ad88b1ce9fd

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Scripts/Battle/Fighters/Mutant.cs (view raw)

 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5public class Mutant : Orc
 6{
 7    public Mutant()
 8    {
 9        stats = new Stats("Mutant");
10        description = "He's kinda strong, but still as dumb as a rock.";
11
12        goldDrop = 60;
13        itemsDrop = new Inventory();
14        itemsDrop.generateItem(new ItemInfo(new Potion(), 1));
15        //itemsDrop.generateItem(new ItemInfo(new Key(), 1));
16
17        dead = defending = false;
18    }
19}