cerniglj1/osrs-quest-tool

View on GitHub
src/model/account/OsrsAccount.ts

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

        if (this.osrsAccount) {
            const attklvl = this.osrsAccount.main.skills.attack?.level ?? 1;
            const strlvl = this.osrsAccount.main.skills.strength?.level ?? 1;
            const deflvl = this.osrsAccount.main.skills.defence?.level ?? 1;
            const rangedlvl = this.osrsAccount.main.skills.ranged?.level ?? 1;
Severity: Critical
Found in src/model/account/OsrsAccount.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status