Browse Source

Add artifacts to database

master 1.6.3
Skylar Ittner 5 years ago
parent
commit
ce5493823c
  1. 2
      code2item.php
  2. BIN
      database.mwb

2
code2item.php

@ -68,7 +68,7 @@ if ($database->has('claimedcodes', ["AND" => ['code' => $origcode, 'playeruuid'
}
Random::seed($codeint);
$itemcode = Random::num(1, 10);
$itemcode = Random::num(1, 11);
$database->insert('inventory', ['playeruuid' => $_SESSION['uuid'], 'itemid' => $itemcode]);
$database->insert('claimedcodes', ['code' => $origcode, 'playeruuid' => $_SESSION['uuid']]);

BIN
database.mwb