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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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