Search the Community
Showing results for tags 'chain'.
Over the past couple of weeks I have been creating a chain breed heuristic. I documented on the old site how that worked in great detail, however there were a couple of flaws. I am going to write a basic layout of how an optimized heuristic should work. I will then, hopefully, release my chain breed program within a week or two. Initialization: - Organize Pokemon into lists by their egg groups. - Exclude female only, genderless, and no egg pokemon. Set up the egg groups: - Identify the two egg groups for the pokemon. - Create a list for both egg groups consisting of the everyone pokemon, and every natural/egg move in our set that it can learn. Looping through each egg group: - Exclude Pokemon if: -- Pokemon in the list is the same as the pokemon we are finding the sublinks for. -- Pokemon in the list is already in our current chain. -- Pokemon in the list contains Pokemon between this one, and a previous Pokemon in the chain which share an egg group transition and where each Pokemon in between can only learn egg moves. This is known as the "Necessary Contribution" check. - If the Pokemon can learn every natural attack: -- Add this Pokemon as a sublink in the chain. - Otherwise: -- If the Pokemon can learn every move by natural and egg, or only by egg and is in a different egg group in addition: --- Find sublinks for this Pokemon for every egg move. (Recurse) --- Return all sublinks and add the sublinks to our current chain list. Note: The code that is attached is a beta version. The algorithm has not been tested thoroughly and may yield inaccurate results. I am still working on a final version. Feel free to post feedback, bugs, or comments. ChainBreed.zip
Ok, here's the scenario: I put a male larvitar that already learned Stone edge and earthquake into daycare, along with my female Jolly gible (holding everstone). Eggs I received, when hatched, are gibles that know both moves. Then, I took one female gible, made it hold everstone, and put it in daycare again, but this time its mate was a male dragonite that learned outrage. Supposely, they should breed gibles that know outrage, stone edge, and earthquake, all within one gible. It turned out, however, that the new gibles only know outrage move. Did I do anything wrong here??