PHP Code:
if (markerType == GetString("unspoiledMarker") or markerType == GetString("botanyMarker") or markerType == GetString("miningMarker")) then
local requiredGP = tonumber(ml_task_hub:ThisTask().currentMarker:GetFieldValue(strings[gCurrentLanguage].minimumGP)) or 0
if (not ffxiv_task_gather.gatherStarted) then
if (Player.gp.current < requiredGP) then
if (((requiredGP - Player.gp.current) > 50) and gGatherUseCordials == "1") then
if (ItemIsReady(6141)) then
local newTask = ffxiv_task_useitem.Create()
newTask.itemid = 6141
ml_task_hub:CurrentTask():AddSubTask(newTask)
end
end
return false
else
return true
end
else
return true
end
else
return true
end
local requiredGP = tonumber(ml_task_hub:ThisTask().currentMarker:GetFieldValue(strings[gCurrentLanguage].minimumGP)) or 0
This line will always return 0. Making the bot never use cordial. Can you please re-look at cordial usage?