That actually had the same effect
no wait everyone just wait im testing his code to see whats wrong
yak_vector = Vector.subtract(yak.pos, hero.pos)
you have yak.pos and heros.pos backwards
I tried it out with Ritic and Illia didn’t work it is the order of when he does everything
That didn’t do the trick(I test out the updated code so I can give the heads up weather it is good or bad code)
and since they are swapped it causes the hero’s last code to produce ans error.
hero.move(moveToPos)
what gear do you have @milton.jinich
I use ritic and Boots of leaping(if you do this level right you don’t need any armor if you do the level right
and the fact that you are on level 28 means that you have not completed every non sub level
i have once before dude
i made another account like several people do
I like to stick to one
why it is fun going through and seeing if you can get a higher level or more gems than the last time
but anyways we are getting off topic lol
But the real question is did @Dragonlouis complete the level
idk he never said but now we know i was right at least
Oh, @Archipelago-Gold I just got yak.pos and hero.pos mixed up when subtracting.
yeah did you fix it because that was what i have been saying lol
Ok, like, I absolutely do not understand this. Can someone explain?
# Incoming oscars! (That's military speak for ogres).
# You will need to calculate their angle of attack.
# Use that angle to command your Griffin Bombers!
while True:
enemy = hero.findNearestEnemy()
if enemy:
# Find the vector of attack
# Use trigonometry to find the the angle in Radians!
# The answer must be in Degrees!
# To convert Radians to Degrees multiply by (180 / Math.PI)
# Say the angle!