Advertisement
Guest User

Untitled

a guest
Jul 11th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. //Warper for Prontera and Payon guild dungeons.
  2.  
  3. - script PrtPayWarper -1,{
  4. if (getcharid(2) == getcastledata(strnpcinfo(4),1)) {
  5. mes "- Warp to a dungeon? -";
  6. next;
  7. switch(select("Prontera Guild Dungeon:Payon Guild Dungeon:Do nothing.")) {
  8. case 1:
  9. if (compare(strnpcinfo(4),"arug")) {
  10. set .@map$,"gld_dun01";
  11. set .@i, 120;
  12. set .@x, 132;
  13. }
  14. else {
  15. set .@map$,"schg_dun01";
  16. set .@i, 199;
  17. set .@x, 129;
  18. }
  19. //set .@i, atoi(charat(strnpcinfo(4),9))-1;
  20. warp .@map$,.@mapx[.@i],.@mapy[.@x];
  21. close;
  22. case 2:
  23. if (compare(strnpcinfo(4),"arug")) {
  24. set .@map$,"gld_dun03";
  25. set .@i, 85;
  26. set .@x, 104;
  27.  
  28. }
  29. else {
  30. set .@map$,"schg_dun01";
  31. set .@i, 199;
  32. set .@x, 129;
  33. }
  34. //set .@i, atoi(charat(strnpcinfo(4),9))-1;
  35. warp .@map$,.@mapx[.@i],.@mapy[.@x];
  36. close;
  37. case 3:
  38. mes "It's too scary.";
  39. close;
  40. }
  41. }
  42. }
  43.  
  44. //Warper for Rachel and Geffen guild dungeons.
  45.  
  46. - script RayGefWarper -1,{
  47. if (getcharid(2) == getcastledata(strnpcinfo(4),1)) {
  48. mes "- Warp to a dungeon? -";
  49. next;
  50. switch(select("Rachel Guild Dungeon:Geffen Guild Dungeon:Do nothing.")) {
  51. case 1:
  52. if (compare(strnpcinfo(4),"arug")) {
  53. set .@map$,"arug_dun01";
  54. set .@i, 200;
  55. set .@x, 174;
  56.  
  57. }
  58. else {
  59. set .@map$,"schg_dun01";
  60. set .@i, 199;
  61. set .@x, 129;
  62. }
  63. //set .@i, atoi(charat(strnpcinfo(4),9))-1;
  64. warp .@map$,.@mapx[.@i],.@mapy[.@x];
  65. close;
  66. case 2:
  67. if (compare(strnpcinfo(4),"arug")) {
  68. set .@map$,"gld_dun04";
  69. set .@i, 61;
  70. set .@x, 56;
  71.  
  72. }
  73.  
  74. //set .@i, atoi(charat(strnpcinfo(4),9))-1;
  75. warp .@map$,.@mapx[.@i],.@mapy[.@x];
  76. close;
  77. case 3:
  78. mes "It's too scary.";
  79. close;
  80. }
  81. }
  82. }
  83.  
  84. //Warper for Yuno and Aldeberan guild dungeons
  85.  
  86. - script YunAldWarper -1,{
  87. if (getcharid(2) == getcastledata(strnpcinfo(4),1)) {
  88. mes "- Warp to a dungeon? -";
  89. next;
  90. switch(select("Yuno Guild Dungeon:Aldeberan Guild Dungeon:Do nothing.")) {
  91. case 1:
  92. if (compare(strnpcinfo(4),"arug")) {
  93. set .@map$,"schg_dun01";
  94. set .@i, 199;
  95. set .@x, 129;
  96.  
  97. }
  98.  
  99. //set .@i, atoi(charat(strnpcinfo(4),9))-1;
  100. warp .@map$,.@mapx[.@i],.@mapy[.@x];
  101. close;
  102. case 2:
  103. if (compare(strnpcinfo(4),"arug")) {
  104. set .@map$,"gld_dun02";
  105. set .@i, 36;
  106. set .@x, 112;
  107.  
  108. }
  109.  
  110. //set .@i, atoi(charat(strnpcinfo(4),9))-1;
  111. warp .@map$,.@mapx[.@i],.@mapy[.@x];
  112. close;
  113. case 3:
  114. mes "It's too scary.";
  115. close;
  116. }
  117. }
  118. }
  119.  
  120. arug_cas01,159,347,3 duplicate(PrtPayWarper) Dungeon Warper 435
  121. arug_cas02,350,289,3 duplicate(RayGefWarper) Dungeon Warper#2 435
  122. arug_cas03,331,154,3 duplicate(YunAldWarper) Dungeon Warper#3 435
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement