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

SC_DEFENDER typo #3303

Open
bWolfie opened this issue Jun 18, 2024 · 0 comments
Open

SC_DEFENDER typo #3303

bWolfie opened this issue Jun 18, 2024 · 0 comments

Comments

@bWolfie
Copy link
Contributor

bWolfie commented Jun 18, 2024

Describe the bug
Caused by this line in status.c

status->change_start(bl, &tsd->bl, type, 10000, val1, 5 + val1 * 5, val3, val4, total_tick, SCFLAG_NOAVOID, skill_id);

Should be

status->change_start(bl, &tsd->bl, type, 10000, val1, 5 + val1 * 15, val3, val4, total_tick, SCFLAG_NOAVOID, skill_id);

Or better yet, could just use val2 instead of doing the calculation again.

To Reproduce
Steps to reproduce the behavior:

  1. Devote character
  2. Use defender
  3. Cancel defender
  4. Use defender again
  5. Devoted character only has 30% resistance instead of 80% at level 5 defender.

Expected behavior
Devoted character should have 80% resistance.

@bWolfie bWolfie changed the title SC_DEFENDER SC_DEFENDER typo Jun 18, 2024
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

No branches or pull requests

1 participant