You need to set the variable inside the while true loop using the function, it won’t run the function otherwise.
E.g. adding strongest = findStrongestEnemy(hero.findEnemies())
1 Like
You need to set the variable inside the while true loop using the function, it won’t run the function otherwise.
E.g. adding strongest = findStrongestEnemy(hero.findEnemies())