Amiibo drops: Difference between revisions
→registerAmiibo
imported>Leoetlino |
imported>Leoetlino |
||
Line 31: | Line 31: | ||
**If less than 86400 seconds (1 day) have elapsed since the game was launched, don't do anything.{{check}} | **If less than 86400 seconds (1 day) have elapsed since the game was launched, don't do anything.{{check}} | ||
**AmiiboMgr then computes <code>10000 * now.year + 100 * now.month + now.day</code>. If the value is different from AmiiboLastTouchDate (which would mean that a day has elapsed), the AmiiboTouchHistory array is cleared. | **AmiiboMgr then computes <code>10000 * now.year + 100 * now.month + now.day</code>. If the value is different from AmiiboLastTouchDate (which would mean that a day has elapsed), the AmiiboTouchHistory array is cleared. | ||
*AmiiboTouchHistoryTotal | *The amiibo UID is inserted into AmiiboTouchHistory. Only the last 100 entries are kept. | ||
*It is also inserted into AmiiboTouchHistoryTotal. Only the last 200 entries are kept. | |||
*Finally, AmiiboLastTouchDate is set to <code>10000 * now.year + 100 * now.month + now.day</code>. | *Finally, AmiiboLastTouchDate is set to <code>10000 * now.year + 100 * now.month + now.day</code>. | ||