Skip to content

Commit

Permalink
Merge pull request #74667 from CleverRaven/fix-recovery-chance
Browse files Browse the repository at this point in the history
Rescale recovery chance to match previous probabilities
  • Loading branch information
Maleclypse authored Jun 22, 2024
2 parents b7a356d + 8b72598 commit 09cce88
Show file tree
Hide file tree
Showing 14 changed files with 59 additions and 59 deletions.
4 changes: 2 additions & 2 deletions data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
"dispersion": 14,
"loudness": 0,
"to_hit": -2,
"recovery_chance": 80,
"recovery_chance": 99,
"effects": [ "NEVER_MISFIRES", "NON_FOULING" ],
"melee_damage": { "cut": 9 }
},
Expand All @@ -561,7 +561,7 @@
"dispersion": 14,
"loudness": 0,
"to_hit": -1,
"recovery_chance": 80,
"recovery_chance": 99,
"effects": [ "NEVER_MISFIRES", "NON_FOULING", "ALLOWS_BODY_BLOCK" ],
"qualities": [ [ "HAMMER", 1 ] ],
"melee_damage": { "bash": 7 }
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/generic/toys_and_sports.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"dispersion": 14,
"loudness": 0,
"to_hit": -3,
"recovery_chance": 60,
"recovery_chance": 98,
"effects": [ "NEVER_MISFIRES", "NON_FOULING" ],
"melee_damage": { "bash": 8 }
},
Expand Down Expand Up @@ -164,7 +164,7 @@
"dispersion": 12,
"loudness": 0,
"to_hit": 3,
"recovery_chance": 80,
"recovery_chance": 99,
"effects": [ "NEVER_MISFIRES", "NON_FOULING" ],
"melee_damage": { "bash": 6 }
},
Expand Down
30 changes: 15 additions & 15 deletions data/json/items/ranged/archery.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "A crude pointed wooden shaft with a notch at the back.",
"material": [ "wood" ],
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.75 },
"recovery_chance": 2
"recovery_chance": 50
},
{
"type": "AMMO",
Expand All @@ -33,7 +33,7 @@
"dispersion": 150,
"loudness": 0,
"critical_multiplier": 10,
"recovery_chance": 30,
"recovery_chance": 97,
"melee_damage": { "bash": 3 }
},
{
Expand All @@ -50,7 +50,7 @@
"material": [ { "type": "wood", "portion": 81 }, { "type": "rubber", "portion": 19 } ],
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.2 },
"critical_multiplier": 1,
"recovery_chance": 35,
"recovery_chance": 97,
"effects": [ "BEANBAG" ]
},
{
Expand All @@ -64,7 +64,7 @@
"copy-from": "arrow_field_point_fletched",
"price_postapoc": "15 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.5 },
"recovery_chance": 10,
"recovery_chance": 90,
"effects": [ "NOGIB" ]
},
{
Expand All @@ -78,7 +78,7 @@
"relative": { "dispersion": -40 },
"price": "20 USD",
"damage": { "damage_type": "stab", "armor_penetration": 1, "constant_damage_multiplier": 1.5 },
"recovery_chance": 25,
"recovery_chance": 96,
"melee_damage": { "bash": 2, "cut": 1 }
},
{
Expand All @@ -92,7 +92,7 @@
"material": [ "wood" ],
"copy-from": "arrow_field_point_fletched",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.75 },
"recovery_chance": 6
"recovery_chance": 83
},
{
"type": "AMMO",
Expand All @@ -105,7 +105,7 @@
"copy-from": "arrow_field_point_fletched",
"price_postapoc": "25 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.5 },
"recovery_chance": 35,
"recovery_chance": 97,
"effects": [ "NOGIB" ]
},
{
Expand All @@ -121,7 +121,7 @@
"price_postapoc": "15 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.25 },
"show_stats": true,
"recovery_chance": 8
"recovery_chance": 87
},
{
"type": "AMMO",
Expand All @@ -135,7 +135,7 @@
"price_postapoc": "20 cent",
"damage": { "damage_type": "stab", "armor_penetration": 1 },
"show_stats": true,
"recovery_chance": 20,
"recovery_chance": 95,
"melee_damage": { "bash": 2 }
},
{
Expand All @@ -151,7 +151,7 @@
"price_postapoc": "40 cent",
"damage": { "damage_type": "stab", "armor_penetration": 1, "constant_damage_multiplier": 1.5 },
"range": 2,
"recovery_chance": 35,
"recovery_chance": 97,
"melee_damage": { "bash": 3, "cut": 2 }
},
{
Expand All @@ -167,7 +167,7 @@
"price_postapoc": "40 cent",
"damage": { "damage_type": "stab", "armor_penetration": 3 },
"range": 2,
"recovery_chance": 40,
"recovery_chance": 97,
"melee_damage": { "bash": 3, "cut": 2 }
},
{
Expand All @@ -184,7 +184,7 @@
"relative": { "dispersion": -75 },
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.5 },
"range": 2,
"recovery_chance": 45,
"recovery_chance": 98,
"effects": [ "NOGIB" ]
},
{
Expand All @@ -201,7 +201,7 @@
"price_postapoc": "50 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.75 },
"range": 4,
"recovery_chance": 30,
"recovery_chance": 97,
"melee_damage": { "bash": 1 }
},
{
Expand Down Expand Up @@ -249,7 +249,7 @@
"count": 1,
"stack_size": 1,
"critical_multiplier": 10,
"recovery_chance": 35,
"recovery_chance": 97,
"use_action": {
"target": "arrow_flamming",
"target_timer": "20 seconds",
Expand All @@ -270,7 +270,7 @@
"symbol": "=",
"color": "brown",
"revert_to": "arrow_field_point_fletched",
"recovery_chance": 35,
"recovery_chance": 97,
"effects": [ "IGNITE" ],
"flags": [ "TRADER_AVOID" ]
},
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/ranged/atlatl.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"dispersion": 35,
"loudness": 0,
"critical_multiplier": 15,
"recovery_chance": 30,
"recovery_chance": 97,
"melee_damage": { "stab": 10 }
},
{
Expand All @@ -74,7 +74,7 @@
"dispersion": 35,
"loudness": 0,
"critical_multiplier": 15,
"recovery_chance": 25,
"recovery_chance": 96,
"melee_damage": { "stab": 8 }
},
{
Expand All @@ -95,7 +95,7 @@
"dispersion": 50,
"loudness": 0,
"critical_multiplier": 8,
"recovery_chance": 6,
"recovery_chance": 83,
"melee_damage": { "stab": 5 }
}
]
2 changes: 1 addition & 1 deletion data/json/items/ranged/ballista.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dispersion": 35,
"loudness": 5,
"critical_multiplier": 2,
"recovery_chance": 50,
"recovery_chance": 98,
"melee_damage": { "stab": 12 }
}
]
24 changes: 12 additions & 12 deletions data/json/items/ranged/crossbows.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"price": "0 cent",
"price_postapoc": "20 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.75 },
"recovery_chance": 2
"recovery_chance": 50
},
{
"type": "AMMO",
Expand All @@ -26,7 +26,7 @@
"price": "5 USD",
"price_postapoc": "25 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.75 },
"recovery_chance": 6
"recovery_chance": 83
},
{
"type": "AMMO",
Expand All @@ -41,7 +41,7 @@
"price": "6 USD 50 cent",
"price_postapoc": "25 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.5 },
"recovery_chance": 10,
"recovery_chance": 90,
"effects": [ "NOGIB" ]
},
{
Expand All @@ -58,7 +58,7 @@
"price_postapoc": "30 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.25 },
"show_stats": true,
"recovery_chance": 8
"recovery_chance": 87
},
{
"type": "AMMO",
Expand All @@ -70,7 +70,7 @@
"copy-from": "bolt_wood_bodkin",
"relative": { "dispersion": 10 },
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.5, "armor_penetration": 1 },
"recovery_chance": 25
"recovery_chance": 96
},
{
"type": "AMMO",
Expand All @@ -90,7 +90,7 @@
"dispersion": 100,
"loudness": 0,
"critical_multiplier": 10,
"recovery_chance": 30,
"recovery_chance": 97,
"melee_damage": { "bash": 3 }
},
{
Expand All @@ -103,7 +103,7 @@
"copy-from": "bolt_wood_bodkin",
"relative": { "dispersion": 30 },
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.5 },
"recovery_chance": 35,
"recovery_chance": 97,
"effects": [ "NOGIB" ]
},
{
Expand All @@ -117,7 +117,7 @@
"relative": { "dispersion": 80 },
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.25, "armor_penetration": 1 },
"show_stats": true,
"recovery_chance": 20
"recovery_chance": 95
},
{
"type": "AMMO",
Expand All @@ -133,7 +133,7 @@
"price_postapoc": "50 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.5, "armor_penetration": 2 },
"range": 2,
"recovery_chance": 35
"recovery_chance": 97
},
{
"type": "AMMO",
Expand All @@ -149,7 +149,7 @@
"price_postapoc": "50 cent",
"damage": { "damage_type": "stab", "armor_penetration": 4 },
"range": 2,
"recovery_chance": 40
"recovery_chance": 97
},
{
"type": "AMMO",
Expand All @@ -163,7 +163,7 @@
"relative": { "dispersion": -30 },
"damage": { "damage_type": "stab", "constant_damage_multiplier": 0.5 },
"range": 2,
"recovery_chance": 45,
"recovery_chance": 98,
"effects": [ "NOGIB" ]
},
{
Expand All @@ -180,7 +180,7 @@
"price_postapoc": "60 cent",
"damage": { "damage_type": "stab", "constant_damage_multiplier": 1.75 },
"range": 4,
"recovery_chance": 30
"recovery_chance": 97
},
{
"id": "bullet_crossbow",
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/ranged/spearguns.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dispersion": 150,
"loudness": 0,
"count": 4,
"recovery_chance": 5,
"recovery_chance": 80,
"melee_damage": { "bash": 1 }
},
{
Expand All @@ -42,7 +42,7 @@
"dispersion": 90,
"loudness": 0,
"count": 4,
"recovery_chance": 3,
"recovery_chance": 66,
"melee_damage": { "bash": 1 }
},
{
Expand All @@ -65,7 +65,7 @@
"dispersion": 120,
"loudness": 0,
"count": 4,
"recovery_chance": 15,
"recovery_chance": 93,
"melee_damage": { "bash": 1 }
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/resources/stone.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dispersion": 14,
"loudness": 0,
"to_hit": -1,
"recovery_chance": 60,
"recovery_chance": 98,
"effects": [ "NEVER_MISFIRES", "NON_FOULING" ],
"melee_damage": { "bash": 7 }
},
Expand Down
Loading

0 comments on commit 09cce88

Please sign in to comment.