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

[WIP] Scriptable special attacks #896

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

Conversation

GoLoT
Copy link
Contributor

@GoLoT GoLoT commented May 11, 2020

It's feedback time. I decided to go with a new plugin because this didn't fit any of the existing plugins and I have to add other combat engine related functions later on.

I still have to do thorough testing and the custom scripts only have access to the attacker oid (OBJECT_SELF) at the moment. I will expose the attacked object and other relevant information (damage, feat ID...) soon.

If there is any other info that could be useful to expose to the custom scripts or any other features that someone wants to be added, leave a comment here.

@GoLoT
Copy link
Contributor Author

GoLoT commented May 11, 2020

Added functions to get the feat ID, target oid and script type.

Results from the example script in readme.md:

image

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.

1 participant