question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Get player's current HP

See original GitHub issue

Like explained in the title, provide HP as part of the performance object

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rynan4818commented, Mar 25, 2022

I, too, have made a pull request for this feature before, but gave up because I could not solve the problem of inconsistent energy values. https://github.com/opl-/beatsaber-http-status/pull/57

Please refer to the event information obtained from http-status as it is possible to estimate the current energy value on the overlay side. The following code is working fine. https://github.com/rynan4818/beat-saber-overlay/blob/ddfc3c20f7123e8dd2e434d7fb77c2d25d2b52c7/js/ui.js#L13-L107

However, since chain notes will be added in BeatSaber 1.20, the decrease in energy value when a mistake is made in chain notes will be different from normal and will need to be modified. Also, to do so, http-status, which is compatible with 1.20, needs to send information that ChainNotes can determine.

0reactions
EmilMalanczakcommented, Mar 25, 2022

thank u a lot for sharing a link to working code 🤩

I’m aware of upcoming 1.20 version but since http-status seems to be maintained I dont have to care that much - I’ll be adding support for other data mod providers. I’ll also add a version checker per element to not break anything 😛

Read more comments on GitHub >

github_iconTop Results From Across the Web

View your own character exact HP numbers
There should be a way to view the exact numeric HP value of your own character (not just the HP bar that shows...
Read more >
Option to show numbers on Health / Mana bubbles.
Feature Request : Option to show numbers on Health / Mana bubbles. · Step one: drain your mana · Step two: hover mouse...
Read more >
Having a DM Sheet With All Players HP At Once
Two things the DM constantly asks the player for. Having a "DM's Screen" page with a simple table that shows the Current HP,...
Read more >
dnd 5e - Do you gain current HP when you level up?
The core answer is that the maximum hit points, not the current hit points, increase when leveling up, though the increase in hit...
Read more >
[Feature Request] <Overabsorb new Style: "2nd healthbar>
The first one shows the currently available option "wrapped", where the player is at 78,7%. the darker purple represents the absorb amount to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found