Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes mechs being invulnerable to melle and explosions, fixes and adds missing open-hatch interactions, fixes mech slowdown #8350

Closed
wants to merge 8 commits into from
3 changes: 3 additions & 0 deletions code/modules/mechs/mech_damage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
return
// must be in front if the hatch is opened , else we roll for any angle based on chassis coverage
var/roll = !prob(body.pilot_coverage)

var/list/damages = list(BRUTE = I.force)
var/obj/item/mech_equipment/shield_generator/gen = getShield()
if(gen)
Expand Down Expand Up @@ -127,6 +128,7 @@

if (P.is_hot() >= HEAT_MOBIGNITE_THRESHOLD)
IgniteMob()

var/obj/item/mech_equipment/shield_generator/gen = getShield()
var/list/damages= P.damage_types
if(hit_dir & reverse_dir[dir])
Expand Down Expand Up @@ -210,5 +212,6 @@
if(damage > 400)
occupant_message("You feel the shockwave of an external explosion pass through your body!")


return round(split*blocked)