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 immortal-cravings to naturally NO_EAT and NO_DRINK units #5097

Open
myk002 opened this issue Dec 11, 2024 · 0 comments
Open

apply immortal-cravings to naturally NO_EAT and NO_DRINK units #5097

myk002 opened this issue Dec 11, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@myk002
Copy link
Member

myk002 commented Dec 11, 2024

that is, check the caste raw flags in addition to the curse flags.

might want to implement this in Lua (from Units.cpp):

#define IS_ACTIVE_CASTE_FLAG(cf) !unit->curse.rem_tags1.bits.cf && \
(unit->curse.add_tags1.bits.cf || casteFlagSet(unit->race, unit->caste, caste_raw_flags::cf))
@myk002 myk002 added this to 50.15-r2 Dec 11, 2024
@github-project-automation github-project-automation bot moved this to Todo in 50.15-r2 Dec 11, 2024
@myk002 myk002 added the good first issue Good for newcomers label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant