Skip to content

Commit

Permalink
unique item chance increased from 33% to 67%, fixed some overpriced g…
Browse files Browse the repository at this point in the history
…reatswords
  • Loading branch information
b5635 committed Nov 8, 2024
1 parent b9af60e commit 6f8c7c1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 134 deletions.
10 changes: 5 additions & 5 deletions seeded_database/treasures.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/nss/inc_loot.nss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const int APPAREL_ARMOR_UNCOMMON_CHANCE = 33;
const int APPAREL_ARMOR_RARE_CHANCE = 25;

// And these don't need to sum to 100
const int UNIQUE_ITEM_CHANCE = 33;
const int UNIQUE_ITEM_CHANCE = 67;
const int MISC_CHANCE_TO_BE_JEWEL = 67;
const int RANDOM_WEAPON_IS_RANGED = 40;

Expand Down
66 changes: 2 additions & 64 deletions src/uti/weapon317.uti.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"Cost": {
"type": "dword",
"value": 20594
"value": 17047
},
"Cursed": {
"type": "byte",
Expand Down Expand Up @@ -102,37 +102,6 @@
"value": 0
}
},
{
"__struct_id": 0,
"ChanceAppear": {
"type": "byte",
"value": 100
},
"CostTable": {
"type": "byte",
"value": 10
},
"CostValue": {
"type": "word",
"value": 2
},
"Param1": {
"type": "byte",
"value": 255
},
"Param1Value": {
"type": "byte",
"value": 0
},
"PropertyName": {
"type": "word",
"value": 11
},
"Subtype": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 0,
"ChanceAppear": {
Expand Down Expand Up @@ -161,38 +130,7 @@
},
"Subtype": {
"type": "word",
"value": 8
}
},
{
"__struct_id": 0,
"ChanceAppear": {
"type": "byte",
"value": 100
},
"CostTable": {
"type": "byte",
"value": 4
},
"CostValue": {
"type": "word",
"value": 1
},
"Param1": {
"type": "byte",
"value": 255
},
"Param1Value": {
"type": "byte",
"value": 0
},
"PropertyName": {
"type": "word",
"value": 16
},
"Subtype": {
"type": "word",
"value": 2
"value": 11
}
},
{
Expand Down
45 changes: 13 additions & 32 deletions src/uti/weapon318.uti.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"Cost": {
"type": "dword",
"value": 11724
"value": 10548
},
"Cursed": {
"type": "byte",
Expand Down Expand Up @@ -102,37 +102,6 @@
"value": 0
}
},
{
"__struct_id": 0,
"ChanceAppear": {
"type": "byte",
"value": 100
},
"CostTable": {
"type": "byte",
"value": 10
},
"CostValue": {
"type": "word",
"value": 3
},
"Param1": {
"type": "byte",
"value": 255
},
"Param1Value": {
"type": "byte",
"value": 0
},
"PropertyName": {
"type": "word",
"value": 11
},
"Subtype": {
"type": "word",
"value": 0
}
},
{
"__struct_id": 0,
"ChanceAppear": {
Expand Down Expand Up @@ -274,5 +243,17 @@
"TemplateResRef": {
"type": "resref",
"value": "weapon318"
},
"xModelPart1": {
"type": "word",
"value": 14
},
"xModelPart2": {
"type": "word",
"value": 44
},
"xModelPart3": {
"type": "word",
"value": 14
}
}
33 changes: 1 addition & 32 deletions src/uti/weapon33.uti.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"Cost": {
"type": "dword",
"value": 20594
"value": 17047
},
"Cursed": {
"type": "byte",
Expand Down Expand Up @@ -133,37 +133,6 @@
"value": 8
}
},
{
"__struct_id": 0,
"ChanceAppear": {
"type": "byte",
"value": 100
},
"CostTable": {
"type": "byte",
"value": 4
},
"CostValue": {
"type": "word",
"value": 1
},
"Param1": {
"type": "byte",
"value": 255
},
"Param1Value": {
"type": "byte",
"value": 0
},
"PropertyName": {
"type": "word",
"value": 16
},
"Subtype": {
"type": "word",
"value": 2
}
},
{
"__struct_id": 0,
"ChanceAppear": {
Expand Down

0 comments on commit 6f8c7c1

Please sign in to comment.