Skip to content

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

@myk002

Description

@myk002

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions