Skip to main content

Bottle Rune Timer

Shows directly on the inventory slot how many seconds are left until the rune stored in the bottle activates.


Visual (ะ’ะธะทัƒะฐะปั‹)  โ†’  Bottle rune timer (ะขะฐะนะผะตั€ ั€ัƒะฝั‹ ะฒ ะฑะพั‚ั‚ะปะต)

What it doesโ€‹

The script tracks the bottle (Bottle) of the selected unit and displays a countdown over its inventory slot โ€” the time in seconds until the moment the stored rune is automatically activated.

Display logicโ€‹

  • The timer appears only if the bottle contains a stored rune (not an empty bottle).
  • The countdown is shown until the rune's lifetime expires (RuneExpireTime): while it is greater than zero.
  • When the remaining time is less than 1 second, the number is shown with one decimal place (for example 0.4); otherwise โ€” as a whole number.
  • The text is drawn in white, centered on the bottle slot icon in the lower HUD.
  • The script works only during the game (in-game); on the post-game screen and outside the game the timer is not shown.
  • If the selected unit is an illusion, the timer is not shown.

Settingsโ€‹

OptionTypeDefaultDescription
StateToggleOnEnables/disables the entire script.
Additional text sizeSlider0Additional scaling of the timer digits' size. Range: 0โ€“100. At a value of 0 the base size is used; the smaller the value, the larger the text (inverted scale).