Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

The Trials Help!


I keep on dying near the end because I only have a little amount of 851 health
here is my code. :frowning:

var enemy = this.findNearestEnemy();
if(enemy) {
var flag = this.findFlag();


The trials are intended as a very hard and challenging level. You either need brute-force and huge amounts of HP, or a clever tactic. There is already a discussion about the trials ongoing, which is, at the time of this post, on the first page and as such easy to find with a little bit of effort.


I am a subscriber

loop {
    var flag = this.findFlag();
    var enemy = this.findNearestEnemy();
    if (flag) {
    } else if(enemy) {


Did you acutally read the linked topic?

I didn’t link the topic because I think you are not a subscriber, but to show that this level needs a lot of tactic. Dodging, kiting ect.
You’re code is not exactly… complicated. More the brute-force approach. And bugged (you don’t check if bash is ready).

On a side-note: Please, Please indent you code. It improves readability so much (the usual indentation is 4 spaces).


Try reading some of the threads that already discuss strategies. Again, the level is intended to be hard and require a lot of planning and strategy. So don’t feel bad if you can’t beat it. just keep trying and experimenting


But I only have 851 health and it is no match for Kevin Holland


Again. it’s intended to be challenging and we won’t give you full code to complete it. That’s the whole point. It’s an optional level and something to work towards. If you need to improve your gear, then work on that.

Somebody in that thread who beat it said they had 864 health. so it’s possible. You just need to improve your strategy.


One tip for you, is to attack the enemies a bit out of order. I kill the ones in the SW corner, then the ones in the NW and NE corners. Note the mushrooms won’t spawn until everything is killed at the previous part so when you need to heal go back and kill the enemies in the SE corner so that you can heal up.

Also, there are some options to optimize your code. Think about it this way. In each loop, you want to attack as many times as possible. If there are 10 statements executed each iteration of the loop, and only one of them is an attack you are only attacking 10% of the time.

If you can branch the code so that you’re executing less statements per iteration, you will get more DPS. So that you understand what I’m explaining, I’ll use your code as an example:

var enemy = this.findNearestEnemy();
if(enemy) {
else {
   enemy = this.findNearestEnemy();

You see with this minor change, the else only fires and find enemy statement only execute after something dies. :smile:

Another tip to consider is the powerup for your weapon. This will do a lot more damage than a regular attack.

Good luck,


Did he/she use the knight?


I tried but I died. Whaaaaa


Please explain the purpose of the last two posts. You speak to yourself and throw some random generic code-snippets at us. Please write a bit more text to explain yourself.


I guarantee this level is too hard for you shoodong. Just don’t play it.


What hero should I do? I am a non-paying player. I have the hardened steel glasses, claymore, painted steel breastplate, steel helmet, my boss star, steel striker shield, quartz sense stone, the worker’s gloves, boot of jumping and reinforced boots, the steel ring, the engraved wristwatch, basic flags, bear trap belt, and Hattori, Tharain, and Anya. And no gems left.


Unless you’re doing a speed-focused strategy, Anya or Tharin will probably work better than Hattori, since Hattori is really easy to kill, and you don’t need his extra damage except on the bosses. But it might not be possible, so you’ll just have to make your strategy as efficient as possible and see if you can do it yet. (I bet using the boss star to get soldiers on your side would help a bunch if you can keep them alive.)


Why do you need to keep them alive?


A distraction at the right time can save your precious HP. On the other hand, you could take the enemy’s damage and let the soldiers help you for some extra damage.
Even though ideas have been mentioned we (collectively) have no idea what for awesome tactics are all possible with the boss star.


Just imagine an army against the oracle


I beat the trials finally!


nick or anyone… i cant seem to “skip” over this level look & plus i can’t beat it;


“The Trials” is not part of the main campaign line, you can skip it for now and come back later. There are two other levels that you apparently have not beaten yet (red circles with white border). Beat those and you should be able to progress further in the main campaign.