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

Script comp fails on PRC includes #108

Closed
Jaysyn904 opened this issue Jan 18, 2024 · 1 comment
Closed

Script comp fails on PRC includes #108

Jaysyn904 opened this issue Jan 18, 2024 · 1 comment

Comments

@Jaysyn904
Copy link

The new script compiler fails when trying to compile scripts that ingest the PRC's include files.

File I'm trying to compile
skny.zip

PRC include files I'm compiling against.
prc_include_files.zip

Specific code it fails on:

int GetIsIncarnumUser(object oMeldshaper)
{
    return !!(GetLevelByClass(CLASS_TYPE_INCARNATE, oMeldshaper)
            || GetLevelByClass(CLASS_TYPE_SOULBORN, oMeldshaper)
            || GetLevelByClass(CLASS_TYPE_TOTEMIST, oMeldshaper)
            || GetLevelByClass(CLASS_TYPE_INCANDESCENT_CHAMPION, oMeldshaper)
            || GetHasFeat(FEAT_HEART_INCARNUM, oMeldshaper)
            || GetHasFeat(FEAT_INCARNUM_FORTIFIED_BODY, oMeldshaper)
            || GetHasFeat(FEAT_INVEST_ESSENTIA_CONV, oMeldshaper)
            || GetLevelByClass(CLASS_TYPE_SPINEMELD_WARRIOR, oMeldshaper));
}
@mtijanic
Copy link
Collaborator

Fixed by #129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants