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

[LUA] Hybrid Weaponskill Damage is Incorrect #5883

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

Conversation

Gloin-Horizon
Copy link

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • [] 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?

Hybrid weaponskill base physical damage and bonus magic damage is now computed according to the following references.

Steps to test these changes

Use Piercing Arrow at 3000 TP and record the damage. Then use Flaming Arrow at 3000 TP and verify that you get something close to the following.

Physical Hit - Same as Flaming Arrow

Magic Base = Physical Hit * fTP

Modifier = 0.2 if using gorget/belt, 0.1 if using gorget or belt, 0 otherwise.

Magical Hit = ((Magic Base + mDMG) * MAB * (1/MDB)* Affinity * Day/Weather * SDT * TMDA * WSD + Physical Hit * Modifier

[Bug 5865] Hybrid Weaponskill Damage is Incorrect

Hybrid weaponskill base physical damage and bonus magic
damage is now computed according to the following references.

https://wiki.ffo.jp/html/1261.html
https://www.ffxiah.com/forum/topic/33470/the-sealed-dagger-a-ninja-guide/151/#3420836
https://www.ffxiah.com/forum/topic/49614/blade-chi-damage-formula/2/#3171538
Copy link

github-actions bot commented Jun 4, 2024

✨ Thanks for the PR! ✨

This is a friendly automated reminder that the maintainers won't look at your PR until you've properly completed all of the checkboxes in the pre-filled template.

Added tp variable computeHybridMagicDamage function.
@Gloin-Horizon Gloin-Horizon marked this pull request as draft June 4, 2024 07:11
@Gloin-Horizon Gloin-Horizon changed the title Bug 5865 hybrid weaponskill damage is incorrect Jun 4, 2024
@Gloin-Horizon Gloin-Horizon changed the title [SQL] Hybrid Weaponskill Damage is Incorrect Jun 4, 2024
@WinterSolstice8
Copy link
Member

Sorry we have to keep re-running the CI for you manually until you get your first merge in. If you need us to poke it let us know by commenting here.

@Gloin-Horizon
Copy link
Author

Ok. I had this drafted as I haven't had the time to do an Arching Arrow test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants