Advertisement
johnlol

StalkerNpc

Aug 2nd, 2023
1,000
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VeriLog 3.44 KB | Gaming | 0 0
  1. prontera,147,155,5  script  StalkerNpc  648,{
  2. set .@skill_level,getskilllv( "RG_PLAGIARISM" );
  3.  
  4.     mes "^FF7F00[Plagiador De Skill]^000000";
  5.     mes (gettime(3)>= 6&&gettime(3)<= 12?"Bom-dia":(gettime(3)>=13&&gettime(3)<=18?"Boa-tarde":"Boa-noite"))+", ^008aff"+strcharinfo(0)+"^000000 !";
  6.     mes "Bem-vindo ao Plagiador de Skill.";
  7.     next;
  8.     mes "^FF7F00[Plagiador De Skill]^000000";
  9.     mes "^008aff"+strcharinfo(0)+"^000000, Sou Responsavel por Providenciar Copia da Skill para classe Stalker!!";
  10.     next;
  11.     mes "^FF7F00[Plagiador De Skill]^000000";
  12.     mes "Lembre-se Depois que Tudo Acabar,^FF0000RELOGUE PARA SALVAR A SKILL!!!!^000000";
  13.     mes "Do Contrario, Não Funcionará";
  14.     next;
  15.     mes "^FF7F00[Plagiador De Skill]^000000";
  16.     mes "^008aff"+strcharinfo(0)+"^000000, Em que posso ajudar?";
  17.  
  18. if( !.@skill_level ){
  19.     mes "Apenas a Classe Stalker com a Habilidade ^FF0000Plagiar^000000 Pode Utilizar deste Serviço.";
  20. }else{
  21.     if( select( ( CLONE_SKILL && CLONE_SKILL_LV )?"^008aff[»]^000000 Desaprender a Skill":"^008aff[»]^000000 Aprender a Skill","^ff0000[»]^000000Cancelar" ) == 1 ){
  22.         if( CLONE_SKILL && CLONE_SKILL_LV ){
  23.             mes "Skill Copiada Desaprendida";
  24.             set CLONE_SKILL_LV,0;
  25.             skill CLONE_SKILL,CLONE_SKILL_LV,0;
  26.             set CLONE_SKILL,0;
  27.         }else{
  28.             mes "Por-favor Selecione as Skills";
  29.             next;
  30.             set .@i,select( .menu$ ) - 1;
  31.             if( .@skill_level > .skill_max_level[.@i] )
  32.                 set .@skill_level,.skill_max_level[.@i];
  33.             mes "Skill : ^0055FF"+.skill_name$[.@i]+"^000000";
  34.             mes "Level : ^0055FF"+.@skill_level+"^000000";
  35.             mes "Cost : ^0055FF"+( ( .skill_cost[.@i] )? .skill_cost[.@i]+" Zeny":"Free" )+"^000000";
  36.             mes " ";
  37.             mes "^777777( Skill de Efeito do Plagiar )^000000";
  38.             if( select( "^008aff[»]^000000Confirmar","^ff0000[»]^000000Cancelar" ) == 1 ){
  39.                 if( .skill_cost[.@i] ){
  40.                     if( Zeny >= .skill_cost[.@i] ){
  41.                         set Zeny,Zeny - .skill_cost[.@i];
  42.                     }else{
  43.                         mes "Zeny Insuficiente.";
  44.                         close;
  45.                     }
  46.                 }
  47.                 set CLONE_SKILL,.skill_id[.@i];
  48.                 set CLONE_SKILL_LV,.@skill_level;
  49.                 mes "Skill Aprendida ^0055FFLv"+CLONE_SKILL_LV+" "+.skill_name$[.@i]+"^000000";
  50.                 skill CLONE_SKILL,CLONE_SKILL_LV,0;
  51.             }
  52.         }
  53.     }
  54. }
  55. dispbottom "Skill ID "+CLONE_SKILL+" | Level : "+CLONE_SKILL_LV;
  56. close;
  57.  
  58. OnInit:
  59. // Skill Display Names
  60. setarray .skill_name$,"Adrenaline Rush","Exceed Break","Inspiration","Over Thrust","True Sight","Charge Arrow","Frost Diver","Storm Gust","Lex Divina","Melt Down","Wind Walk","Heal","Arrow Shower","Heaven's Drive","Holy Cross","Lord of Vermillion","Magnum Break";
  61. // Skill ID
  62. setarray .skill_id,111,2316,2325,113,380,148,15,89,76,384,383,28,47,91,253,85,7;
  63. // Skill Max Learn-able Level
  64. setarray .skill_max_level,5,5,5,5,10,1,10,10,10,10,10,10,10,5,10,10,10;
  65. // Skill Cost in Zeny
  66. setarray .skill_cost,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000,10000;
  67.  
  68. set .skill_size,getarraysize( .skill_name$ );
  69. while( .@i < .skill_size ){
  70.     set .menu$,.menu$ + "[ ^0055FFLv "+.skill_max_level[.@i]+"^000000 ] "+ .skill_name$[.@i] +":";
  71.     set .@i,.@i + 1;
  72. }
  73.  
  74. end;
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement