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

🐛 DEF bonus based on level is calculated incorrectly #6479

Open
3 tasks done
WinterSolstice8 opened this issue Nov 30, 2024 · 0 comments
Open
3 tasks done

🐛 DEF bonus based on level is calculated incorrectly #6479

WinterSolstice8 opened this issue Nov 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@WinterSolstice8
Copy link
Member

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Branch affected by issue

base

Steps to reproduce

calculate DEF compared to https://wiki.ffo.jp/html/1704.html and https://www.bg-wiki.com/ffxi/Defense, note it's slightly off

Expected behavior

see https://www.bg-wiki.com/ffxi/Defense and https://wiki.ffo.jp/html/1704.html calculations work

Some effected areas:

m_modStat[Mod::DEF] -= m_mlvl + std::clamp(m_mlvl - 50, 0, 10);

int32 DEF = 8 + m_modStat[Mod::DEF] + VIT() / 2;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant