Jump to content
  • 0

Hunting Mission


Question

4 answers to this question

Recommended Posts

Posted (edited)

Add this somewhere appropriate

OnHuntCmd:
    for (.@i = 0; .@i < .Quests; .@i++) {
        .@j[.@i] = getd("Mission" + .@i);
        .@j[.Quests] = .@j[.Quests] + strmobinfo(3,.@j[.@i]);
        .@j[.Quests+1] = .@j[.Quests+1] + (strmobinfo(6,.@j[.@i]) / (getbattleflag("base_exp_rate") / 100) * .Modifier[0]);
        .@j[.Quests+2] = .@j[.Quests+2] + (strmobinfo(7,.@j[.@i]) / (getbattleflag("job_exp_rate") / 100) * .Modifier[1]);
        announce " > "+strmobinfo(1,.@j[.@i]) + " (" + getd("Mission"+.@i+"_") + "/" + #Mission_Count + ")",bc_self|bc_blue;
    }
end;


Add somewhere under

OnInit:

bindatcmd "huntinglist","Hunting Missions::OnHuntCmd",0,99;
Edited by Stolao
  • Upvote 1
  • 1
Posted

 

 

Add this somewhere appropriate

OnHuntCmd:
    for (.@i = 0; .@i < .Quests; .@i++) {
        .@j[.@i] = getd("Mission" + .@i);
        .@j[.Quests] = .@j[.Quests] + strmobinfo(3,.@j[.@i]);
        .@j[.Quests+1] = .@j[.Quests+1] + (strmobinfo(6,.@j[.@i]) / (getbattleflag("base_exp_rate") / 100) * .Modifier[0]);
        .@j[.Quests+2] = .@j[.Quests+2] + (strmobinfo(7,.@j[.@i]) / (getbattleflag("job_exp_rate") / 100) * .Modifier[1]);
        announce " > "+strmobinfo(1,.@j[.@i]) + " (" + getd("Mission"+.@i+"_") + "/" + #Mission_Count + ")",bc_self|bc_blue;
    }
end;

Add somewhere under

OnInit:

bindatcmd "huntinglist","Hunting Missions::OnHuntCmd",0,99;

 

How can i add if the user finished the quest instead of the monsters list it will show the delay time..

 

 

try this

OnHuntCmd:
	if (#Mission_Delay > gettimetick(2) && .Delay) {
		announce "I'm afraid you'll have to wait " + callfunc("Time2Str",#Mission_Delay) + " before taking another mission.",bc_self|bc_blue;
		end;
	}
	for (.@i = 0; .@i < .Quests; .@i++) {
		.@j[.@i] = getd("Mission" + .@i);
		.@j[.Quests] = .@j[.Quests] + strmobinfo(3,.@j[.@i]);
		.@j[.Quests+1] = .@j[.Quests+1] + (strmobinfo(6,.@j[.@i]) / (getbattleflag("base_exp_rate") / 100) * .Modifier[0]);
		.@j[.Quests+2] = .@j[.Quests+2] + (strmobinfo(7,.@j[.@i]) / (getbattleflag("job_exp_rate") / 100) * .Modifier[1]);
		announce " > "+strmobinfo(1,.@j[.@i]) + " (" + getd("Mission"+.@i+"_") + "/" + #Mission_Count + ")",bc_self|bc_blue;
	}
end;
  • Upvote 2
Posted

 

Add this somewhere appropriate

OnHuntCmd:
    for (.@i = 0; .@i < .Quests; .@i++) {
        .@j[.@i] = getd("Mission" + .@i);
        .@j[.Quests] = .@j[.Quests] + strmobinfo(3,.@j[.@i]);
        .@j[.Quests+1] = .@j[.Quests+1] + (strmobinfo(6,.@j[.@i]) / (getbattleflag("base_exp_rate") / 100) * .Modifier[0]);
        .@j[.Quests+2] = .@j[.Quests+2] + (strmobinfo(7,.@j[.@i]) / (getbattleflag("job_exp_rate") / 100) * .Modifier[1]);
        announce " > "+strmobinfo(1,.@j[.@i]) + " (" + getd("Mission"+.@i+"_") + "/" + #Mission_Count + ")",bc_self|bc_blue;
    }
end;

Add somewhere under

OnInit:

bindatcmd "huntinglist","Hunting Missions::OnHuntCmd",0,99;

 

How can i add if the user finished the quest instead of the monsters list it will show the delay time..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...