Skip to content

Commit

Permalink
[MIRROR] Goldgrubs no longer block death bolts, even while alive. [MD…
Browse files Browse the repository at this point in the history
…B IGNORE] (#25550)

* Goldgrubs no longer block death bolts, even while alive. (#80214)

## About The Pull Request
Projectiles have a chance to not get blocked by goldgrubs' hide based on
their armor penetration, and it so happens that the colossus' death
bolts have 100 armor penetration.

## Why It's Good For The Game
This will fix #80181.

## Changelog

:cl:
fix: Goldgrubs no longer block death bolts, even while alive.
/:cl:

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* Goldgrubs no longer block death bolts, even while alive.

---------

Co-authored-by: Ghom <[email protected]>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
  • Loading branch information
3 people authored and FFMirrorBot committed Dec 11, 2023
1 parent 5a91c20 commit a3523c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/mob/living/basic/lavaland/goldgrub/goldgrub.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
if(stat != CONSCIOUS)
return COMPONENT_BULLET_PIERCED

///high penetration bullets should still go through. No goldgrub can save you from the colossus' death bolts.
if(prob(hitting_projectile.armour_penetration))
return NONE

visible_message(span_danger("[hitting_projectile] is repelled by [source]'s girth!"))
return COMPONENT_BULLET_BLOCKED

Expand Down

0 comments on commit a3523c4

Please sign in to comment.