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

[MIRROR] [CI Fix] The Demonic Frost-Miner will not attack corpses. #316

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions code/modules/mapfluff/ruins/icemoonruin_code/mining_site.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
outfit = /datum/outfit/minesite
icon_state = "corpseminer"

// Gives the minesite corpses the gutted effect so that the boss ignores them
/obj/effect/mob_spawn/corpse/human/minesite/special(mob/living/spawned_mob)
. = ..()
spawned_mob.apply_status_effect(/datum/status_effect/gutted)

/obj/effect/mob_spawn/corpse/human/minesite/overseer
name = "Mining Site Overseer"
outfit = /datum/outfit/minesite/overseer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ Difficulty: Extremely Hard
/mob/living/simple_animal/hostile/megafauna/demonic_frost_miner/OpenFire()
if(client)
return
var/mob/living/living_target = target
if(istype(living_target) && living_target.stat == DEAD) //don't go out of our way to fire our disintegrating attacks at corpses
return

var/easy_attack = prob(80 - enraged * 40)
chosen_attack = rand(1, 3)
Expand Down
Loading