Skip to content

Commit

Permalink
Hallucination Anomaly Fix (#3614)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Hallucination Anomalies will no longer migrate off their tile
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
bugfix
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
fix: Hallucination Anomalies will stay on their tile now.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

Co-authored-by: Bjarl <[email protected]>
  • Loading branch information
Erikafox and Erikafox authored Oct 22, 2024
1 parent 7b11200 commit 2e23492
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
var/turf/open/our_turf = get_turf(src)
if(istype(our_turf))
hallucination_pulse(our_turf, 5)
pixel_x = pixel_x + clamp(rand(-5, 5), -16, 16)
pixel_y = pixel_y + clamp(rand(-5, 5), -16, 16)
pixel_x = clamp(pixel_x + rand(-5, 5), -16, 16)
pixel_y = clamp(pixel_y + rand(-5, 5), -16, 16)

/obj/effect/anomaly/hallucination/detonate()
var/turf/open/our_turf = get_turf(src)
Expand All @@ -45,7 +45,7 @@
var/list/messages = list(
"You feel your conscious mind fall apart!",
"Reality warps around you!",
"Something's wispering around you!",
"Something whispers around you!",
"You are going insane!",
)
to_chat(user, span_warning(pick(messages)))
Expand Down

0 comments on commit 2e23492

Please sign in to comment.