Help for Reflective Shield

Hi everyone,
please help me with this level?

The problem is the code is not allowed me to write to protect property, thanks.

Well, you don’t need to reflect nalfar.
You need to reflect the enemy missiles.
So do something like.
missile = hero.findNearest(hero.findEnemyMissiles())
Then do the vector and all that.

Hi, I use my code with the advice you told but the code cannot read property ‘pos’ properly.

use an if state ment
like if missile:
then do something

I manage to reflect the plasma ball but not deal damage to nalfar.

do the thing that ranger told u but only do