breeder.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //===== eAthena Script =======================================
  2. //= Custom Free Breeder aka Universal Renter (not reccomended)
  3. //===== By: ==================================================
  4. //= eAthena Team
  5. //===== Current Version: =====================================
  6. //= 1.3a
  7. //===== Compatible With: =====================================
  8. //= eAthena 1.0 Final +
  9. //===== Description: =========================================
  10. //= A Free PecoPeco and Falcon Breeder
  11. //===== Additional Comments: =================================
  12. //= 1.1 FIXED checkriding/cart/falcon funcs [Lupus]
  13. //= 1.2 Added Rebirth/Advanced Class support [Mass Zero]
  14. //= 1.3 Simplified the checks of job [Silentdragon]
  15. //= 1.3a Fixed a Typo Error. [Samuray22]
  16. // -Thanks to ~AnnieRuru~.
  17. //= 1.4 Optimized Script. No need for 50 million Labels. [Spre]
  18. //============================================================
  19. prontera,124,201,1 script Universal Rental Npc 726,{
  20. mes "[Universal Rental Npc]";
  21. mes "Hi, here you can rent Carts, Falcons or Pecopecos.";
  22. next;
  23. switch(select("Cart:Falcon:Peco")) {
  24. case 1:
  25. if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) {
  26. setcart;
  27. close;
  28. }else{
  29. mes "[Universal Rental Npc]";
  30. mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
  31. close;
  32. }
  33. case 2:
  34. if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {
  35. setfalcon;
  36. close;
  37. }else{
  38. mes "[Universal Rental Npc]";
  39. mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
  40. close;
  41. }
  42. case 3:
  43. if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0) {
  44. setriding;
  45. close;
  46. }else{
  47. mes "[Universal Rental Npc]";
  48. mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
  49. close;
  50. }
  51. }
  52. }