mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 15:48:49 +01:00
[MIRROR] Removes Armorsoak (#11879)
Co-authored-by: Reo Lozzot <84661000+ReoDaProtovali@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Reo Lozzot
Cameron Lennox
parent
5a67ca234c
commit
5e918deded
@@ -129,7 +129,6 @@
|
||||
|
||||
if(!target_limb) target_limb = pick(BP_ALL)
|
||||
var/blocked = target.run_armor_check(target_limb, "melee")
|
||||
var/soaked = target.get_armor_soak(target_limb, "melee")
|
||||
|
||||
if(blocked >= 100)
|
||||
return
|
||||
@@ -143,7 +142,7 @@
|
||||
|
||||
if(affecting)
|
||||
to_chat(target, span_danger("\The [fruit]'s thorns pierce your [affecting.name] greedily!"))
|
||||
target.apply_damage(damage, BRUTE, target_limb, blocked, soaked, TRUE, has_edge)
|
||||
target.apply_damage(damage, BRUTE, target_limb, blocked, TRUE, has_edge)
|
||||
else
|
||||
to_chat(target, span_danger("\The [fruit]'s thorns pierce your flesh greedily!"))
|
||||
target.adjustBruteLoss(damage)
|
||||
@@ -152,7 +151,7 @@
|
||||
has_edge = prob(get_trait(TRAIT_POTENCY)/5)
|
||||
if(affecting)
|
||||
to_chat(target, span_danger("\The [fruit]'s thorns dig deeply into your [affecting.name]!"))
|
||||
target.apply_damage(damage, BRUTE, target_limb, blocked, soaked, TRUE, has_edge)
|
||||
target.apply_damage(damage, BRUTE, target_limb, blocked, TRUE, has_edge)
|
||||
else
|
||||
to_chat(target, span_danger("\The [fruit]'s thorns dig deeply into your flesh!"))
|
||||
target.adjustBruteLoss(damage)
|
||||
|
||||
Reference in New Issue
Block a user