CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

0.H candidate Npcs won't fight with bare hands #77107

Open 13524241908 opened 1 month ago

13524241908 commented 1 month ago

Describe the bug

In the latest 0.h candidate, npcs would stop fighting if they have no weapons (including claws that counts as weapons). They literally stand still and take all the hits.

Attach save file

Testworld-trimmed.tar.gz

Steps to reproduce

1.There is an already debug controlled follower called subject 0, take away his weapons. Or debug spawn a new follower and do the same. 2.Debug spawn a monster nearby. 3.Run and let subject0 deal with the monster, supposedly he would do nothing. 4.Run back and give subject 0 his weapon back, supposedly he would then start using the weapon to attack. 5.You can start over again, and change step4 to adding claw type mutations to subject0. Supposedly claw mutations that add claws as self hold weapons (claws, for example) would let him start attacking and claw mutations that don't add weapons (nails, for example) would do nothing and he still stands and just take hits.

Expected behavior

In step 3, subject0 would do nothing, or ran away if he takes too many hits. In step 4, subject0 would start attacking. In step 5, subject 0 would attack with claw mutations that add weapons and would not attack with claw mutations that don't add weapons.

Screenshots

No response

Versions and configuration

Additional context

No response

blackcatvesu commented 4 weeks ago

On further test I noticed that npcs would also do nothing during fights if bare handed in 0.G .

phelieros commented 4 weeks ago

Can confirm, I've encountered the same problem before.