CleverRaven / Cataclysm-DDA

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

Mutations' effects gained through passive effects of artifacts don't activate #77971

Open Night-Pryanik opened 12 hours ago

Night-Pryanik commented 12 hours ago

Describe the bug

Mutations' effects gained through passive effects of artifacts don't actually activate. While mutations are listed as in TRAITS tab of @-menu, they don't apply their effect to character.

Attach save file

N/A

Steps to reproduce

Debug-spawn clairvoyance artifact. Check @-menu. Notice that you have Debug Clairvoyance Super mutation, but there is no effect of that mutation. Drop the artifact and manually add the mutation. Notice that mutation effect is triggered immediately.

Debug spawn Ixythyug the Destroyer's soul from Magiclysm. Wear it. Check @-menu. Notice that you have lots of demonic mutations, but there is no effect of them, e.g. you don't have increased strength and dexterity from Demonic Possession mutation. If you manually add the mutation (without worn artifact), you'll get the increased stats. Also it's worth mentioning that though you don't have increased strength from Huge (DEMON_HUGE) mutation gained by the same artifact, you still become huge and destroy your gear, this means that only some of effects are triggered, and some are not.

Expected behavior

All mutations' effects gained through passive effects of artifacts should activate.

Screenshots

изображение

изображение Note that I have several demonic stat-changing mutations gained by the artifact, and no actual change in my stats.

Versions and configuration

Additional context

No response

GuardianDll commented 12 hours ago

Related issue: #74994 Related PR: #64118