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

Kidnapping of Boo non-functional #44

Open
lambda-dom opened this issue May 26, 2024 · 1 comment
Open

Kidnapping of Boo non-functional #44

lambda-dom opened this issue May 26, 2024 · 1 comment

Comments

@lambda-dom
Copy link

The "Kidnapping of Boo" quest is non functional for me (tested in BG2 EE). Tracked down the culprit to the last lines of setup_kidnapping_of_boo.tpa which has the following macro applied on copying the spells for removing/re-adding boo:

LPF CLONE_EFFECT
        INT_VAR
        check_global	= 0
        match_opcode	= 54
        opcode		= 206
        parameter1	= ~-1~
        parameter2	= 0
        STR_VAR
        resource	= ~%SOURCE_RES%~
      END

This inserts the 206 self-protection at the beginning of the spell, blocking its application entirely. Adding insert = "last" should fix the problem, e.g.:

LPF CLONE_EFFECT
    INT_VAR
    check_global = 0
    match_opcode = 54
    opcode = 206
    parameter1 = ~-1~
    parameter2 = 0
STR_VAR
    resource = ~%SOURCE_RES%~
    insert = "last"
END
@Frenzgyn
Copy link

Frenzgyn commented May 28, 2024

Yep, confirm the bug, I was working on a fork with the intention of doing a PR at some point, but due to lack of time, never did.

Frenzgyn@dde3dcc

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