Fixed class behaviour, fixed fight mechanic, fixed skill usage

This commit is contained in:
Finnchen123
2025-06-07 11:16:49 +02:00
parent cb033ea487
commit faebc757f6
15 changed files with 65 additions and 81 deletions

View File

@@ -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()