Skip to content
Version 2.11.0
↓ Get the launcher

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.

true if a live boss-blood observation was read; otherwise false.