Thread:Lugia101101/@comment-2170536-20131102084514/@comment-2170536-20131103004702

Hey there. I saw your progress, looks good! I have made a couple of changes as you can see; added a second argument to the images function to pass the appropriate max level (the same way we establish the number of rows in the table). That way we don't have to iterate through the list (we already know which cell we want, because it's the highest level defined in the table). Also that means that we will be able to handle troops that have less than 6 levels (I tested it on the Goblin and it appears to work just fine).

Currently I am working on the level buttons.