mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
[s] Lowers xenomorph acid damage on living mobs (#22291)
* What does acid taste like? * Contra Review * Contra Review * Contra Review * Update code/modules/mob/living/carbon/human/human_defense.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,10 @@
|
||||
if(!plasma_check(200, user))
|
||||
to_chat(user, "<span class='noticealien'>You don't have enough plasma to perform this action!</span>")
|
||||
return
|
||||
if(target.acid_act(200, 100))
|
||||
var/acid_damage_modifier = 100
|
||||
if(isliving(target))
|
||||
acid_damage_modifier = 50
|
||||
if(target.acid_act(2 * acid_damage_modifier, acid_damage_modifier))
|
||||
visible_message("<span class='alertalien'>[user] vomits globs of vile stuff all over [target]. It begins to sizzle and melt under the bubbling mess of acid!</span>")
|
||||
add_attack_logs(user, target, "Applied corrosive acid") // Want this logged
|
||||
user.add_plasma(-200)
|
||||
|
||||
Reference in New Issue
Block a user