Jump to content
  • 0

Limited Reward NPC


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello its posibble to make reward npc following job

example if base

job Lord Knight will receive Skull #7420

job Paladin will receive Valkyrie Shield #2115

Job High Wizard will receive Lich Bond Wand #1624

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


if( Class == Job_Lord_Knight ) getitem <item1>,<amount1>;

else if( Class == Job_Paladin ) getitem <item2>,<amount2>;

else if( Class == Job_High_Wizard ) getitem <item3>,<amount3>;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

How to set it as it is only the first one who reaches the job gets the item?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

how to make this npc only will give 1 times only for 1 item

so if they make new character this npc wont give anymore

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


if(#reward) end;

if( Class == Job_Lord_Knight) getitem 7420,1;

else if( Class == Job_Paladin ) getitem 2115,1;

else if( Class == Job_High_Wizard ) getitem 1624,1;

#reward++;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

so will be like this sandbox and emistry?

 

 

prontera,150,150,4 script Gift 855,{

if(#reward) end;
if( Class == Job_Lord_Knight) getitem 7420,1;
else if( Class == Job_Paladin ) getitem 2115,1; 
else if( Class == Job_High_Wizard ) getitem 1624,1; 
#reward++;
close;
 
OnInit:
waitingroom "Freebies",0;
end;
}
Edited by PapaZola
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Pretty much, you should try it :D

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...