Amiibo drops: Difference between revisions
→amiibo registering
imported>Leoetlino |
imported>Leoetlino |
||
Line 33: | Line 33: | ||
*An entry for the scanned amiibo is inserted into AmiiboTouchHistory. Only the last 100 entries are kept. | *An entry for the scanned amiibo is inserted into AmiiboTouchHistory. Only the last 100 entries are kept. | ||
*For a first time scan, a new entry is inserted into AmiiboTouchHistoryTotal (only the last 200 entries are kept). Otherwise, the scan count is incremented. | *For a first time scan, a new entry is inserted into AmiiboTouchHistoryTotal (only the last 200 entries are kept). Otherwise, the scan count is incremented. | ||
*Finally, AmiiboLastTouchDate is set to | *Finally, AmiiboLastTouchDate is set to the current date. | ||
The format for AmiiboTouchHistory and AmiiboTouchHistoryTotal entries is "%s_%d_%d_%d" (amiibo UID, amiibo value 1, amiibo value 2, scan count) | The format for AmiiboTouchHistory and AmiiboTouchHistoryTotal entries is "%s_%d_%d_%d" (amiibo UID, amiibo value 1, amiibo value 2, scan count) |