|
|
@@ -99,7 +99,7 @@
|
|
|
public $sd= [];
|
|
|
|
|
|
/**
|
|
|
- * List of [{@see K_Unit}, quantity] of dropped summon pieces.
|
|
|
+ * List of [{@see K_Unit}, amount] of dropped summon pieces.
|
|
|
*/
|
|
|
public $unit_piece = [];
|
|
|
|
|
|
@@ -194,14 +194,14 @@
|
|
|
$s = "
|
|
|
SELECT
|
|
|
item,
|
|
|
- quantity
|
|
|
+ amount
|
|
|
FROM run_drop_item
|
|
|
WHERE run = $this->id;
|
|
|
";
|
|
|
$q = $this->db->query($s);
|
|
|
while ($r = $q->fetchArray(SQLITE3_ASSOC)){
|
|
|
$i = new Inventory($this->db, $r["item"]);
|
|
|
- $i->amount = $r["quantity"];
|
|
|
+ $i->amount = $r["amount"];
|
|
|
array_push($this->item, $i);
|
|
|
}
|
|
|
$s = "
|
|
|
@@ -225,7 +225,7 @@
|
|
|
$s = "
|
|
|
SELECT
|
|
|
unit,
|
|
|
- quantity
|
|
|
+ amount
|
|
|
FROM run_drop_unit_pieces
|
|
|
WHERE run = $this->id;
|
|
|
";
|
|
|
@@ -233,19 +233,19 @@
|
|
|
while ($r = $q->fetchArray(SQLITE3_ASSOC)){
|
|
|
$i = [
|
|
|
"unit" => new K_Unit($this->db, $r["unit"]),
|
|
|
- "quantity" => $r["quantity"]
|
|
|
+ "amount" => $r["amount"]
|
|
|
];
|
|
|
array_push($this->unit_piece, $i);
|
|
|
}
|
|
|
$s = "
|
|
|
- SELECT quantity
|
|
|
+ SELECT amount
|
|
|
FROM run_drop_shapeshifting
|
|
|
WHERE run = $this->id;
|
|
|
";
|
|
|
$q = $this->db->query($s);
|
|
|
$r = $q->fetchArray(SQLITE3_ASSOC);
|
|
|
if ($r){
|
|
|
- $this->shapeshifting = $r["quantity"];
|
|
|
+ $this->shapeshifting = $r["amount"];
|
|
|
}
|
|
|
$s = "
|
|
|
SELECT
|