Jump to content
  • 0

Limited Item Giver


Nullifier

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  140
  • Reputation:   11
  • Joined:  09/28/14
  • Last Seen:  

I need a item giver npc that will give SinX 3 poison bottles

Bio 5 Grenade and Fire Bottle

only 1 time per character basis.. 

i cant set this script it says i ady have the item but i dont have yet and any char can talk to it.

quiz_02,172,376,5    script    Limited Item Giver    435,{
    if( !Freebies ){
    set #Freebies,1;
    mes "^FF3355Limited Suppy Giver^000000";
    mes "5 Acid/Fire Bottle for Bio's";
    mes "3 Poison Bottles for SinX";
    mes "^FF3355Per Character Basis!^000000";
    if ((Class == Job_Alchemist) && (Class == Job_Creator) && (Class == Job_Baby_Priest) && (Class == Job_Genetic)) {
    getitem2 7135,5,1,0,0,0,0,0,0;
    getitem2 7136,5,1,0,0,0,0,0,0;
    set Zeny, Zeny + 1000000;
    close;
    }
    if((Class == Job_Assassin) && (Class == Job_Assassin_Cross) && (Job_Baby_Blacksmith) && (Job_Baby_Guillotine_Cross)) {
    getitem2 678,3,1,0,0,0,0,0,0;
    set Zeny, Zeny + 0;
    close;
    }

}
    mes "You have claim the Reward already.";
    close;

    OnInit:
    waitingroom "Limited Item Giver",0;
    end;
}

 

Edited by Emistry
Please use CODEBOX.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   16
  • Joined:  09/26/16
  • Last Seen:  

if( !Freebies )

change to

if( !#Freebies )

 

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