{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13539","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13539/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13539/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13539/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13539","id":106000471,"number":13539,"title":"Explosion and item damage tweak","user":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Rivet-the-Zombie","id":5084581,"avatar_url":"https://avatars.githubusercontent.com/u/5084581?v=3","gravatar_id":"","url":"https://api.github.com/users/Rivet-the-Zombie","html_url":"https://github.com/Rivet-the-Zombie","followers_url":"https://api.github.com/users/Rivet-the-Zombie/followers","following_url":"https://api.github.com/users/Rivet-the-Zombie/following{/other_user}","gists_url":"https://api.github.com/users/Rivet-the-Zombie/gists{/gist_id}","starred_url":"https://api.github.com/users/Rivet-the-Zombie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rivet-the-Zombie/subscriptions","organizations_url":"https://api.github.com/users/Rivet-the-Zombie/orgs","repos_url":"https://api.github.com/users/Rivet-the-Zombie/repos","events_url":"https://api.github.com/users/Rivet-the-Zombie/events{/privacy}","received_events_url":"https://api.github.com/users/Rivet-the-Zombie/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-11T12:28:42Z","updated_at":"2015-09-12T15:20:14Z","closed_at":"2015-09-12T06:03:53Z","pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/13539","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13539","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13539.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13539.patch"},"body":"Big nerf to explosions vs. items. Most of it was caused by a bug that made it bash the same item up to 10 times (oops).\r\nMade explosions vs. `count_by_charges` items drain charges rather than damaging the entire stack at once.\r\n\r\nMoved the big `if( made_of( \"material\" ) )` blocks to `item.cpp` and moved the material resistances to a new material property: `chip_resistance`. This ensures all materials will have it set (for example: cotton and wool both had the unset default, meaning 2).\r\nTweaked the numbers a bit.\r\n\r\nMade melee weapon wear use the same mechanics and tweaked it slightly.\r\n\r\nChanged the way shrapnel works vs. creature in the center.\r\nOld accuracy formula: `rng_float( 0.4, 1.4 )`\r\nNew formula: `rng_float( 0.4, 1.0 ) + (i * 1.0 / shrapnel)`\r\nResult: few first shrapnel pieces are more likely to hit and hit relatively hard (first piece is nearly guaranteed), but ~60% of pieces are guaranteed to miss.\r\nIn tests, brutes died to 1-2 mines, but hulk tanked 18-22. Mine is 8 shrapnel pieces at 10 force (20+20 damage) each. Zombies took 1-3 grenades to kill (usually 1).\r\nAs a projectile, shrapnel is less effective vs. player/NPCs due to the whole limb system thing."},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/139783718","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/13539#issuecomment-139783718","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/13539","id":139783718,"user":{"login":"chaosvolt","id":11582235,"avatar_url":"https://avatars.githubusercontent.com/u/11582235?v=3","gravatar_id":"","url":"https://api.github.com/users/chaosvolt","html_url":"https://github.com/chaosvolt","followers_url":"https://api.github.com/users/chaosvolt/followers","following_url":"https://api.github.com/users/chaosvolt/following{/other_user}","gists_url":"https://api.github.com/users/chaosvolt/gists{/gist_id}","starred_url":"https://api.github.com/users/chaosvolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaosvolt/subscriptions","organizations_url":"https://api.github.com/users/chaosvolt/orgs","repos_url":"https://api.github.com/users/chaosvolt/repos","events_url":"https://api.github.com/users/chaosvolt/events{/privacy}","received_events_url":"https://api.github.com/users/chaosvolt/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T15:20:14Z","updated_at":"2015-09-12T15:20:14Z","body":"Doh. Oh shit. Guess I'll PR that then. ;w;"}}