Skip to content
d-dd edited this page May 29, 2016 · 5 revisions

$hug "Asks yukari to hug you back."

Yukari responds in one of three ways:

  1. User: ....
  2. (image response)
  3. Yukari hugs user.

The response depends on luck (random roll), user's time in channel, and user's adds/queues.

Initially Yukari checks whether user is non-guest.

  • Then users stats are retrieved: time_tier [1,3] ; add_tier [1,3].
  • A random number is selected q: randomTier = max(int(random.gauss(0.4, 1.7)), 0)

If q =< 0, return result #1
If q >= 4, return result #3
if q < 4 and q > 0:

  1. replace timer_tier or add_tier randomly with randomTier.

  2. take the product of above, which is the image level. [1-9]

  3. choose random image from the image level pool.

Clone this wiki locally