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

Special attacks #141

Open
24 of 57 tasks
jayktaylor opened this issue Jan 26, 2024 · 1 comment
Open
24 of 57 tasks

Special attacks #141

jayktaylor opened this issue Jan 26, 2024 · 1 comment
Labels
calc Issue affects the core calculator code epic Major, usually ongoing task feature request ui Issue affects the UI/React code

Comments

@jayktaylor
Copy link
Member

jayktaylor commented Jan 26, 2024

What feature would you like to see?

The calculator currently does not support using special attacks that have attack/damage/def roll modifiers. This would require several components:

  • Enum for special attacks(?)
  • Map for Special attack => [Item IDs] (maybe an object with name and description too to show on UI?)
  • Special attack toggle on UI

Special attacks

Healing and restoration

Healing and restoration weapons heal the user's health or restore their stats based on the damage dealt to their opponent.

Obviously, we're not taking into account the player's current health during the DPS calculation, but these attacks still modify rolls.

Stat-boosting

Similar to stat-boosting potions, stat-boosting special attacks will temporarily boost skills above their current level.

Multi-target

When used, multi-target attacks can hit multiple enemies with the same attack.

We're not handling multi-targets in the calculator, but these attacks still modify rolls.

Stat-draining

These attacks will drain the target's stats based on the amount of damage done.

Accuracy and damage

These attacks affect some combination of the attack roll and the damage roll, and may also include latent damage to a target.

Multi-hit

These attacks hit the target multiple times in one attack or game tick.

Binding

These attacks freeze or stun the target, holding them in place for a set amount of time.

We probably don't really care about the stun aspect here, but these attacks still modify rolls.

Evidence

No response

@jayktaylor jayktaylor added calc Issue affects the core calculator code ui Issue affects the UI/React code feature request epic Major, usually ongoing task labels Jan 26, 2024
@jayktaylor jayktaylor pinned this issue Jan 26, 2024
@jayktaylor
Copy link
Member Author

Initial set of spec support released in https://github.com/weirdgloop/osrs-dps-calc/releases/tag/09-07-24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calc Issue affects the core calculator code epic Major, usually ongoing task feature request ui Issue affects the UI/React code
Projects
None yet
Development

No branches or pull requests

1 participant