nguild_warper.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //===== eAthena Script =======================================
  2. //= Novice's Guild Castles War of Emperium Usher NPC
  3. //===== By: ==================================================
  4. //= Lupus
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena 1+ with eaclass(); 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. //= 1.5 According to official info: 1 Treasure Chest per Castle
  25. //= 1.6 Only 1st Class < 60 BaseLevel Players can participate
  26. //= TODO: The official entrance is in Izlude.
  27. //============================================================
  28. prontera.gat,146,163,6 script Novice Castles 729,{
  29. mes "[Cita]";
  30. mes "Hey! I'm a new usher of Novice Castles.";
  31. next;
  32. if( !(eaclass()&(EAJL_2|EAJL_UPPER)) && BaseLevel<60 )
  33. menu "Warp me to Novice Castles",M_WARP,"Cancel",-;
  34. mes "[Cita]";
  35. mes "I'm sorry, you can't enter the sacred Novice Castles place.";
  36. emotion e_sry;
  37. close;
  38. M_WARP:
  39. //remove several unallowed buffs
  40. sc_end SC_ASSUMPTIO;
  41. sc_end SC_IMPOSITIO;
  42. sc_end SC_SUFFRAGIUM;
  43. sc_end SC_MAGNIFICAT;
  44. sc_end SC_WEAPONPERFECTION;
  45. sc_end SC_GOSPEL;
  46. sc_end SC_BASILICA;
  47. sc_end SC_MAGICPOWER;
  48. sc_end SC_MARIONETTE;
  49. sc_end SC_MARIONETTE2;
  50. sc_end SC_DEVOTION;
  51. sc_end SC_SACRIFICE;
  52. sc_end SC_MAXOVERTHRUST;
  53. sc_end SC_SPIRIT;
  54. warp "n_castle.gat",102,93+rand(14);
  55. close;
  56. }
  57. n_castle.gat,102,107,5 script Cita 729,{
  58. mes "[Cita]";
  59. mes "Hello, "+ strcharinfo(0) +". Can I help you?";
  60. next;
  61. menu "Warp me to Prontera!",-,"Cancel",LEnd;
  62. warp "prontera.gat",155,177+rand(5);
  63. close;
  64. LEnd:
  65. mes "[Cita]";
  66. mes "Ok.";
  67. close;
  68. }