![]() ![]() Label "No NPC found for " + HEROES.name + " to hit, trying next free hero" Label "No Free Heroes found, sleeping for 30 seconds and will try again" Label "Hero must have moved as its not available, restarting hero search" Goto HeroHitLoop // find next hero, hit if we can If CityLoc = "0,0" goto MainLoop // scan borked, "NPC Level:" + hitlevel + " has been found at " + CityLoc + " for hero " + HEROES.nameĮxecute "attack " + CityLoc + " " + HEROES.name + " " + hit.attack If m_context.maintenanceStart goto MaintPause If fl_i = FLATS.length goto _findNPCLoopEnd ![]() find highest possible Flat array to hit IgnoreHero = HEROES.name + " is available for training." If h_obj if h_obj.isAvailable goto _findHeroLoopEnd H_obj = city.findHeroByName( HEROES.name ) If timeDiffMin > (CYCLE_TIME * 60) goto MainLoop // reset "Searching for Free Hero" ![]() Starttime = "- Training Loop Start - " + starttime + " "Rescanning map for new NPCs at range of " + max_scanĮxecute "rescanmap " + city.x + "," + city.y + " " + "Finding NPCs"įl = FindField( city.x, city.y, HITS.range, 12, HITS.level ).sort(pareByDistanceToCastle)ĭummy = + " level " + HITS.level + " NPCs found." / preloading complete, main loop is here *all* values must be present for each hero in list. hero and what you want to send for troops ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |