IBossVitals.TryGetBlood method
Attempts to read the current boss-blood percentage and stage for the entity identified by id, byte-identical to what the game’s own boss bar renders. Returns false when unresolvable or never observed; in that case percent and stage are both 0.
public bool TryGetBlood(EntityId id, out int percent, out int stage)| parameter | description |
|---|---|
| id | The entity id (as seen on combat events / the boss detection surface). |
| percent | Blood percentage in [0,100] on success. |
| stage | Boss blood-bar stage (BossBloodUtil.CalculateBloodStage) on success. |
Return Value
Section titled “Return Value”true if a live boss-blood observation was read; otherwise false.
See Also
Section titled “See Also”- struct EntityId
- interface IBossVitals
- namespace Stellar.Abstractions.Services