Skip to content

Commit

Permalink
Boiler neurotoxin now drains stims, neuro tailstab buff
Browse files Browse the repository at this point in the history
  • Loading branch information
private-tristan committed Jan 19, 2025
1 parent 34508ed commit 2848358
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions code/datums/effects/neurotoxin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
var/chat_cd = 0
/// Stamina damage per tick. Major balance number.
var/stam_dam = 7
/// Stimulant drain per tick.
var/stim_drain = 2

/datum/effects/neurotoxin/New(atom/thing, mob/from = null)
..(thing, from, effect_name)
Expand All @@ -45,6 +47,8 @@
affected_mob.last_damage_data = cause_data
affected_mob.apply_stamina_damage(stam_dam)
affected_mob.make_dizzy(12)
for(var/datum/reagent/generated/stim in affected_mob.reagents.reagent_list)
affected_mob.reagents.remove_reagent(stim.id, stim_drain, TRUE)

// Effect levels (shit that doesn't stack)
switch(duration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
var/datum/effects/neurotoxin/neuro_effect = locate() in carbon_target.effects_list
if(!neuro_effect)
neuro_effect = new(carbon_target, owner)
neuro_effect.duration += 16
neuro_effect.duration += 20
to_chat(carbon_target,SPAN_HIGHDANGER("You are injected with something from [stabbing_xeno]'s tailstab!"))
else
CRASH("Globber has unknown ammo [stabbing_xeno.ammo]! Oh no!")
Expand Down

0 comments on commit 2848358

Please sign in to comment.