nguild_warper.txt 2.3 KB

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