Skip to content

Commit

Permalink
Yautja bracer shock fix (#4090)
Browse files Browse the repository at this point in the history
# About the pull request
I forgot when I moved the shock to process() to reduce the probability.
Currently, it's overkill lethal.
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game
Less murder-y
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: Yautja Bracers are no longer hyper lethal electrical outlets.
/:cl:
  • Loading branch information
realforest2001 committed Aug 3, 2023
1 parent 8d25b84 commit e4e3d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/cm_preds/yaut_bracers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
return
if(human_holder.stat == DEAD)
decloak(human_holder, TRUE)
if(!HAS_TRAIT(human_holder, TRAIT_YAUTJA_TECH) && !human_holder.hunter_data.thralled && prob(15))
if(!HAS_TRAIT(human_holder, TRAIT_YAUTJA_TECH) && !human_holder.hunter_data.thralled && prob(2))
decloak(human_holder)
shock_user(human_holder)

Expand Down Expand Up @@ -293,7 +293,7 @@
var/mob/living/carbon/human/human = loc

//Non-Yautja have a chance to get stunned with each power drain
if((!HAS_TRAIT(human, TRAIT_YAUTJA_TECH) && !human.hunter_data.thralled) && prob(15))
if((!HAS_TRAIT(human, TRAIT_YAUTJA_TECH) && !human.hunter_data.thralled) && prob(4))
if(cloaked)
decloak(human, TRUE, DECLOAK_SPECIES)
shock_user(human)
Expand Down

0 comments on commit e4e3d02

Please sign in to comment.