mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-16 01:29:35 +01:00
## About The Pull Request ### Fix If a monkey has no enemies, it will not attack anything. For normal monkeys, this just caused nothing to happen. For angry monkeys, this allowed them to run `monkey_set_combat_target` and pick a target from view rather than enemies list. However, when determining "am I allowed to attack this guy", it checked the enemies list. Which is still empty. Meaning angry monkeys would not attack the target they just selected. I fixed this by adding a check for target in addition to a check for enemies. ### Other I also reduced the chance of screeching from 100% to 25% (or 10% for humans). ## Why It's Good For The Game - Bugfix - In testing this bugfix, monkeys screeching literally every attack is a bit excessive and spammy, especially if you're not a monkey. Bumping the odds down keeps the "rabid monkey" effect without overdoing it. ## Changelog 🆑 Melbert fix: Angry monkeys (and the primal instincts trauma) are VIOLENT again qol: Monkeys no longer screech every tick they are attacking someone (now ~1 in 4 ticks, or ~1 in 10 for primal instincts) /🆑