breeder.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //===== rAthena Script =======================================
  2. //= Universal Rental NPC
  3. //===== By: ==================================================
  4. //= Euphy
  5. //===== Current Version: =====================================
  6. //= 1.0a
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= One-click automatic mount rentals.
  11. //============================================================
  12. prontera,124,201,1 script Universal Rental NPC 726,{
  13. if (ismounting()) {
  14. message strcharinfo(0),"You must first remove your mount.";
  15. end;
  16. } else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {
  17. if (!checkfalcon() && getskilllv("HT_FALCON") && !checkoption(Option_Wug) && !checkoption(Option_Wugrider)) {
  18. if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
  19. else getitem 6124,1; //Wolf's_Flute
  20. } else getitem 6124,1; //Wolf's_Flute
  21. } else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
  22. if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
  23. if(select(" ~ Cart: ~ Mado")==1) setcart;
  24. else setmadogear;
  25. } else setcart;
  26. } else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
  27. else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkoption(Option_Wug) && !checkoption(Option_Wugrider)) setfalcon;
  28. else if (!checkriding() && getskilllv("KN_RIDING")) {
  29. if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;
  30. else setriding;
  31. } else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
  32. else {
  33. message strcharinfo(0),"You do not meet requirements to rent.";
  34. end;
  35. }
  36. specialeffect2 EF_TEIHIT3;
  37. end;
  38. }