DT changes
This commit is contained in:
+57491
-57270
File diff suppressed because it is too large
Load Diff
@@ -295,6 +295,11 @@
|
|||||||
"archery_ticket_price": "0",
|
"archery_ticket_price": "0",
|
||||||
"durability": null
|
"durability": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "31",
|
||||||
|
"name": "RDT Slot",
|
||||||
|
"examine": "You shouldn't have this."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "32",
|
"id": "32",
|
||||||
"name": "Lit black candle",
|
"name": "Lit black candle",
|
||||||
|
|||||||
@@ -73040,5 +73040,10 @@
|
|||||||
{
|
{
|
||||||
"id": "6529",
|
"id": "6529",
|
||||||
"examine": "There to help me make my bids."
|
"examine": "There to help me make my bids."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "14",
|
||||||
|
"name": "Druid",
|
||||||
|
"examine": "He likes Guthix a bit."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -38,7 +38,7 @@ class DropTableParser {
|
|||||||
val id = item["id"].toString().toInt()
|
val id = item["id"].toString().toInt()
|
||||||
val minAmount = item["minAmount"].toString().toInt()
|
val minAmount = item["minAmount"].toString().toInt()
|
||||||
val maxAmount = item["maxAmount"].toString().toInt()
|
val maxAmount = item["maxAmount"].toString().toInt()
|
||||||
val weight = item["weight"].toString().toInt()
|
val weight = item["weight"].toString().toDouble()
|
||||||
val newItem = WeightedItem(id,minAmount,maxAmount,weight.toDouble(),isAlways)
|
val newItem = WeightedItem(id,minAmount,maxAmount,weight.toDouble(),isAlways)
|
||||||
destTable.add(newItem)
|
destTable.add(newItem)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user