C_Scenario.GetProvingGroundsInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.4.0

Returns info for the current Proving Grounds trial.

difficulty, curWave, maxWave, duration = C_Scenario.GetProvingGroundsInfo()

Returns

difficulty
number - difficulty ID of the current trial, 1 for bronze.
curWave
number - current wave index, ascending from 1.
maxWave
number - number of waves in the trial.
duration
number - total amount of time allotted to complete the current wave; 0 if the wave is not time-limited.

Details

  • If no Proving Grounds trial is currently active, all four return values are 0.
  • The duration represents the total amount of time allotted to complete the current wave, and does not change. The actual counting-down timer is available through GetWorldElapsedTime.

Patch changes

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.