Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BeagleGaming1 committed Jun 30, 2023
1 parent bdea9be commit 1dfb464
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
. += "FOR THE HIVE!: in [caboom_left] seconds"

/datum/behavior_delegate/runner_acider/melee_attack_additional_effects_target(mob/living/carbon/target_mob)
if(ishuman(target_mob))
if(ishuman(target_mob)) //Will acid be applied to the mob
var/mob/living/carbon/human/target_human = target_mob
if(target_human.buckled && istype(target_human.buckled, /obj/structure/bed/nest))
return
Expand All @@ -81,12 +81,17 @@
qdel(acid_effect)
break

if(isxeno_human(target_mob))
new /datum/effects/acid(target_mob, bound_xeno, initial(bound_xeno.caste_type))
if(isxeno_human(target_mob)) //Will the runner get acid stacks
if(/obj/item/alien_embryo in target_mob.contents)
var/obj/item/alien_embryo/embryo
if(embryo.stage >= 4) //Late stage hugged incase the runner unnests them
return

if(target_mob.lying)
modify_acid(acid_slash_regen_lying)
else
modify_acid(acid_slash_regen_standing)
new /datum/effects/acid(target_mob, bound_xeno, initial(bound_xeno.caste_type))
return
modify_acid(acid_slash_regen_standing)

/datum/behavior_delegate/runner_acider/on_life()
modify_acid(acid_passive_regen)
Expand Down

0 comments on commit 1dfb464

Please sign in to comment.