Jump to content
  • 0

R> Npc reward


Critica

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

hii! good day to all!!

Can i request a npc that gives rewards to a players who reaches maximum level? (255 for ex.)

and a Npc warper that checks the level of character first? for example you need to be level 99 to use the warp npc, or to warp you out..

thaks a lot guys!!

Edited by critica
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  01/18/14
  • Last Seen:  

On 4/18/2012 at 1:25 AM, Nameless2you said:

per character or per account..?

I'll just make both..

For account, meaning only 1 character in each account can ever get the item

 


prontera,150,150,5 script Reward NPC 99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel && #LReward != 1) end;
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
set #LReward,1;
close;

}
 

 

For character, meaning if he deletes the character he can get the reward again, or if he uses another character that is max level he can get the item once on that character as well..

 


prontera,150,150,5 script Reward NPC 99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel && LReward != 1) end;
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
set LReward,1;
close;

}
both same 

 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Try something like this for the rewarder..

prontera,150,150,5 script Reward NPC 99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel) end;
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
close;

}

prontera,155,155,5 script Warpsome 99,{
if(BaseLevel >= 99){
warp "prontera",0,0;
}
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

thank you ill try it now :D

Hii.. for the 1st one, can you make make it give only 1 item?

everytime i click the the npc it gives me reward.. again and again

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

per character or per account..?

I'll just make both..

For account, meaning only 1 character in each account can ever get the item

prontera,150,150,5 script Reward NPC 99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel && #LReward != 1) end;
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
set #LReward,1;
close;

}

For character, meaning if he deletes the character he can get the reward again, or if he uses another character that is max level he can get the item once on that character as well..

prontera,150,150,5 script Reward NPC 99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel && LReward != 1) end;
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
set LReward,1;
close;

}

Link to comment
Share on other sites

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.

×
×
  • Create New...