Implement follow-up attacks and update virtue stone weapons to use follow-up attacks #6560
+171
−177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I affirm:
What does this pull request do?
Based on retail research, makes some adjustments to attackround and implements follow-up attacks. Update virtue stone weapons to use follow-up attacks.
H2H attack round
CreateAttacks
with the left hand twice, and force the animation of the second swing toRIGHTATTACK
inAddAttackSwings
Iga mod
!isMainHand
while keeping the mod check where it was would admittedly be more in scope for this PR.Follow-up attacks
ProcFollowUpAttacks
will iterate through the swings and check for eligibility to store a follow-up swing. If a swing is eligible to proc a follow-up and does so successfully, it will be stored in order. Once all of the attack swings have been checked, follow-up attacks will be appended to the attack round in the order that they triggered.Steps to test these changes
Faith Baghnakhs - H2H
!additem 5410 99
-- Virtue Stone Pouch!additem 18360
-- Faith BaghnakhsExample Key
Attack Order
Examples
No stones
After this, kick attacks will be added if they trigger
Next, all attacks from the knuckles will try to proc a follow-up
Fortitude Axe - 2H
Example Key
!additem 18222
RIGHTATTACK
)Examples
Justice Sword - 1H
Example Key
!additem 17710
Examples
Final Notes
gear_sets.lua