Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HvH melee stun changes #16617

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions code/modules/mob/living/carbon/human/human_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ Contains most of the procs that are called when a mob is attacked by something

switch(hit_area)
if("head")//Harder to score a stun but if you do it lasts a bit longer
if(prob(applied_damage - 5) && stat == CONSCIOUS)
apply_effect(modify_by_armor(10 SECONDS, MELEE, def_zone = target_zone), WEAKEN)
if(prob(applied_damage - 15) && stat == CONSCIOUS)
ParalyzeNoChain(modify_by_armor(10 SECONDS, MELEE, def_zone = target_zone) * 100 / maxHealth)
visible_message(span_danger("[src] has been knocked unconscious!"),
span_danger("You have been knocked unconscious!"), null, 5)
hit_report += "(KO)"
Expand All @@ -194,8 +194,8 @@ Contains most of the procs that are called when a mob is attacked by something
update_inv_glasses(0)

if("chest")//Easier to score a stun but lasts less time
if(prob((applied_damage + 5)) && !incapacitated())
apply_effect(modify_by_armor(6 SECONDS, MELEE, def_zone = target_zone), WEAKEN)
if(prob((applied_damage - 5)) && stat == CONSCIOUS)
ParalyzeNoChain(modify_by_armor(6 SECONDS, MELEE, def_zone = target_zone) * 100 / maxHealth)
visible_message(span_danger("[src] has been knocked down!"),
span_danger("You have been knocked down!"), null, 5)
hit_report += "(KO)"
Expand Down
Loading