Advertisement
Guest User

Untitled

a guest
Oct 17th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. Main
  2. {
  3. questname "Azuorph Time"
  4. version 1.0
  5. }
  6. state Begin
  7. {
  8. desc "Talk to Charmcaster"
  9. action AddNpcText(25, "Hello [c-name], Select your killing amount!!");
  10. action AddNpcInput(25,1,"Azuorph 10");
  11. action AddNpcInput(25,2,"Azuorph 20");
  12. action AddNpcInput(25,3,"Azuorph 30");
  13. action AddNpcInput(25,4,"Azuorph 40");
  14. action AddNpcInput(25,5,"Next");
  15.  
  16. rule InputNpc(1) goto A10
  17. rule InputNpc(2) goto A20
  18. rule InputNpc(3) goto A30
  19. rule InputNpc(4) goto A40
  20. rule InputNpc(5) goto Next
  21. }
  22. State Next
  23. {
  24. action AddNpcText(25, "If you wanna finish this quest completely, then click below");
  25. action AddNpcInput(25, 1, "End The Quest");
  26. action AddNpcInput(25, 2, "Back");
  27.  
  28. rule InputNpc(1) goto Ending
  29. rule InputNpc(2) goto Begin
  30. }
  31. State Ending
  32. {
  33. action End();
  34. }
  35. state A10
  36. {
  37. desc "Kill 10 Azuorph"
  38. action AddNpcText(25, "Okay then Kill 10 Azuorph and return to me");
  39.  
  40. rule KilledNpcs(105,10) goto KilledA10
  41. }
  42. state KilledA10
  43. {
  44. desc "Return to the Charmcaster"
  45. action AddNpcText(25, "Wow, Congratulations!! Here''s your reward [c-name]");
  46. rule TalkedToNpc(25) goto AR10
  47. }
  48. state AR10
  49. {
  50. action ShowHint("You have got 5k EXP");
  51. action GiveExp(5000);
  52. action Reset();
  53. }
  54. state A20
  55. {
  56. desc "Kill 20 Azuorph"
  57. action AddNpcText(25, "Okay then Kill 20 Azuorph and return to me");
  58.  
  59. rule KilledNpcs(105,20) goto KilledA20
  60. }
  61. state KilledA20
  62. {
  63. desc "Return to the Charmcaster"
  64. action AddNpcText(25, "Wow, Congratulations!! Here''s your reward [c-name]");
  65. rule TalkedToNpc(25) goto AR20
  66. }
  67. state AR20
  68. {
  69. action ShowHint("You have got 10k EXP");
  70. action GiveExp(10000);
  71. action Reset();
  72. }
  73. state A30
  74. {
  75. desc "Kill 30 Azuorph"
  76. action AddNpcText(25, "Okay then Kill 30 Azuorph and return to me");
  77.  
  78. rule KilledNpcs(105,30) goto KilledA30
  79. }
  80. state KilledA30
  81. {
  82. desc "Return to the Charmcaster"
  83. action AddNpcText(25, "Wow, Congratulations!! Here''s your reward [c-name]");
  84. rule TalkedToNpc(25) goto AR30
  85. }
  86. state AR30
  87. {
  88. action ShowHint("You have got 15k EXP");
  89. action GiveExp(15000);
  90. action Reset();
  91. }
  92. state A40
  93. {
  94. desc "Kill 40 Azuorph"
  95. action AddNpcText(25, "Okay then Kill 40 Azuorph and return to me");
  96.  
  97. rule KilledNpcs(105,40) goto KilledA40
  98. }
  99. state KilledA40
  100. {
  101. desc "Return to the Charmcaster"
  102. action AddNpcText(25, "Wow, Congratulations!! Here''s your reward [c-name]");
  103. rule TalkedToNpc(25) goto AR40
  104. }
  105. state AR40
  106. {
  107. action ShowHint("You have got 20k EXP");
  108. action GiveExp(20000);
  109. action Reset();
  110. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement