Advertisement
Guest User

Untitled

a guest
Oct 17th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  1. Main
  2. {
  3. questname "Class Instructor"
  4. version 1.0
  5. }
  6. State Begin
  7. {
  8. desc "Talk to Maleficus"
  9. action AddNpcText(17, "Welcome to the Cloudy Server. I am the class instructor. I will guide you about the different Classes, Gears and Class upgradation");
  10. action AddNpcText(17, "What would you like to know about?");
  11.  
  12. action AddNpcInput(17, 1, "Classes");
  13. action AddNpcInput(17, 2, "Gears");
  14. action AddNpcInput(17, 3, "Class Upgrade");
  15.  
  16. rule InputNpc(1) goto Classes
  17. rule InputNpc(2) goto Gears
  18. rule InputNpc(3) goto Upgrade
  19. }
  20. State Classes
  21. {
  22. desc "Class information"
  23. action AddNpcText(17, "There are mainly 3 Starting classes which can be upgraded in different tiers. Which one would you like to know about?");
  24.  
  25. action AddNpcInput(17, 1, "Warrior");
  26. action AddNpcInput(17, 2, "Magician");
  27. action AddNpcInput(17, 3, "Archer");
  28. action AddNpcInput(17, 4, "Back");
  29.  
  30. rule InputNpc(1) goto Warrior
  31. rule InputNpc(2) goto Magician
  32. rule InputNpc(3) goto Archer
  33. rule InputNpc(4) goto Begin
  34. }
  35. State Warrior
  36. {
  37. desc "Warrior information"
  38. action AddNpcText(17, "The heart of a warrior is filled with courage and strength. Your skills with weapons in close combat makes you a powerful force on the battlefield. This class is the best for tanking");
  39. action AddNpcText(17, "What more do you want to know?");
  40.  
  41. action AddNpcInput(17, 1, "Stats of Warrior");
  42. action AddNpcInput(17, 2, "Make me Warrior");
  43. action AddNpcInput(17, 3, "Back");
  44.  
  45. rule InputNpc(1) goto SWarrior
  46. rule InputNpc(2) goto CWarrior
  47. rule InputNpc(3) goto Classes
  48. }
  49. State SWarrior
  50. {
  51. desc "Stats of Warrior"
  52. action AddNpcText(17, "Damage = 5 str. Accuracy = 3 agi. Evade = 5 agi. Defence = 5 con. Hp Rate = 10% every 5 sec. Tp Rate = 4% every 10 sec.");
  53. action AddNpcText(17, "Thats all about stats.");
  54.  
  55. action AddNpcInput(17, 1, "Home");
  56. action AddNpcInput(17, 2, "Back");
  57.  
  58. rule InputNpc(1) goto Begin
  59. rule InputNpc(2) goto Warrior
  60. }
  61. State CWarrior
  62. {
  63. action SetCoord(324,4,6);
  64. action SetClass(6);
  65. action End();
  66. }
  67. State Magician
  68. {
  69. desc "Magician information"
  70. action AddNpcText(17, "Magic courses through your veins. Your arcane powers enable you to cast powerful spells. They are servants of good who use their powers to aid the sick, weak, and injured. Their powerful healing magic is often the difference between a groups victory or doom.");
  71. action AddNpcText(17, "What more do you want to know?");
  72.  
  73. action AddNpcInput(17, 1, "Stats of Magician");
  74. action AddNpcInput(17, 2, "Make me Magician");
  75. action AddNpcInput(17, 3, "Back");
  76.  
  77. rule InputNpc(1) goto SMagician
  78. rule InputNpc(2) goto CMagician
  79. rule InputNpc(3) goto Classes
  80. }
  81. State SMagician
  82. {
  83. desc "Stats of Magician"
  84. action AddNpcText(17, "Damage = 6 int. Accuracy = 3 agi. Evade = 5 agi. Defence = 4 con. Hp Rate = 5% every 5 sec. Tp Rate = 2% every 0.5 sec.");
  85. action AddNpcText(17, "Thats all about stats.");
  86.  
  87. action AddNpcInput(17, 1, "Home");
  88. action AddNpcInput(17, 2, "Back");
  89.  
  90. rule InputNpc(1) goto Begin
  91. rule InputNpc(2) goto Magician
  92. }
  93. State CMagician
  94. {
  95. desc "Talk to Maleficus"
  96. action SetCoord(325,4,6);
  97. action SetClass(3)
  98. action End();
  99. }
  100. State Archer
  101. {
  102. desc "Archer information"
  103. action AddNpcText(17, "Archers are stealthy, wealthy and wise to the ways of their opponents. Able to take down tyrants without blinking an eye or breaking a bowstring, you'll range far and wide in this class, gaining gold and glory!");
  104. action AddNpcText(17, "What more do you want to know?");
  105.  
  106. action AddNpcInput(17, 1, "Stats of Archer");
  107. action AddNpcInput(17, 2, "Make me Archer");
  108. action AddNpcInput(17, 3, "Back");
  109.  
  110. rule InputNpc(1) goto SArcher
  111. rule InputNpc(2) goto CArcher
  112. rule InputNpc(3) goto Classes
  113. }
  114. State SArcher
  115. {
  116. desc "Stats of Archer"
  117. action AddNpcText(17, "Damage = 4 cha. Accuracy = 10 str. Evade = 8 agi. Defence = 3 con. Hp Rate = 5% every 2 sec. Tp Rate = 5% every 10 sec.");
  118. action AddNpcText(17, "Thats all about stats.");
  119.  
  120. action AddNpcInput(17, 1, "Home");
  121. action AddNpcInput(17, 2, "Back");
  122.  
  123. rule InputNpc(1) goto Begin
  124. rule InputNpc(2) goto Archer
  125. }
  126. State CArcher
  127. {
  128. desc "Talk to Maleficus"
  129. action SetCoord(326,4,6);
  130. action SetClass(5)
  131. action End();
  132. }
  133. State Gears
  134. {
  135. desc "Instruction of the gears"
  136. action AddNpcText(17, "There are total 10 sets which are for all classes till lvl 100. After level 100, you will get different sets according to the class. You can get different sets from the quests even.");
  137.  
  138. action AddNpcInput(17, 1, "Back");
  139.  
  140. rule InputNpc(1) goto Begin
  141. }
  142. State Upgrade
  143. {
  144. desc "About Upgradation of classes"
  145. action AddNpcText(17, "you can upgrade your class using mind ritual. All Npcs drop mind ritual. You need 200 mind rituals to upgrade your class into more powerful class.");
  146. action AddNpcText(17, "Talk to Wayte for class upgradation.");
  147.  
  148. rule TalkedToNpc(17) goto Begin
  149. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement