nguild_warper.txt 2.0 KB

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