Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply effects from passive enchantments #43101

Merged
merged 6 commits into from
Aug 26, 2020

Conversation

Fris0uman
Copy link
Contributor

@Fris0uman Fris0uman commented Aug 21, 2020

Summary

SUMMARY: None

Purpose of change

Apply effects from passive enchantments
fixes #43105

Describe the solution

Add one line to activate_passive() in suffer()

Add tests to check enchantments keep working

Describe alternatives you've considered

Testing

Dig up test enchantment from #39563
Install the bionic
Get +25 strenght and be invisible

Wear a +1dex ring > get +1 dex

Run the tests without errors

Additional context

@Fris0uman Fris0uman changed the title Apply effects from bionic enchantments Apply effects from passive enchantments Aug 21, 2020
@Fris0uman Fris0uman marked this pull request as draft August 21, 2020 20:29
@anothersimulacrum anothersimulacrum added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` labels Aug 21, 2020
@MutaMan
Copy link

MutaMan commented Aug 21, 2020

Will this affect mutation enchantments as well or just bionic ones and what seems like equipment(+1dex ring)?

@Fris0uman Fris0uman marked this pull request as ready for review August 22, 2020 13:57
@ZhilkinSerg ZhilkinSerg added Mechanics: Effects / Skills / Stats Effects / Skills / Stats Code: Tests Measurement, self-control, statistics, balancing. Mutations / Traits / Professions/ Hobbies Mutations / Traits / Professions/ Hobbies labels Aug 25, 2020
@ZhilkinSerg ZhilkinSerg merged commit a7dda48 into CleverRaven:master Aug 26, 2020
Ramza13 pushed a commit to Ramza13/Cataclysm-DDA that referenced this pull request Sep 26, 2020
@Fris0uman Fris0uman deleted the bio_ench branch June 22, 2021 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. Mechanics: Effects / Skills / Stats Effects / Skills / Stats Mutations / Traits / Professions/ Hobbies Mutations / Traits / Professions/ Hobbies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Effects provided by enchantments aren't being applied
4 participants