MMOMinion

Full Version: markerTime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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).