Skip to content

Commit

Permalink
feat(balance): add heat-type damage to mininukes (#3887)
Browse files Browse the repository at this point in the history
* feat(balance): add heat-type damage to mininukes

* Update json_info.md
  • Loading branch information
chaosvolt authored Dec 14, 2023
1 parent 5679c8f commit 6db66de
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion data/json/ammo_effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@
"check_sees": true,
"check_sees_radius": 3
},
"explosion": { "damage": 300, "radius": 20 }
"explosion": {
"damage": 300,
"radius": 20,
"fragment": { "impact": { "damage_type": "heat", "amount": 300, "armor_multiplier": 2 }, "range": 24 }
}
},
{
"id": "FLASHBANG",
Expand Down
6 changes: 5 additions & 1 deletion data/json/items/tool/explosives.json
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,11 @@
"sound_volume": 2,
"sound_msg": "Tick.",
"no_deactivate_msg": "You've already set the %s's timer, you might want to get away from it.",
"explosion": { "damage": 300, "radius": 20 }
"explosion": {
"damage": 300,
"radius": 20,
"fragment": { "impact": { "damage_type": "heat", "amount": 300, "armor_multiplier": 2 }, "range": 24 }
}
},
"flags": [ "LEAK_DAM", "RADIOACTIVE", "TRADER_AVOID", "CLOSES_PORTAL" ]
},
Expand Down
2 changes: 1 addition & 1 deletion doc/src/content/docs/en/mod/json/reference/json_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ See also VEHICLE_JSON.md
"damage_type": "acid", // Type of damage dealt.
"amount": 10 // Amount of damage dealt.
"armor_penetration": 4 // Amount of armor ignored. Applied per armor piece, not in total.
"armor_multiplier": 2.5 // Multiplier on effective armor value. Applied after armor penetration.
"armor_multiplier": 2.5 // Multiplies remaining damage reduction from armor, applied after armor penetration (if present). Higher numbers make armor stop fragments from this explosion more effectively, lower numbers act as a percentage reduction in remaining armor.
}
}
},
Expand Down

0 comments on commit 6db66de

Please sign in to comment.