CleverRaven / Cataclysm-DDA

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

NPCs with Quick trait do not receive the action points bonus #76303

Open XygenSS opened 2 months ago

XygenSS commented 2 months ago

Describe the bug

The starting trait Quick (https://cdda-guide.nornagon.net/mutation/QUICK) gives you 10% more action points. NPCs and followers who have this trait do not benefit from it.

Attach save file

Alamo-trimmed.tar.gz

Steps to reproduce

  1. Obtain follower
  2. Grant them the Quick mutation
  3. Talk to the follower and see their character sheet - observe that speed is 100, instead of 110
  4. Grant Quick to yourself and walk in a straight line with the follower - observe that they lag behind you

Expected behavior

Follower has 110 speed as intended.

Screenshots

No response

Versions and configuration

Additional context

No response

Standing-Storm commented 2 months ago

I ran into something similar when reworking the MoM power Neuro-Acceleration for #75457--when I asked to see the NPCs's @ sheet, it showed no bonus (and they were indeed slower than me), but when I switched to the NPC it displayed the bonus.

RenechCDDA commented 2 months ago

I did a manual test just to be sure it wasn't a display issue by increasing quick's bonus speed to 2.0x. I gave both myself and a NPC the quick trait, then simply walked in one direction. They quickly fell behind.