Advertisement
Guest User

Soul_Linker_NPC

a guest
May 17th, 2012
903
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. prontera,141,181,5 script Soul Linker NPC 100,{
  2. set .@n$,"^0000FF[ Soul Linker NPC ]^000000";
  3. set .@time, 300000; // the buff last 5 minutes
  4. set @zenycost,5000000;
  5. mes .@n$;
  6. mes "Hello "+strcharinfo(0)+",do";
  7. mes "You want me to Soul Link you?";
  8. switch(select("Yes:No")) {
  9. case 1:
  10. if(Zeny < @zenycost) goto l_nozeny;
  11. set Zeny,Zeny - @zenycost;
  12. switch ( basejob ) {
  13. case Job_Alchemist: set .@spirit, 445; break;
  14. case Job_Monk: set .@spirit, 447; break;
  15. case Job_Star_Gladiator: set .@spirit, 448; break;
  16. case Job_Sage: set .@spirit, 449; break;
  17. case Job_Crusader: set .@spirit, 450; break;
  18. case Job_SuperNovice: set .@spirit, 451; break;
  19. case Job_Knight: set .@spirit, 452; break;
  20. case Job_Wizard: set .@spirit, 453; break;
  21. case Job_Priest: set .@spirit, 454; break;
  22. case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
  23. case Job_Rogue: set .@spirit, 456; break;
  24. case Job_Assassin: set .@spirit, 457; break;
  25. case Job_Blacksmith: set .@spirit, 458; break;
  26. case Job_Hunter: set .@spirit, 460; break;
  27. case Job_Soul_Linker: set .@spirit, 461; break;
  28. default:
  29. if ( upper == 1 && baselevel < 70 )
  30. set .@spirit, 494;
  31. }
  32. if ( .@spirit ) {
  33. sc_start4 sc_spirit, .@time, 5, .@spirit,0,0;
  34. skilleffect .@spirit, 5;
  35. }
  36. case 2:
  37. mes .@n$;
  38. mes "Okay,goodbye!";
  39. close;
  40. }
  41. l_nozeny:
  42. mes .@n$;
  43. mes "You need 5.000.000 Zeny for a Soul Link.";
  44. close;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement