API C MapBar.GetPhaseIndex

Returns the current map phase. phaseIndex = C_MapBar.GetPhaseIndex

Returns

 * phaseIndex : Number - phase index of the current map bar phase for the current map, nil if the current map does not use the map bar.