Skip to content

Comments

[WIP] Scriptable special attacks#896

Open
GoLoT wants to merge 5 commits intonwnxee:masterfrom
GoLoT:specialattacks
Open

[WIP] Scriptable special attacks#896
GoLoT wants to merge 5 commits intonwnxee:masterfrom
GoLoT:specialattacks

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