Skip to content

Using a blowpipe with no darts should be a no-op & show a warning #293

@jayktaylor

Description

@jayktaylor

What went wrong?

For example, opening from RuneLite will not allow us to know what darts the player is using (there is no client-side varb or varp for this, afaik), so it will open the calculator with a blowpipe equipped but no darts (runelite/runelite#17688).

What did you expect to happen?

We should essentially no-op when someone chooses the normal blowpipe with no specific ammo type, and show no DPS. We should also show a warning (probably by adding a UserIssueType) to inform the user.

What browsers are you seeing the problem on?

Firefox

What device(s) are you seeing the problem on?

Windows

Any other information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcalcIssue affects the core calculator codeuiIssue affects the UI/React code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions