nguild_warper.txt 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //===== eAthena Script =======================================
  2. //= Novice's Guild Castles War of Emperium Usher NPC
  3. //===== By: ==================================================
  4. //= Lupus
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= eAthena 1+; RO Episode 4+
  9. //===== Description: =========================================
  10. //=
  11. //===== Additional Comments: =================================
  12. //= Now you have access to 4 N Guild castles. They don't have
  13. //= dungeons. And 2nd Classes can't seize these Castles.
  14. //= These new castles need a new strategy. It would bring some
  15. //= fun and live to your game.
  16. //= NOTE: If your Guild Master is 2nd class, then he could
  17. //= rule the Castles and gather Treasure Boxes after WoE
  18. //= 1.1 Now 2nd classes can't enter NC place at all
  19. //= 1.2 Restricted access of SG/SL. On warp clear some
  20. //= unallowed buffs [Lupus]
  21. //= 1.3 Restricted TK,High classes >=90 BaseLevel,
  22. //= updated list of unallowed buffs [Lupus]
  23. //= 1.4 Restricted it to 80 Base Level [Lupus]
  24. //============================================================
  25. prontera.gat,146,163,6 script Novice Castles 729,{
  26. mes "[Cita]";
  27. mes "Hey! I'm a new usher of Novice Castles.";
  28. next;
  29. if( (Class>=Job_Novice && Class<=Job_Thief)
  30. || (Class==Job_Taekwon && BaseLevel<80) || Class==Job_SuperNovice || Class==Job_Super_Baby
  31. || (Class>=Job_Baby && Class<=Job_Baby_Thief)
  32. || (Class>=Job_Novice_High && Class<=Job_Thief_High && BaseLevel<80)
  33. ) menu "Warp me to Novice Castles",M_WARP,"Cancel",-;
  34. mes "[Cita]";
  35. mes "All the 2nd classes aren't allowed to enter the sacred Novice Castles place.";
  36. mes "As well as Teakwons and High Classes from 80 Base Level.";
  37. emotion 0;
  38. close;
  39. M_WARP:
  40. //remove several unallowed buffs
  41. sc_end SC_ASSUMPTIO;
  42. sc_end SC_IMPOSITIO;
  43. sc_end SC_SUFFRAGIUM;
  44. sc_end SC_MAGNIFICAT;
  45. sc_end SC_WEAPONPERFECTION;
  46. sc_end SC_GOSPEL;
  47. sc_end SC_BASILICA;
  48. sc_end SC_MAGICPOWER;
  49. sc_end SC_MARIONETTE;
  50. sc_end SC_MARIONETTE2;
  51. sc_end SC_DEVOTION;
  52. sc_end SC_SACRIFICE;
  53. sc_end SC_MAXOVERTHRUST;
  54. sc_end SC_SPIRIT;
  55. warp "n_castle.gat",102,93+rand(14);
  56. close;
  57. }
  58. n_castle.gat,102,107,5 script Cita 729,{
  59. mes "[Cita]";
  60. mes "Hello, "+ strcharinfo(0) +". Can I help you?";
  61. next;
  62. menu "Warp me to Prontera!",-,"Cancel",LEnd;
  63. warp "prontera.gat",155,177+rand(5);
  64. close;
  65. LEnd:
  66. mes "[Cita]";
  67. mes "Ok.";
  68. close;
  69. }