Fixed errors from prev commit

This commit is contained in:
TAASONI3
2023-12-13 13:00:31 +01:00
parent 17a0a22dd4
commit 884a17f330
3 changed files with 43 additions and 69 deletions

View File

@@ -316,15 +316,6 @@ namespace Assets.Scripts.Player
}
}
public void displaySkills(GameObject pnlSkills)
{
for (int i = 1; i <= 3; i++)
{
GameObject skill = pnlSkills.transform.Find("skill" + i).gameObject;
player.getSkill(i - 1).displaySkill(skill.transform.Find("imgAction").gameObject, skill.transform.Find("descAction").gameObject);
}
}
public PlayerStat getPlayerStat(string identifier){
return player.getStat(identifier);
}