-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Teleglow can cause permanent irreversible fungal infections #52040
Comments
@Kribylet #51939 is caused by a different snippet of code in player_hardcoded_effects.cpp which has basically the same problem - it adds the fungal effect with a 1 turn duration and the permanent flag is set to true. It should be something like u.add_effect( effect_fungus, 4_hours, false ); <--- time depending on how intense we want it to be on initial infection.
Previously, the antifungal drug would directly remove the effect of a fungus infection. |
If the permanent flag is the issue, why does reverting #51827 also fix the issue (for #51939)? |
Yeah ok, I see what you're talking about in your PR. |
Describe the bug
Teleglow can cause permanent irreversible fungal infections due to antifungals now working over time #42388
Steps To Reproduce
Step into a portal and hope for the 1/10,000 chance that you get the fungal result.
Expected behavior
This used to be a curable condition when antifungals were instant and removed the fungal infection directly. Since teleglow is not coded to specifically make you a Mycus, it should still be curable.
The duration should probably be changed to something relatively long, but the permanent flag should be set to false.
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Bionic Professions [package_bionic_professions],
Bionic Slots [cbm_slots]
]
(This is my own build with very minor bug fixes that don't touch player_hardcoded_effects.cpp)
Additional context
No response
The text was updated successfully, but these errors were encountered: