Files
Bubberstation/code/modules
Jacquerel a658fe8ee8 Fix guardian basic attacks (#90911)
## About The Pull Request

Fixes #90902

There were a couple of problems:
- The check `if (!isliving(attacked_atom) ||
!isclosedturf(attacked_atom))` would obviously always early return
before performing the war cry because we don't have any walls in the
game which are also living mobs. I fixed it.
- Attack chain refactoring meant that attacking nonliving targets as a
basic mob would reset the attack cooldown to the default rather than the
mob one. Maybe when we kill simple mobs we can remove that code and let
basic mobs handle it themselves?
- For some reason we were playing a sound on the loc of an attacked atom
instead of the atom, which is an area if you are punching a wall, which
runtimes. Now we just play it on the atom, IDK why we weren't doing
that.

## Changelog

🆑
fix: Standard Holoparasites will once again yell their battlecry and can
rapidly punch windows.
/🆑
2025-04-30 19:17:40 +00:00
..
2025-04-29 08:35:02 -06:00
2025-04-30 19:17:40 +00:00
2025-04-19 13:44:49 +00:00