02-15-2014, 10:45 AM
Code:
-- last check if our time has run out
if (marker == nil) then
local time = GatherMgr.GetMarkerTime(ml_task_hub:CurrentTask().currentMarker)
if gBotMode == strings[gCurrentLanguage].grindMode or gBotMode == strings[gCurrentLanguage].partyMode then
time = math.random(600,1200) <<<<<<<<<<
end
Hi, it would be really nice if the two values in the math.random method were not hardcoded but instead stored in variables we can more easily override in LUA. Would be appreciated. It'd be even cooler if the new time value was set through a method so we can override how we compute the time (random or more relative to level and zone).