forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Many small logic adjustments and bugfixes for NPC targeting / threat …
…assessment (CleverRaven#69840) * Cleanup and small logic adjustments rename memory function to match other caches fix a small oversight with melee engagement Adjust swarming range to use weapon ranges instead of arbitrary numbers * missed a word * astyle * monster difficulty assessment adjustments added armour calculations added some special attack calculations * fix? npc yo-yo behaviour when repositioning * minor fix * allow NPCs to pursue hit-and-run enemies * astyle * Change several NPC default settings * don't pulp if far from player * assstyle * fix bugs, balance changes. The usual. * pulping corpses seeks within engagement distance * revert monster diff changes, for now We can return here later but I want this PR done. * update test * fix two clang errors, one test left * Update npc_talk_test.cpp set tests to use a flag that's less likely to change. It is unlikely we'll set "forbid engagement" to default to on. * Update npc_talk_test.cpp * Update npc_talk_test.cpp try disabling this line of the test because I have a headache * Update npc_talk_test.cpp * Update TALK_TEST.json * Update data/json/npcs/TALK_TEST.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
68aba67
commit 924079e
Showing
7 changed files
with
102 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.