Advertisement
Guest User

Untitled

a guest
Sep 5th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. //===== Hercules Script ======================================
  2. //== Thirds Freebies =========================================
  3. //===== By: ==================================================
  4. //== True Zeal ===============================================
  5. //===== Description: =========================================
  6. //== Links for Zeny
  7. //============================================================
  8.  
  9. prontera,150,150,3 script Link 4 Zeny 4_F_ELEPHANT,{
  10.  
  11. // Set name of npc to that of it's NPC name (Link 4 Zeny)
  12. .@name$ = "[" + strcharinfo(1) + "]";
  13.  
  14. // Sets price in zeny
  15. .price = 100000;
  16.  
  17. // Sets effect sprite
  18. .sprite = 503;
  19.  
  20. mes .@name$;
  21. mes "Would you like to be linked? Costs " + .price + "z.;";
  22. next;
  23. switch(select("Yes:No")){
  24. case 1:
  25. if (Zeny >= .price) {
  26. Zeny -= .price;
  27. skilleffect .effect,0;
  28. sc_start SC_SOULLINK,350000,5;
  29. close;
  30. } else {
  31. mes .@name$;
  32. mes "You don't have enough zeny!";
  33. close;
  34. }
  35. break;
  36.  
  37. case 2:
  38. close;
  39. break;
  40. }
  41.  
  42.  
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement