[SOLVED] Bug level 17 Kithgard Dungeon Lua language

I found bug in level 17 Kithgard Dungeon

This is my code:
local enemy1 = self:findNearestEnemy()
local enemy2 = self:findNearestEnemy()

self:attack(enemy1)
self:attack(enemy1)

self:attack(enemy2)
self:attack(enemy2)

And when my hero kill enemy1 trying to kill enemy2 but detecting enemy2 as enemy1 and saying “But it’s dead”

“level 17 Kithgard Dungeon”?

Is it your hero level or something else? Could you write the level title?

1 Like

Problem solved :slight_smile:

1 Like