[Core] Implement Alexander's Perfect Defense on summon
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
- [x] I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.
What does this pull request do?
Implements the avatar Alexander's Perfect Defense functionality when summoned. Timing primarily based on this video: https://www.youtube.com/watch?v=lOBxRZ6_ZnE&t=83s
Had to add usePetAbility to trigger from within the tick listener.
Steps to test these changes
- !changejob 15 99
- !addallspells
- /ja "Astral Flow"
- /ma "Alexander"
- He should not move, waits a couple seconds then casts Perfect Defense (clears Astral Flow from master) after that he will automatically release
~~Issue I'm still working on after the last push, the name of the skill used when calling onPetAbility is using the mob skill name in the message for some reason:~~
~~Umbral Smash has the same ID (671) as Perfect Defense.~~
This is resolved.
apparently this has conflicts now
This PR seems abandoned and in need of a rebase. I'll close it and open a new one.