[SOLVED] Bug level 17 Kithgard Dungeon Lua language


#1

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”


#2

“level 17 Kithgard Dungeon”?

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


#3

Problem solved :slight_smile: