Open
Description
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:
- Devote character
- Use defender
- Cancel defender
- Use defender again
- Devoted character only has 30% resistance instead of 80% at level 5 defender.
Expected behavior
Devoted character should have 80% resistance.
Metadata
Assignees
Labels
No labels