Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetRuneCount

Last wiki revision 2022-08-01

Returns the Death Knight's number of runes for a slot.

count = GetRuneCount(slot)

  • slot: - Ranging from 1 to 6 which correspond to the available rune slots from left to right.
  • count: - 1 if the rune is available and not on cooldown or 0 if the rune is on cooldown.

To find out how many runes the player has available to spend:

total = 0 for i=1,6 do total = total + GetRuneCount(i) end print(total)

Source

https://warcraft.wiki.gg/wiki/API_GetRuneCount · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.