Jump to content
  • 0
Sign in to follow this  
Kian

NPC Encantador

Question

Olá.Tenho este npc de encantar a arma,mais ele não esta encantando.Alguém saberia onde está o erro? :mellow:

 

sec_in01,100,163,5  script  Sábio Elemental  743,{

  set .price,50000;

  mes "[ Sábio Elemental ]";

  mes "Oi,eu posso por um Elemento na sua arma por : "+ .price +"Zeny?";

  if(select("Tudo bem:Nao")==2) goto L_bye;

  if( zeny < .price ) goto L_nozeny;

  mes "Escolha um Elemento para sua arma";

  switch(select("Fogo:Gelo:Terra:Vento")) {

  case 1: sc_start SC_FIREWEAPON,2000000,5; break;

  case 2: sc_start SC_WATERWEAPON,2000000,5; break;

  case 3: sc_start SC_EARTHWEAPON,2000000,5; break;

  case 4: sc_start SC_WINDWEAPON,2000000,5; break;}

  set zeny,zeny - .price;

L_bye:

  mes "Volte novamente";

  close;

L_nozeny:

  mes "Me desculpe voce não tem dinheiro.";

  goto L_bye;

}

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.