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

More flags on instances to allow more freedom on which instance cast under certains conditions #3071

Open
wants to merge 55 commits into
base: master
Choose a base branch
from

Conversation

walt253
Copy link
Contributor

@walt253 walt253 commented Mar 21, 2024

Adds 2 new properties for instance on creature.cfg:

OUT_OF_BATTLE allows instance to be used whenever available when the creature is not fighting and not imprisoned.
WHILE_IMPRISONED allows instance to be used whenever available when the creature is imprisoned.

EDIT: it now adds a whole bunch of Activation Flag instead. See comments on creature.cfg.

@walt253 walt253 requested a review from benlp91 March 21, 2024 02:25
@walt253 walt253 marked this pull request as ready for review March 24, 2024 14:05
@walt253 walt253 marked this pull request as draft March 24, 2024 16:13
Rename CAST_ON_CUSTODY into WHILE_IMPRISONED + add a check so they don't cast buff if already buffed.
@walt253 walt253 marked this pull request as ready for review March 24, 2024 17:53
walt253 and others added 5 commits March 25, 2024 18:49
@walt253 walt253 marked this pull request as draft March 25, 2024 23:42
@walt253 walt253 marked this pull request as ready for review March 25, 2024 23:42
@walt253 walt253 marked this pull request as draft March 26, 2024 00:30
@walt253 walt253 marked this pull request as ready for review March 26, 2024 00:30
@walt253 walt253 marked this pull request as draft April 1, 2024 22:22
@walt253 walt253 marked this pull request as ready for review April 1, 2024 22:22
@walt253 walt253 marked this pull request as draft April 1, 2024 22:37
@walt253 walt253 marked this pull request as ready for review April 1, 2024 22:37
@walt253 walt253 marked this pull request as draft April 2, 2024 17:16
@walt253 walt253 marked this pull request as ready for review April 2, 2024 17:16
@walt253 walt253 marked this pull request as draft April 2, 2024 17:41
@walt253 walt253 marked this pull request as ready for review April 2, 2024 17:41
hopefully now it works
kept the new enum but reverted to use a number for func_idw check because it doesn't build and I don't know why
@walt253
Copy link
Contributor Author

walt253 commented Apr 2, 2024

Tried to move stuff to the header but it didn't work either so for now back to using a number for func_idx check because of build warnings/errors that I can't figure why it happens 🥲. If someone know why and know how to fix, please go ahead and fix it, if you want of course, thanks!

@walt253 walt253 marked this pull request as draft April 9, 2024 07:06
@walt253 walt253 marked this pull request as ready for review April 9, 2024 07:06
@walt253 walt253 marked this pull request as draft April 14, 2024 08:08
@walt253 walt253 marked this pull request as ready for review April 14, 2024 08:08
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

Successfully merging this pull request may close these issues.

None yet

2 participants