Skip to content

Commit

Permalink
some pre pr things
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Sep 20, 2024
1 parent 22dcd45 commit a8e5457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/datums/elements/reagent_attack.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/datum/element/reagent_attack
element_flags = ELEMENT_BESPOKE
element_flags = ELEMENT_BESPOKE|ELEMENT_DETACH_ON_HOST_DESTROY
id_arg_index = 2
/// Which reagent we will inject
var/reagent_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/mob/living/simple_animal/hostile/poison/terror_spider/widow/Initialize(mapload)
. = ..()
AddElement(/datum/element/reagent_attack, "terror_black_toxin", null, FALSE, 100)
AddElement(/datum/element/reagent_attack, "terror_black_toxin", null, FALSE, 100, list(BODY_ZONE_CHEST, BODY_ZONE_HEAD))
RegisterSignal(src, COMSIG_REAGENT_INJECTED, PROC_REF(on_inject))

/mob/living/simple_animal/hostile/poison/terror_spider/widow/proc/on_inject(datum/source, mob/source, mob/living/carbon/target, reagent_id, reagent_amount, target_zone)
Expand Down

0 comments on commit a8e5457

Please sign in to comment.