cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
697 stars 272 forks source link

Possible NPC fighting bug - Nail Knuckles regarded as worse than being completely unarmed. #5420

Open Proxiehunter opened 1 month ago

Proxiehunter commented 1 month ago

Describe the bug

It's possible that I just don't understand how nail knuckles and unarmed fighting combine but I was under the impression that they added to whatever damage your unarmed attacks were already doing so as long as you didn't have claws equipping nail knuckles or another unarmed weapon would be superior to just punching no matter what your strength was.

The NPC in question is a post threshold bear mutant but has no mutations that provide an attack. They have the mutations: Fat Deposits, Huge, Hibernation, Insanely Strong, Martial Arts Training (I understand this does not actually work on NPCs), Quick, Shaggy Fur, TAAAANK, Ursine Ears, Badly Deformed, Smelly, and Bear.

They have melee 4, unarmed combat 5/5. Their strength is 27 (modified to 28 by stats through skills). When I try to have them equip the nail knuckles I'm told that their current "weapon" (I've checked their inventory and moused over them to look. They are unarmed.) is better than the nail knuckles with the nail knuckles having a value of 35.9 and their fists having a value of 36.9.

I am uncertain if the problem is with the NPC code or the code of the nail knuckles. It's also possible that one of their mutations renders them unable to use the nail knuckles but if that's the case the message the game provides is confusing the issue.

Used debug to remove his martial arts training in case that was somehow causing the issue. It did not solve the problem.

Probably abandoning this save anyway, I started it in a world I didn't mean to with mods I didn't want active and aside from the big buff bear mutant following me the spawn location looks bad. Jaberwalky to my east, FEMA camp to my west, and nothing decent near by.

Steps To Reproduce

  1. Try to give a big buff bear mutant who's unarmed and has no claws some nail knuckles so he can punch zombies harder.
  2. Watch him refuse because he says he punches harder without them.
  3. Be baffled how that works.

Screenshots

No response

Versions and configuration

Additional context

No response

RoyalFox2140 commented 1 month ago

I don't recall how unarmed weapons scale with unarmed skill and your stats versus just being unarmed. It's possible that unarmed weapons are worse than being unarmed completely.