[Bugfix] Fixed kicks bypassing armor - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30) +--- Thread: [Bugfix] Fixed kicks bypassing armor (/showthread.php?tid=14179) |
[Bugfix] Fixed kicks bypassing armor - RichardGere - 03-24-2020 https://github.com/goonstation/goonstation-2020/compare/master...PrimeNumb:bugfix/melee Previously kicks (which are performed only when the target is KO'd) ignored armor modifiers completely, regardless of whether the target limb had armor or not. This resulted in silly things where, instead of bashing someone wearing riot armor with a fire extinguisher (items still take armor mods into account, even if they're KO'd), you could just kick them instead for more damage. RE: [Bugfix] Fixed kicks bypassing armor - Tarmunora - 03-24-2020 For armor-related stuff, it is probably best if you use the new get_melee_protection() proc Code: var/armor_mod = 0 |