nguild_warper.txt 2.5 KB

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