Thread Rating:
  • 7 Vote(s) - 3.14 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cordial Function
#3
Thanks Zanci for the reply but there are functions in the bot which determine which Cordial versions should be used, (watered, Hi, regular), even if you have them all in your inventory. I noticed this a while back when the bot would use regular or hi-cordials depending on how far I was depleted at the next task. These functions are in ffxiv_task_gather.lua  HQ normal Cordial probably does have higher priority though than the regular one set somewhere in the task gather lua. I have found the piece of code I was looking for.  Watered Cordial is implemented into ffxivminion.


From ffxiv_task_gather.lua,  Watered Cordial = cordialQuick. The functions for the other 2 are in that lua as well.
Code:
if ((minimumGP - Player.gp.current) >= 50 and (gpDeficit <= 200 or (cordialNormal == nil and cordialHigh == nil))) then
            if (cordialQuick and cordialQuick.isready) then
                --d("[CanUseCordial]: Returning cordial.")
                return true, cordialQuick
            end
Reply
 


Messages In This Thread
Cordial Function - by YewLog - 11-19-2016, 12:57 AM
RE: Cordial Function - by Zanci - 11-19-2016, 08:03 AM
RE: Cordial Function - by YewLog - 11-19-2016, 12:51 PM

Forum Jump:


Users browsing this thread:

We help you win the game.

FFXIV Bot and More.

 

Products