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

@@ -237,22 +237,6 @@ public class Controls : MonoBehaviour
}
}
public void OnSkillFive()
{
if (uihandler.isPlayerInFight())
{
fight.GetComponent<Fight>().playerAction(5);
}
}
public void OnSkillSix()
{
if (uihandler.isPlayerInFight())
{
fight.GetComponent<Fight>().playerAction(6);
}
}
public void OnDisarm()
{
if (player.GetComponent<PlayerGameObject>().isArmed)