[Adventurer] Pet Engineer

added a LUA patch with some coffee script in the Overview area

1 Like

The enchanted lenses, which has an infinite range… Face Palm

1 Like

Hm, but ā€œinfinity rangeā€ doesn’t allow you see through the walls. Could you send me your sessionID for the current level? Or your nickname in the game (by direct message or by email to team@codecombat.com)

1 Like

ok, I will do that right now.

1 Like

Thanks. I’ve been watching the session with your account and I see the problem. It’s not ā€œthrough wallā€ problem. It’s a combined problem for long range + fast hero. I’ll fix it ASAP.

1 Like

Having a trouble with this. Everything is fine for 28.1 seconds. Then it appears to spontaneously lose. I don’t see any dead humans, and the dog goes from one spot to the other with no apparent issue.

Not sure if I’ve gotten the right bit – if not, in-game I’m Cantras, if that helps.
|Inmar’s Krieger| Generated random seed 5319503356 of type submissionCount from sessionIDs 5812e3e6a030c11f002b3ece

1 Like

Ogres from the right passage sneak and kill a peasant. Hm, it’s the same problem as above in this topic. Your hero is distracted by brawlers and leave the right passage without protection.

Thanks. I’ll fix it.

1 Like

This one was more difficult than I first expected because I thought the idea was to learn the pet’s ā€œhearā€ event and to perform some action based on the speaker. I managed that part just fine but my hero kept getting killed before the 50 second time limit.
I had just upgraded my armor to Steel for something in the Forrest and didn’t want to upgrade again after such a short time. I tried modifying the attacking code to use Cleave if available and to return to the starting point if no enemy was close but still ended up getting killed.

What I ended up doing was trading my sword in for a hammer and using flags to move and build. First I moved within the walls then used flags to make my player build two wall sections in the gap. That let me last the 50 seconds necessary to complete the level. I can copy and paste the JS I used if requested.

If you would use weaker enemies this level could be completed without a gear upgrade and without needing to modify the hero code that the editor says should not need to be modified.

1 Like

Yes. But you are trying to use low-level equipment. It’s a desert and many levels there are balanced for the certain equipment.

1 Like

I added obstacles in the middle of the camp. Now your hero can’t see ogres from the left passage (except you are using ā€œseeThroughWallsā€ glasses).

1 Like

@Bryukh Added LUA to the Hero Placeholder patch.

1 Like

same problem. I have glasses which see all over the map, so my hero leave his place and level fail.


i succeed only when change your code to && hero.distanceTo(enemy)<10

If you use high (top) tier glasses when you should know how to use it. It’s like rocket launcher for soldiers :slight_smile:

2 Likes