MMOMinion

Full Version: gather collectable if - else normal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my way does not work.
What is the best way to gather as a collectable if GP=600, else just gather normal.


Code:
if (["mingp"] = 600;) then
               (["skillprofile"] = "Gathering_Blue";
            ["unspoiled"] = true;
            ["collectables"] = {
                ["ItemX"] = 450;
            };)
                else (["skillprofile"] = "G_Multi_Gathering";)
           end
["collectGP"] = 400;
(09-14-2017, 06:09 AM)sebbs Wrote: [ -> ]["collectGP"] = 400;

thank you.

So I simply replace
mingp=600
with
collectGO=600

and I wont need the If/ else staement at all?
(09-14-2017, 06:09 AM)sebbs Wrote: [ -> ]["collectGP"] = 400;

thank you.

So I simply replace
mingp=600
with
collectGP=600

and I wont need the If/ else staement at all?
Yep