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

New Component: NWN-ish Disarm #110

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from
Draft

Conversation

4Luke4
Copy link
Contributor

@4Luke4 4Luke4 commented Sep 30, 2024

NWN-ish Disarm class feat for rogues.

@4Luke4 4Luke4 marked this pull request as ready for review October 1, 2024 18:10
@4Luke4 4Luke4 marked this pull request as draft October 1, 2024 20:10

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In line 256:
if sprite:getLocalInt("gtCGameSpriteStartedSwing") == 1) then
Shouldn't it be?:
if sprite:getLocalInt("gtCGameSpriteStartedSwing" == 1) then

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there is a typo. Should be if sprite:getLocalInt("gtCGameSpriteStartedSwing") == 1 then

@4Luke4 4Luke4 marked this pull request as ready for review October 20, 2024 10:45
@4Luke4 4Luke4 marked this pull request as draft December 17, 2024 16:06
- Add missing `["durationType"] = 1` to op122.
- Make sure to unequip ammo (apparently, if you disarm a launcher, the corresponding ammo is still equipped).
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.

2 participants