Removed druid class, fixed UI. Final release
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Assets.Scripts.Classes
|
||||
{
|
||||
class DruidClass : BasicClass
|
||||
{
|
||||
public DruidClass() : base()
|
||||
{
|
||||
classname = "Druid";
|
||||
dexterityBonus = 1;
|
||||
intelligenceBonus = 1;
|
||||
strengthBonus = -2;
|
||||
healthBonus = -10;
|
||||
secondaryBonus = 20;
|
||||
leftHandName = "smallShield";
|
||||
rightHandName = "wand";
|
||||
}
|
||||
|
||||
public override void GenerateSkills(BasicSkill[] skills)
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce055e9ff490d19b1ad6695aed3e5687
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -81,10 +81,6 @@ public class Controls : MonoBehaviour
|
||||
{
|
||||
Cursor.lockState = CursorLockMode.Confined;
|
||||
}
|
||||
GameObject.Find("txtInteract").GetComponent<Text>().text = GameObject.Find("txtInteract").GetComponent<Text>().text.Replace("[ButtonEast]", "[E]");
|
||||
GameObject.Find("txtInteraction_Tutorial").GetComponent<Text>().text = GameObject.Find("txtInteraction_Tutorial").GetComponent<Text>().text.Replace("[E]", "[ButtonEast]");
|
||||
GameObject.Find("txtTutorialGoal").GetComponent<Text>().text = GameObject.Find("txtTutorialGoal").GetComponent<Text>().text.Replace("[Start]", "[ESC]");
|
||||
|
||||
}
|
||||
|
||||
public void OnLooking(InputValue value)
|
||||
|
||||
@@ -90,9 +90,6 @@ namespace Assets.Scripts
|
||||
case "Mage":
|
||||
replacement = "Orb";
|
||||
break;
|
||||
case "Druid":
|
||||
replacement = "Shield";
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (place == ItemPlace.RIGHTHAND)
|
||||
@@ -108,9 +105,6 @@ namespace Assets.Scripts
|
||||
case "Mage":
|
||||
replacement = "Wand";
|
||||
break;
|
||||
case "Druid":
|
||||
replacement = "Wand";
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (itemName != null)
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace Assets.Scripts.Menu
|
||||
int role = GameObject.Find("dropClass").GetComponent<Dropdown>().value;
|
||||
int race = GameObject.Find("dropRace").GetComponent<Dropdown>().value;
|
||||
BasicRace playerRace = new BasicRace();
|
||||
BasicClass playerClass = new DruidClass();
|
||||
BasicClass playerClass = new ThiefClass();
|
||||
switch (role)
|
||||
{
|
||||
case 0:
|
||||
@@ -73,9 +73,6 @@ namespace Assets.Scripts.Menu
|
||||
case 2:
|
||||
playerClass = new ThiefClass();
|
||||
break;
|
||||
case 3:
|
||||
playerClass = new DruidClass();
|
||||
break;
|
||||
}
|
||||
switch (race)
|
||||
{
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace Assets.Scripts.Player
|
||||
public void generatePlayer()
|
||||
{
|
||||
BasicRace race = new BasicRace();
|
||||
BasicClass role = new DruidClass();
|
||||
BasicClass role = new ThiefClass();
|
||||
switch (PlayerPrefs.GetInt("class"))
|
||||
{
|
||||
case 0:
|
||||
@@ -119,9 +119,6 @@ namespace Assets.Scripts.Player
|
||||
case 2:
|
||||
role = new ThiefClass();
|
||||
break;
|
||||
case 3:
|
||||
role = new DruidClass();
|
||||
break;
|
||||
}
|
||||
switch (PlayerPrefs.GetInt("race"))
|
||||
{
|
||||
|
||||
@@ -109,9 +109,6 @@ namespace Assets.Scripts.Player
|
||||
case "Thief":
|
||||
role = new ThiefClass();
|
||||
break;
|
||||
case "Driud":
|
||||
role = new DruidClass();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user