" I can’t cast “#{spell}” on the target
and I also did:
hero.cast("drain-life", target)
and YET, It still says that can someone give me specific code on how to do this?
Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!
How do you use The Precious?, well, with the ring equipped, you will see the available methods:
With that, you can click on the available option and get (one example):
But, you never truly disappear to your own view…that would make the coding, and gaming, quite difficult. In my testing, there is an icon flashing above the hero avatar, indicating the most recent spell (event) in effect.