Description:
The merge behavior done by PADListener occasionally performs merges that don't make sense given the mechanics of PAD.
Expected behavior:
When merging data, detect impossible occurrences. Examples include a monster's plus egg count for a particular stat decreasing or its level decreasing (unless of course the monster was evolved). If so, the monster cannot possibly be the one that is listed in PADHerder. If a suitable match for the old monster cannot be found, then the old monster should be considered "removed" and a new one created.
Steps to reproduce:
1) In PAD, farm a monster with a +1 to HP, ATK, or RCV
2) Sync with PADHerder such that the +egg is listed in My Monsters
3) In PADHerder, add a distinct monster note to the monster (e.g. "Hello World")
4) Feed that monster to another monster (so that the monster from Step 1 no longer exists)
5) Farm a duplicate of the monster from Step 1 that is also a plus egg, but has +1 to a different stat.
6) Manually obtain PAD data via PADListener
7) Do a manual sync with PADHerder, and observe that the new monster is going to be merged into the old one.
Description: The merge behavior done by PADListener occasionally performs merges that don't make sense given the mechanics of PAD.
Expected behavior: When merging data, detect impossible occurrences. Examples include a monster's plus egg count for a particular stat decreasing or its level decreasing (unless of course the monster was evolved). If so, the monster cannot possibly be the one that is listed in PADHerder. If a suitable match for the old monster cannot be found, then the old monster should be considered "removed" and a new one created.
Steps to reproduce: 1) In PAD, farm a monster with a +1 to HP, ATK, or RCV 2) Sync with PADHerder such that the +egg is listed in My Monsters 3) In PADHerder, add a distinct monster note to the monster (e.g. "Hello World") 4) Feed that monster to another monster (so that the monster from Step 1 no longer exists) 5) Farm a duplicate of the monster from Step 1 that is also a plus egg, but has +1 to a different stat. 6) Manually obtain PAD data via PADListener 7) Do a manual sync with PADHerder, and observe that the new monster is going to be merged into the old one.