I've tried it. GetInstanceLockTimeRemainingEncounter is not the correct function, since it return "0" when the popup pops.
I think it's in LFRFrame.lua since it's legacy for the Raid Finder feature that was implemented in patch 3.3 or so. The raid finder was like a normal raid with save and locks. The LFR we have today doesn't have save or locks, u can repeat it as much as you want. The only thing that changes is the looted bosses info, and that info is extracted through GetLFGDungeonNumEncounters.
The correct function (I verified on the game), is GetLFGProposal
Last edited by Animor : 01-26-12 at 03:22 AM.
|