Fixed class behaviour, fixed fight mechanic, fixed skill usage
This commit is contained in:
@@ -107,7 +107,7 @@ namespace Assets.Scripts.Player
|
||||
public void generatePlayer()
|
||||
{
|
||||
BasicRace race = new BasicRace();
|
||||
BasicClass role = new BasicClass();
|
||||
BasicClass role = new DruidClass();
|
||||
switch (PlayerPrefs.GetInt("class"))
|
||||
{
|
||||
case 0:
|
||||
@@ -183,7 +183,8 @@ namespace Assets.Scripts.Player
|
||||
}
|
||||
|
||||
public void rotate(Vector2 input, Vector2 speed){
|
||||
transform.Rotate(Vector3.up, input.x * speed.x);// * Time.deltaTime);
|
||||
Debug.Log(input.x * speed.x);
|
||||
transform.Rotate(Vector3.up, input.x * speed.x * 5);// * Time.deltaTime);
|
||||
}
|
||||
|
||||
public void getRotation()
|
||||
|
||||
Reference in New Issue
Block a user