{"push_id":1078634608,"size":4,"distinct_size":4,"ref":"refs/heads/new-armor","head":"20775136991f44534e4e11a6db2062f333602e75","before":"dc8377c7614eab70cb6c0d6d212e752a264df03d","commits":[{"sha":"f8a379f53ed78abb5f183986508a6113eee6c09b","author":{"email":"c10d7da2cbb099e37c4bac8be0035b043d1aa4d9@gmail.com","name":"HarpyEagle"},"message":"New armour system\n\nImplements a new armor system that makes armor more consistent in its effect.\nrun_armor_check() now returns a blocked amount between 0-100 that represents the\ndegree of success. The blocked_mult() macro can be used to convert this into a\ndamage multiplier.\n\nArmor has the same chance of fullblock as before (so that blocked < 2 can be\nreplaced with blocked < 100 without any effect on gameplay).\n\nIf an attack is not full-blocked, run_armor_check() will return a blocked value\nthat increases with armor in such a way that having X armor will ensure that\nX% of the damage is prevented, after factoring in the fullblock chance.\n\nWent through all of the following procs (both definitions and usages) that\neither took a blocked value as arg or returned one to make sure that they were\nupdated to work with the new 0-100 convention.\n\n**living/run_armor_check()\n**living/standard_weapon_hit_effects()\n**human/attack_joint()\n**living/hit_with_weapon()\n**item/apply_hit_effect()\n**bullet_act() - too many definitions to go through, checked all the usages tho\n**projectile/on_hit()\n**living/apply_damage()\n**living/apply_effect()\n**living/apply_effects()\n**unarmed_attack/apply_effects()","distinct":true,"url":"https://api.github.com/repos/mwerezak/Baystation12/commits/f8a379f53ed78abb5f183986508a6113eee6c09b"},{"sha":"a62878fd026f23b650bfe096a56273f9ccea5314","author":{"email":"c10d7da2cbb099e37c4bac8be0035b043d1aa4d9@gmail.com","name":"HarpyEagle"},"message":"Cleans up radiation handling","distinct":true,"url":"https://api.github.com/repos/mwerezak/Baystation12/commits/a62878fd026f23b650bfe096a56273f9ccea5314"},{"sha":"d7f0287fba2c7699a82864b17cab89a3026811a4","author":{"email":"c10d7da2cbb099e37c4bac8be0035b043d1aa4d9@gmail.com","name":"HarpyEagle"},"message":"Makes the block chance adjustable using a define","distinct":true,"url":"https://api.github.com/repos/mwerezak/Baystation12/commits/d7f0287fba2c7699a82864b17cab89a3026811a4"},{"sha":"20775136991f44534e4e11a6db2062f333602e75","author":{"email":"c10d7da2cbb099e37c4bac8be0035b043d1aa4d9@gmail.com","name":"HarpyEagle"},"message":"Updates changelog","distinct":true,"url":"https://api.github.com/repos/mwerezak/Baystation12/commits/20775136991f44534e4e11a6db2062f333602e75"}]}