Skip to content

SC_DEFENDER typo #3303

@bWolfie

Description

@bWolfie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions