Package net.storm.api.rs
Interface HealthBarConfig
- All Superinterfaces:
net.runelite.api.HealthBarConfig
public interface HealthBarConfig
extends net.runelite.api.HealthBarConfig
Represents the configuration settings for a health bar.
This interface extends the RuneLite API's HealthBarConfig to provide additional configuration properties specific to the Storm API. The configuration defines how a health bar is displayed, including its scale and other visual properties.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintgetScale()Gets the scale value for this health bar configuration.Methods inherited from interface net.runelite.api.HealthBarConfig
getHealthBarBackSprite, getHealthBarFrontSprite, getHealthBarFrontSpriteId, setPadding
-
Method Details
-
getScale
int getScale()Gets the scale value for this health bar configuration.The scale determines the maximum value used when calculating health ratios. This is typically used to convert the health ratio into an actual health value when combined with
HealthBarUpdate.getHealthRatio().For example, if the scale is 30 and the health ratio is 15, the actor is at 50% health.
- Returns:
- the scale value for calculating health percentages
-