Advertisement
Guest User

Untitled

a guest
Oct 17th, 2015
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.63 KB | None | 0 0
  1. Main
  2. {
  3. questname "General Titles"
  4. version 1.0
  5. }
  6. State Begin
  7. {
  8. desc "Talk to General Title"
  9. action AddNpcText(50, "Hello [c-name], I give titles for killing certain amount of npcs. There are 5 Categories of titles based on difficulties of getting it. Each title gives certain stats");
  10. action AddNpcText(50, "Once you have done the task, you can obtain the title again and again as per your choice.");
  11. action AddNpcText(50, "Your title task's difficulties will be increasing");
  12.  
  13. action AddNpcInput(50, 1, "Easy");
  14.  
  15. rule InputNpc(1) goto EasyMenu1
  16. }
  17. State EasyMenu1
  18. {
  19. action AddNpcText(50, "Select the Task or Title");
  20.  
  21. action AddNpcInput(50, 1, "New Task");
  22.  
  23. rule InputNpc(1) goto EasyTask1
  24. }
  25. State EasyTask1
  26. {
  27. desc "Talk to General Title"
  28. action AddNpcText(50, "Title - Beginner, Stats - Con +20. Kills - 200");
  29. action AddNpcText(50, "Select the npc which you want to kill");
  30.  
  31. action AddNpcInput(50, 1, "Sheep");
  32. action AddNpcInput(50, 2, "Bat");
  33. action AddNpcInput(50, 3, "Hedgehog");
  34. action AddNpcInput(50, 4, "Gegimme");
  35.  
  36. rule InputNpc(1) goto ESheep
  37. rule InputNpc(2) goto EBat
  38. rule InputNpc(3) goto EHedge
  39. rule InputNpc(4) goto EGegim
  40. }
  41. State ESheep
  42. {
  43. desc "Confirmation..."
  44. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  45. action AddNpcInput(50, 1, "Yeah");
  46. action AddNpcInput(50, 2, "Back");
  47.  
  48. rule InputNpc(1) goto KillSheep
  49. rule InputNpc(2) goto EasyMenu1
  50. }
  51. State KillSheep
  52. {
  53. desc "Kill 200 Sheeps"
  54. action AddNpcText(50, "Kill 200 sheeps, good luck bud.");
  55. rule KilledNpcs(170, 200) goto EasyDoneTask1
  56. }
  57. State EBat
  58. {
  59. desc "Confirmation..."
  60. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  61. action AddNpcInput(50, 1, "Yeah");
  62. action AddNpcInput(50, 2, "Back");
  63.  
  64. rule InputNpc(1) goto KillBat
  65. rule InputNpc(2) goto EasyMenu1
  66. }
  67. State KillBat
  68. {
  69. desc "Kill 200 Bats"
  70. action AddNpcText(50, "Kill 200 bats, good luck bud.");
  71. rule KilledNpcs(81, 200) goto EasyDoneTask1
  72. }
  73. State EHedge
  74. {
  75. desc "Confirmation..."
  76. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  77. action AddNpcInput(50, 1, "Yeah");
  78. action AddNpcInput(50, 2, "Back");
  79.  
  80. rule InputNpc(1) goto KillHedge
  81. rule InputNpc(2) goto EasyMenu1
  82. }
  83. State KillHedge
  84. {
  85. desc "Kill 200 Hedgehog"
  86. action AddNpcText(50, "Kill 200 hedgehog, good luck bud.");
  87. rule KilledNpcs(90, 200) goto EasyDoneTask1
  88. }
  89. State EGegim
  90. {
  91. desc "Confirmation..."
  92. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  93. action AddNpcInput(50, 1, "Yeah");
  94. action AddNpcInput(50, 2, "Back");
  95.  
  96. rule InputNpc(1) goto KillGegim
  97. rule InputNpc(2) goto EasyMenu1
  98. }
  99. State KillGegim
  100. {
  101. desc "Kill 200 Geggime"
  102. action AddNpcText(50, "Kill 200 geggime, good luck bud.");
  103. rule KilledNpcs(103, 200) goto EasyDoneTask1
  104. }
  105. State EasyDoneTask1
  106. {
  107. desc "Return to General Title"
  108. action ShowHint("You have gained 4k Exp and Title - Beginner");
  109. action GiveExp(4000);
  110. action AddNpcText(50, "Congratulations, You have gained 1st title of the category Easy");
  111. rule TalkedToNpc(50) goto EasyHome1
  112. }
  113. State EasyHome1
  114. {
  115. desc "Talk to General Title"
  116. action AddNpcText(50, "Select the category. Your buff will be removed if you select any task.");
  117.  
  118. action AddNpcInput(50, 1, "Easy");
  119.  
  120. rule InputNpc(1) goto EasyMenu2
  121. }
  122. State EasyMenu2
  123. {
  124. desc "Select the title."
  125. action ClrBuffs();
  126. action AddNpcText(50, "You have 1 title in this category. Click on it to get the buff.");
  127. action AddNpcInput(50, 1, "Beginner");
  128. action AddNpcInput(50, 2, "Task 2");
  129.  
  130. rule InputNpc(1) goto Beginner1
  131. rule InputNpc(2) goto EasyTask2
  132. }
  133. State Beginner1
  134. {
  135. action SetTitle("Beginner");
  136. action AddBuff("con", 20, 18000, "EasyTitle1");
  137. action ShowHint("You have gained 20 con for 5 hours");
  138.  
  139. action AddNpcText(50, "Your title has been set successfully");
  140.  
  141. rule TalkedToNpc(50) goto EasyHome1
  142. }
  143. State EasyTask2
  144. {
  145. desc "Talk to General Title"
  146. action AddNpcText(50, "Title - Champion, Stats - Con +55. Kills - 400");
  147. action AddNpcText(50, "Select the npc which you want to kill");
  148.  
  149. action AddNpcInput(50, 1, "Flowy");
  150. action AddNpcInput(50, 2, "Espring");
  151. action AddNpcInput(50, 3, "Nutviper");
  152.  
  153. rule InputNpc(1) goto EFlowy
  154. rule InputNpc(2) goto ESpring
  155. rule InputNpc(3) goto ENutviper
  156. }
  157. State EFlowy
  158. {
  159. desc "Confirmation..."
  160. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  161. action AddNpcInput(50, 1, "Yeah");
  162. action AddNpcInput(50, 2, "Back");
  163.  
  164. rule InputNpc(1) goto KillFlowy
  165. rule InputNpc(2) goto EasyMenu2
  166. }
  167. State KillFlowy
  168. {
  169. desc "Kill 400 Flowy"
  170. action AddNpcText(50, "Kill 400 Flowy, good luck bud.");
  171. rule KilledNpcs(223, 400) goto EasyDoneTask2
  172. }
  173. State ESpring
  174. {
  175. desc "Confirmation..."
  176. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  177. action AddNpcInput(50, 1, "Yeah");
  178. action AddNpcInput(50, 2, "Back");
  179.  
  180. rule InputNpc(1) goto KillSpring
  181. rule InputNpc(2) goto EasyMenu2
  182. }
  183. State KillSpring
  184. {
  185. desc "Kill 400 Espring"
  186. action AddNpcText(50, "Kill 400 Espring, good luck bud.");
  187. rule KilledNpcs(218, 400) goto EasyDoneTask2
  188. }
  189. State ENutviper
  190. {
  191. desc "Confirmation..."
  192. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  193. action AddNpcInput(50, 1, "Yeah");
  194. action AddNpcInput(50, 2, "Back");
  195.  
  196. rule InputNpc(1) goto KillNutviper
  197. rule InputNpc(2) goto EasyMenu2
  198. }
  199. State KillNutviper
  200. {
  201. desc "Kill 400 Nutviper"
  202. action AddNpcText(50, "Kill 400 Nutviper, good luck bud.");
  203. rule KilledNpcs(224, 400) goto EasyDoneTask2
  204. }
  205. State EasyDoneTask2
  206. {
  207. desc "Return to General Title"
  208. action ShowHint("You have gained 8k Exp and Title - Champion");
  209. action GiveExp(8000);
  210. action AddNpcText(50, "Congratulations, You have gained 2nd title of the category Easy");
  211. rule TalkedToNpc(50) goto EasyHome2
  212. }
  213. State EasyHome2
  214. {
  215. desc "Talk to General Title"
  216. action AddNpcText(50, "Select the category");
  217.  
  218. action AddNpcInput(50, 1, "Easy");
  219.  
  220. rule InputNpc(1) goto EasyMenu3
  221. }
  222. State EasyMenu3
  223. {
  224. action ClrBuffs();
  225. desc "Select the title."
  226. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  227. action AddNpcInput(50, 1, "Beginner");
  228. action AddNpcInput(50, 2, "Champion");
  229. action AddNpcInput(50, 3, "Task 3");
  230.  
  231. rule InputNpc(1) goto Beginner2
  232. rule InputNpc(2) goto Champion1
  233. rule InputNpc(3) goto EasyTask3
  234. }
  235. State Beginner2
  236. {
  237. action SetTitle("Beginner");
  238. action AddBuff("con", 20, 18000, "EasyTitle1");
  239. action ShowHint("You have gained 20 con for 5 hours");
  240.  
  241. action AddNpcText(50, "Your title has been set successfully");
  242.  
  243. rule TalkedToNpc(50) goto EasyHome2
  244. }
  245. State Champion1
  246. {
  247. action SetTitle("Champion");
  248. action AddBuff("con", 55, 18000, "EasyTitle2");
  249. action ShowHint("You have gained 55 con for 5 hours");
  250.  
  251. action AddNpcText(50, "Your title has been set successfully");
  252.  
  253. rule TalkedToNpc(50) goto EasyHome2
  254. }
  255. State EasyTask3
  256. {
  257. desc "Talk to General Title"
  258. action AddNpcText(50, "Title - Elite Warrior, Stats - Agility +25. Kills - 1k");
  259. action AddNpcText(50, "Select the npc which you want to kill");
  260.  
  261. action AddNpcInput(50, 1, "Azuorph");
  262. action AddNpcInput(50, 2, "Rabther");
  263.  
  264. rule InputNpc(1) goto EAzuorph
  265. rule InputNpc(2) goto ERabther
  266. }
  267. State EAzuorph
  268. {
  269. desc "Confirmation..."
  270. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  271. action AddNpcInput(50, 1, "Yeah");
  272. action AddNpcInput(50, 2, "Back");
  273.  
  274. rule InputNpc(1) goto KillAzuorph
  275. rule InputNpc(2) goto EasyMenu3
  276. }
  277. State KillAzuorph
  278. {
  279. desc "Kill 1k Azuorph"
  280. action AddNpcText(50, "Kill 1k Azuorph, good luck bud.");
  281. rule KilledNpcs(105, 1000) goto EasyDoneTask3
  282. }
  283. State ERabther
  284. {
  285. desc "Confirmation..."
  286. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  287. action AddNpcInput(50, 1, "Yeah");
  288. action AddNpcInput(50, 2, "Back");
  289.  
  290. rule InputNpc(1) goto KillRabther
  291. rule InputNpc(2) goto EasyMenu3
  292. }
  293. State KillRabther
  294. {
  295. desc "Kill 1k Rabther"
  296. action AddNpcText(50, "Kill 1k Rabther, good luck bud.");
  297. rule KilledNpcs(229, 1000) goto EasyDoneTask3
  298. }
  299. State EasyDoneTask3
  300. {
  301. desc "Return to General Title"
  302. action ShowHint("You have gained 12k Exp and Title - Elite Warrior");
  303. action GiveExp(12000);
  304. action AddNpcText(50, "Congratulations, You have gained 3rd title of the category Easy");
  305. rule TalkedToNpc(50) goto EasyHome3
  306. }
  307. State EasyHome3
  308. {
  309. desc "Talk to General Title"
  310. action AddNpcText(50, "Select the category");
  311.  
  312. action AddNpcInput(50, 1, "Easy");
  313. action AddNpcInput(50, 2, "Normal");
  314.  
  315. rule InputNpc(1) goto EasyMenu4
  316. rule InputNpc(2) goto NormalMenu1
  317. }
  318. State EasyMenu4
  319. {
  320. desc "Select the title."
  321. action ClrBuffs();
  322. action AddNpcText(50, "You have 3 titles in this category. Click on it to get the buff.");
  323. action AddNpcInput(50, 1, "Beginner");
  324. action AddNpcInput(50, 2, "Champion");
  325. action AddNpcInput(50, 3, "Elite Warrior");
  326.  
  327. rule InputNpc(1) goto Beginner3
  328. rule InputNpc(2) goto Champion2
  329. rule InputNpc(3) goto Elite1
  330. }
  331. State Beginner3
  332. {
  333. action SetTitle("Beginner");
  334. action AddBuff("con", 20, 18000, "EasyTitle1");
  335. action ShowHint("You have gained 20 con for 5 hours");
  336.  
  337. action AddNpcText(50, "Your title has been set successfully");
  338.  
  339. rule TalkedToNpc(50) goto EasyHome3
  340. }
  341. State Champion2
  342. {
  343. action SetTitle("Champion");
  344. action AddBuff("con", 55, 18000, "EasyTitle2");
  345. action ShowHint("You have gained 55 con for 5 hours");
  346.  
  347. action AddNpcText(50, "Your title has been set successfully");
  348.  
  349. rule TalkedToNpc(50) goto EasyHome3
  350. }
  351. State Elite1
  352. {
  353. action SetTitle("Elite Warrior");
  354. action AddBuff("agi", 25, 18000, "Task3");
  355. action ShowHint("You have gained 25 agi for 5 hours");
  356.  
  357. action AddNpcText(50, "Your title has been set successfully");
  358.  
  359. rule TalkedToNpc(50) goto EasyHome3
  360. }
  361. State NormalMenu1
  362. {
  363. action ClrBuffs();
  364. action AddNpcText(50, "Select the Task or Title");
  365.  
  366. action AddNpcInput(50, 1, "New Task");
  367.  
  368. rule InputNpc(1) goto NormalTask1
  369. }
  370. State NormalTask1
  371. {
  372. desc "Talk to General Title"
  373. action AddNpcText(50, "Title - Crusader, Stats - Con +100. Kills - 3200");
  374. action AddNpcText(50, "Select the npc which you want to kill");
  375.  
  376. action AddNpcInput(50, 1, "Wild Beast");
  377.  
  378. rule InputNpc(1) goto EWildBeast
  379. }
  380. State EWildBeast
  381. {
  382. desc "Confirmation..."
  383. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  384. action AddNpcInput(50, 1, "Yeah");
  385. action AddNpcInput(50, 2, "Back");
  386.  
  387. rule InputNpc(1) goto KillWildBeast
  388. rule InputNpc(2) goto NormalMenu1
  389. }
  390. State KillWildBeast
  391. {
  392. desc "Kill 3200 Wild Beasts"
  393. action AddNpcText(50, "Kill 3200 Wild Beasts, good luck bud.");
  394. rule KilledNpcs(425,3200) goto NormalDoneTask1
  395. }
  396. State NormalDoneTask1
  397. {
  398. desc "Return to General Title"
  399. action ShowHint("You have gained 16k Exp and Title - Crusader");
  400. action GiveExp(16000);
  401. action AddNpcText(50, "Congratulations, You have gained 1st title of the category Normal");
  402. rule TalkedToNpc(50) goto NormalHome1
  403. }
  404. State NormalHome1
  405. {
  406. desc "Talk to General Title"
  407. action AddNpcText(50, "Select the category. Your buff will be removed if you select any task.");
  408.  
  409. action AddNpcInput(50, 1, "Normal");
  410.  
  411. rule InputNpc(1) goto NormalMenu2
  412. }
  413. State NormalMenu2
  414. {
  415. desc "Select the title."
  416. action ClrBuffs();
  417. action AddNpcText(50, "You have 1 title in this category. Click on it to get the buff.");
  418. action AddNpcInput(50, 1, "Crusader");
  419. action AddNpcInput(50, 2, "Task 2");
  420.  
  421. rule InputNpc(1) goto Crusader1
  422. rule InputNpc(2) goto NormalTask2
  423. }
  424. State Crusader1
  425. {
  426. action SetTitle("Crusader");
  427. action AddBuff("con", 100, 18000, "NormalTitle1");
  428. action ShowHint("You have gained 100 con for 5 hours");
  429.  
  430. action AddNpcText(50, "Your title has been set successfully");
  431.  
  432. rule TalkedToNpc(50) goto NormalHome1
  433. }
  434. State NormalTask2
  435. {
  436. desc "Talk to General Title"
  437. action AddNpcText(50, "Title - Knight Crusader, Stats - Con +165. Kills - 6000");
  438. action AddNpcText(50, "Select the npc which you want to kill");
  439.  
  440. action AddNpcInput(50, 1, "Ice Crystal");
  441. action AddNpcInput(50, 2, "Ice Giant");
  442.  
  443. rule InputNpc(1) goto ECrystal
  444. rule InputNpc(2) goto EGiant
  445. }
  446. State ECrystal
  447. {
  448. desc "Confirmation..."
  449. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  450. action AddNpcInput(50, 1, "Yeah");
  451. action AddNpcInput(50, 2, "Back");
  452.  
  453. rule InputNpc(1) goto KillCrystal
  454. rule InputNpc(2) goto NormalMenu2
  455. }
  456. State KillCrystal
  457. {
  458. desc "Kill 6000 Ice Crystal"
  459. action AddNpcText(50, "Kill 6K Ice Crystal, good luck bud.");
  460. rule KilledNpcs(92,6000) goto NormalDoneTask2
  461. }
  462. State EGiant
  463. {
  464. desc "Confirmation..."
  465. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  466. action AddNpcInput(50, 1, "Yeah");
  467. action AddNpcInput(50, 2, "Back");
  468.  
  469. rule InputNpc(1) goto KillGiant
  470. rule InputNpc(2) goto NormalMenu2
  471. }
  472. State KillGiant
  473. {
  474. desc "Kill 6000 Ice Giants"
  475. action AddNpcText(50, "Kill 6000 Ice Giants, good luck bud.");
  476. rule KilledNpcs(91,6000) goto NormalDoneTask2
  477. }
  478. State NormalDoneTask2
  479. {
  480. desc "Return to General Title"
  481. action ShowHint("You have gained 20k Exp and Title - Knight Crusader");
  482. action GiveExp(20000);
  483. action AddNpcText(50, "Congratulations, You have gained 2nd title of the category Normal");
  484. rule TalkedToNpc(50) goto NormalHome2
  485. }
  486. State NormalHome2
  487. {
  488. desc "Talk to General Title"
  489. action AddNpcText(50, "Select the category");
  490.  
  491. action AddNpcInput(50, 1, "Normal");
  492.  
  493. rule InputNpc(1) goto NormalMenu3
  494. }
  495. State NormalMenu3
  496. {
  497. action ClrBuffs();
  498. desc "Select the title."
  499. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  500. action AddNpcInput(50, 1, "Crusader");
  501. action AddNpcInput(50, 2, "Knight Crusader");
  502. action AddNpcInput(50, 3, "Task 3");
  503.  
  504. rule InputNpc(1) goto Crusader2
  505. rule InputNpc(2) goto KnightCrusader1
  506. rule InputNpc(3) goto NormalTask3
  507. }
  508. State Crusader2
  509. {
  510. action SetTitle("Crusader");
  511. action AddBuff("con", 100, 18000, "NormalTitle1");
  512. action ShowHint("You have gained 100 con for 5 hours");
  513.  
  514. action AddNpcText(50, "Your title has been set successfully");
  515.  
  516. rule TalkedToNpc(50) goto NormalHome2
  517. }
  518. State KnightCrusader1
  519. {
  520. action SetTitle("Knight Crusader");
  521. action AddBuff("con", 165, 18000, "NormalTitle2");
  522. action ShowHint("You have gained 165 con for 5 hours");
  523.  
  524. action AddNpcText(50, "Your title has been set successfully");
  525.  
  526. rule TalkedToNpc(50) goto NormalHome2
  527. }
  528. State NormalTask3
  529. {
  530. desc "Talk to General Title"
  531. action AddNpcText(50, "Title - Elite Crusader, Stats - Agility +55. Kills - 8.8k");
  532. action AddNpcText(50, "Select the npc which you want to kill");
  533.  
  534. action AddNpcInput(50, 1, "Mummy");
  535. action AddNpcInput(50, 2, "Skeleton");
  536.  
  537. rule InputNpc(1) goto EMummy
  538. rule InputNpc(2) goto ESkeleton
  539. }
  540. State EMummy
  541. {
  542. desc "Confirmation..."
  543. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  544. action AddNpcInput(50, 1, "Yeah");
  545. action AddNpcInput(50, 2, "Back");
  546.  
  547. rule InputNpc(1) goto KillMummy
  548. rule InputNpc(2) goto NormalMenu3
  549. }
  550. State KillMummy
  551. {
  552. desc "Kill 8800 Mummy"
  553. action AddNpcText(50, "Kill 8.8K Mummy, good luck bud.");
  554. rule KilledNpcs(4, 8800) goto NormalDoneTask3
  555. }
  556. State ESkeleton
  557. {
  558. desc "Confirmation..."
  559. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  560. action AddNpcInput(50, 1, "Yeah");
  561. action AddNpcInput(50, 2, "Back");
  562.  
  563. rule InputNpc(1) goto KillSkeleton
  564. rule InputNpc(2) goto NormalMenu3
  565. }
  566. State KillSkeleton
  567. {
  568. desc "Kill 8800 Skeleton"
  569. action AddNpcText(50, "Kill 8.8K Skeleton, good luck bud.");
  570. rule KilledNpcs(17, 8800) goto NormalDoneTask3
  571. }
  572. State NormalDoneTask3
  573. {
  574. desc "Return to General Title"
  575. action ShowHint("You have gained 24k Exp and Title - Elite Crusader");
  576. action GiveExp(24000);
  577. action AddNpcText(50, "Congratulations, You have gained 3rd title of the category Normal");
  578. rule TalkedToNpc(50) goto NormalHome3
  579. }
  580. State NormalHome3
  581. {
  582. desc "Talk to General Title"
  583. action AddNpcText(50, "Select the category");
  584.  
  585. action AddNpcInput(50, 1, "Normal");
  586. action AddNpcInput(50, 2, "Elite");
  587.  
  588. rule InputNpc(1) goto NormalMenu4
  589. rule InputNpc(2) goto EliteCMenu1
  590. }
  591. State NormalMenu4
  592. {
  593. desc "Select the title."
  594. action ClrBuffs();
  595. action AddNpcText(50, "You have 3 titles in this category. Click on it to get the buff.");
  596. action AddNpcInput(50, 1, "Crusader");
  597. action AddNpcInput(50, 2, "Knight Crusader");
  598. action AddNpcInput(50, 3, "Elite Crusader");
  599.  
  600. rule InputNpc(1) goto Crusader3
  601. rule InputNpc(2) goto KnightCrusader2
  602. rule InputNpc(3) goto EliteCrusader1
  603. }
  604. State Crusader3
  605. {
  606. action SetTitle("Crusader");
  607. action AddBuff("con", 100, 18000, "NormalTitle1");
  608. action ShowHint("You have gained 100 con for 5 hours");
  609.  
  610. action AddNpcText(50, "Your title has been set successfully");
  611.  
  612. rule TalkedToNpc(50) goto NormalHome3
  613. }
  614. State KnightCrusader2
  615. {
  616. action SetTitle("Knight Crusader");
  617. action AddBuff("con", 165, 18000, "NormalTitle2");
  618. action ShowHint("You have gained 165 con for 5 hours");
  619.  
  620. action AddNpcText(50, "Your title has been set successfully");
  621.  
  622. rule TalkedToNpc(50) goto NormalHome3
  623. }
  624. State EliteCrusader1
  625. {
  626. action SetTitle("Elite Crusader");
  627. action AddBuff("agi", 50, 18000, "Task3");
  628. action ShowHint("You have gained 50 agi for 5 hours");
  629.  
  630. action AddNpcText(50, "Your title has been set successfully");
  631.  
  632. rule TalkedToNpc(50) goto NormalHome3
  633. }
  634. State EliteCMenu1
  635. {
  636. action ClrBuffs();
  637. action AddNpcText(50, "Select the Task or Title");
  638.  
  639. action AddNpcInput(50, 1, "New Task");
  640.  
  641. rule InputNpc(1) goto EliteCTask1
  642. }
  643. State EliteCTask1
  644. {
  645. desc "Elite Category"
  646. action AddNpcText(50, "Title - High Commander, Stats - Con +200. Kills - 12.6K");
  647. action AddNpcText(50, "Select the npc which you want to kill");
  648.  
  649. action AddNpcInput(50, 1, "Yellow Blob");
  650. action AddNpcInput(50, 2, "Pink Blob");
  651. action AddNpcInput(50, 3, "Red Blob");
  652. action AddNpcInput(50, 4, "Blue Blob");
  653.  
  654. rule InputNpc(1) goto EYellow
  655. rule InputNpc(2) goto EPink
  656. rule InputNpc(3) goto ERed
  657. rule InputNpc(4) goto EBlue
  658. }
  659. State EYellow
  660. {
  661. desc "Confirmation..."
  662. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  663. action AddNpcInput(50, 1, "Yeah");
  664. action AddNpcInput(50, 2, "Back");
  665.  
  666. rule InputNpc(1) goto KillYellow
  667. rule InputNpc(2) goto EliteCMenu1
  668. }
  669. State KillYellow
  670. {
  671. desc "Kill 12600 Yellow Blobs"
  672. action AddNpcText(50, "Kill 12.6k Yellow blobs, good luck bud.");
  673. rule KilledNpcs(64, 12600) goto EliteCDoneTask1
  674. }
  675. State EPink
  676. {
  677. desc "Confirmation..."
  678. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  679. action AddNpcInput(50, 1, "Yeah");
  680. action AddNpcInput(50, 2, "Back");
  681.  
  682. rule InputNpc(1) goto KillPink
  683. rule InputNpc(2) goto EliteCMenu1
  684. }
  685. State KillPink
  686. {
  687. desc "Kill 12600 Pink Blobs"
  688. action AddNpcText(50, "Kill 12.6k Pink blobs, good luck bud.");
  689. rule KilledNpcs(61, 12600) goto EliteCDoneTask1
  690. }
  691. State ERed
  692. {
  693. desc "Confirmation..."
  694. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  695. action AddNpcInput(50, 1, "Yeah");
  696. action AddNpcInput(50, 2, "Back");
  697.  
  698. rule InputNpc(1) goto KillRed
  699. rule InputNpc(2) goto EliteCMenu1
  700. }
  701. State KillRed
  702. {
  703. desc "Kill 12600 Red Blobs"
  704. action AddNpcText(50, "Kill 12.6k Red blobs, good luck bud.");
  705. rule KilledNpcs(63, 12600) goto EliteCDoneTask1
  706. }
  707. State EBlue
  708. {
  709. desc "Confirmation..."
  710. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  711. action AddNpcInput(50, 1, "Yeah");
  712. action AddNpcInput(50, 2, "Back");
  713.  
  714. rule InputNpc(1) goto KillBlue
  715. rule InputNpc(2) goto EliteCMenu1
  716. }
  717. State KillBlue
  718. {
  719. desc "Kill 12600 Blue Blobs"
  720. action AddNpcText(50, "Kill 12.6k Blue blobs, good luck bud.");
  721. rule KilledNpcs(62, 12600) goto EliteCDoneTask1
  722. }
  723. State EliteCDoneTask1
  724. {
  725. action ShowHint("You have gained 28k Exp and Title - High Commander");
  726. action GiveExp(28000);
  727.  
  728. action AddNpcText(50, "Congratulations, You have gained 1st title of the category Elite");
  729. rule TalkedToNpc(50) goto EliteCHome1
  730. }
  731. State EliteCHome1
  732. {
  733. desc "Talk to General Title"
  734. action AddNpcText(50, "Select the category");
  735.  
  736. action AddNpcInput(50, 1, "Elite");
  737.  
  738. rule InputNpc(1) goto EliteCMenu2
  739. }
  740. State EliteCMenu2
  741. {
  742. action ClrBuffs();
  743. desc "Select the title."
  744. action AddNpcText(50, "You have 1 title in this category. Click on it to get the buff.");
  745. action AddNpcInput(50, 1, "High Commander");
  746. action AddNpcInput(50, 2, "Task 2");
  747.  
  748. rule InputNpc(1) goto HighCom
  749. rule InputNpc(2) goto EliteCTask2
  750. }
  751. State HighCom
  752. {
  753. action SetTitle("High Commander");
  754. action AddBuff("con", 200, 18000, "EliteCTitle1");
  755. action ShowHint("You have gained 200 con for 5 hours");
  756.  
  757. action AddNpcText(50, "Your title has been set successfully");
  758.  
  759. rule TalkedToNpc(50) goto EliteCHome1
  760. }
  761. State EliteCTask2
  762. {
  763. desc "Talk to General Title"
  764. action AddNpcText(50, "Title - Imperial Commander, Stats - Con +255. Kills - 17600");
  765. action AddNpcText(50, "Select the npc which you want to kill");
  766.  
  767. action AddNpcInput(50, 1, "Baby Turtle");
  768. action AddNpcInput(50, 2, "Shark");
  769.  
  770. rule InputNpc(1) goto EBaby
  771. rule InputNpc(2) goto EShark
  772. }
  773. State EBaby
  774. {
  775. desc "Confirmation..."
  776. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  777. action AddNpcInput(50, 1, "Yeah");
  778. action AddNpcInput(50, 2, "Back");
  779.  
  780. rule InputNpc(1) goto KillBaby
  781. rule InputNpc(2) goto EliteCMenu2
  782. }
  783. State KillBaby
  784. {
  785. desc "Kill 17600 Baby Turtle"
  786. action AddNpcText(50, "Kill 17.6k Baby Turtle, good luck bud.");
  787. rule KilledNpcs(205, 17600) goto EliteCDoneTask2
  788. }
  789. State EShark
  790. {
  791. desc "Confirmation..."
  792. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  793. action AddNpcInput(50, 1, "Yeah");
  794. action AddNpcInput(50, 2, "Back");
  795.  
  796. rule InputNpc(1) goto KillShark
  797. rule InputNpc(2) goto EliteCMenu2
  798. }
  799. State KillShark
  800. {
  801. desc "Kill 17600 Sharks"
  802. action AddNpcText(50, "Kill 17.6k Pink blobs, good luck bud.");
  803. rule KilledNpcs(204, 17600) goto EliteCDoneTask2
  804. }
  805. State EliteCDoneTask2
  806. {
  807. action ShowHint("You have gained 32k Exp and Title - Imperial Commander");
  808. action GiveExp(32000);
  809. action SetTitle("Imperial Commander");
  810.  
  811. action AddNpcText(50, "Congratulations, You have gained 2nd title of the category Elite");
  812. rule TalkedToNpc(50) goto EliteCHome2
  813. }
  814. State EliteCHome2
  815. {
  816. desc "Talk to General Title"
  817. action AddNpcText(50, "Select the category");
  818.  
  819. action AddNpcInput(50, 1, "Elite");
  820.  
  821. rule InputNpc(1) goto EliteCMenu3
  822. }
  823. State EliteCMenu3
  824. {
  825. action ClrBuffs();
  826. desc "Select the title."
  827. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  828. action AddNpcInput(50, 1, "High Commander");
  829. action AddNpcInput(50, 2, "Imperial Commander");
  830. action AddNpcInput(50, 3, "Task 3");
  831.  
  832. rule InputNpc(1) goto HighCom1
  833. rule InputNpc(2) goto ImpCom
  834. rule InputNpc(3) goto EliteCTask3
  835. }
  836. State HighCom1
  837. {
  838. action SetTitle("High Commander");
  839. action AddBuff("con", 200, 18000, "ETask1");
  840. action ShowHint("You have gained 200 con for 5 hours");
  841.  
  842. action AddNpcText(50, "Your title has been set successfully");
  843.  
  844. rule TalkedToNpc(50) goto EliteCHome2
  845. }
  846. State ImpCom
  847. {
  848. action SetTitle("Imperial Commander");
  849. action AddBuff("con", 255, 18000, "ETask2");
  850. action ShowHint("You have gained 255 con for 5 hours");
  851.  
  852. action AddNpcText(50, "Your title has been set successfully");
  853.  
  854. rule TalkedToNpc(50) goto EliteCHome2
  855. }
  856. State EliteCTask3
  857. {
  858. desc "Talk to General Title"
  859. action AddNpcText(50, "Title - Lord Divine, Stats - Agility +75, Kills - 24K");
  860. action AddNpcText(50, "Select the npc which you want to kill");
  861.  
  862. action AddNpcInput(50, 1, "Snail without tie");
  863. action AddNpcInput(50, 2, "Snail with tie");
  864. action AddNpcInput(50, 3, "Shark");
  865.  
  866. rule InputNpc(1) goto ESnail
  867. rule InputNpc(2) goto ESnailTie
  868. rule InputNpc(3) goto EShark
  869. }
  870. State ESnail
  871. {
  872. desc "Confirmation..."
  873. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  874. action AddNpcInput(50, 1, "Yeah");
  875. action AddNpcInput(50, 2, "Back");
  876.  
  877. rule InputNpc(1) goto KillSnail
  878. rule InputNpc(2) goto EliteCMenu3
  879. }
  880. State KillSnail
  881. {
  882. desc "Kill 24K Snails"
  883. action AddNpcText(50, "Kill 24K Snails without tie, good luck bud.");
  884. rule KilledNpcs(101, 24000) goto EliteCDoneTask3
  885. }
  886. State ESnailTie
  887. {
  888. desc "Confirmation..."
  889. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  890. action AddNpcInput(50, 1, "Yeah");
  891. action AddNpcInput(50, 2, "Back");
  892.  
  893. rule InputNpc(1) goto KillSnailTie
  894. rule InputNpc(2) goto EliteCMenu3
  895. }
  896. State KillSnailTie
  897. {
  898. desc "Kill 24K Snails"
  899. action AddNpcText(50, "Kill 24K Snails with tie, good luck bud.");
  900. rule KilledNpcs(102, 24000) goto EliteCDoneTask3
  901. }
  902. State EButterfly
  903. {
  904. desc "Confirmation..."
  905. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  906. action AddNpcInput(50, 1, "Yeah");
  907. action AddNpcInput(50, 2, "Back");
  908.  
  909. rule InputNpc(1) goto KillButterfly
  910. rule InputNpc(2) goto EliteCMenu3
  911. }
  912. State KillButterfly
  913. {
  914. desc "Kill 24k Butterfly"
  915. action AddNpcText(50, "Kill 24k Butterfly, good luck bud.");
  916. rule KilledNpcs(133, 24000) goto EliteCDoneTask3
  917. }
  918. State EliteCDoneTask3
  919. {
  920. action ShowHint("You have gained 36k Exp and Title - Lord Divine");
  921. action GiveExp(36000);
  922.  
  923. action AddNpcText(50, "Congratulations, You have gained 3rd title of the category Elite");
  924. rule TalkedToNpc(50) goto EliteCHome3
  925. }
  926. State EliteCHome3
  927. {
  928. desc "Talk to General Title"
  929. action AddNpcText(50, "Select the category");
  930.  
  931. action AddNpcInput(50, 1, "Elite");
  932. action AddNpcInput(50, 2, "Hard");
  933.  
  934. rule InputNpc(1) goto EliteCMenu4
  935. rule InputNpc(2) goto HardMenu1
  936. }
  937. State EliteCMenu4
  938. {
  939. action ClrBuffs();
  940. desc "Select the title."
  941. action AddNpcText(50, "You have 3 titles in this category. Click on it to get the buff.");
  942. action AddNpcInput(50, 1, "High Commander");
  943. action AddNpcInput(50, 2, "Imperial Commander");
  944. action AddNpcInput(50, 3, "Lord Divine");
  945.  
  946. rule InputNpc(1) goto HighCom2
  947. rule InputNpc(2) goto ImpCom1
  948. rule InputNpc(3) goto Lord
  949. }
  950. State HighCom2
  951. {
  952. action SetTitle("High Commander");
  953. action AddBuff("con", 200, 18000, "ETask1");
  954. action ShowHint("You have gained 200 con for 5 hours");
  955.  
  956. action AddNpcText(50, "Your title has been set successfully");
  957.  
  958. rule TalkedToNpc(50) goto EliteCHome3
  959. }
  960. State ImpCom1
  961. {
  962. action SetTitle("Imperial Commander");
  963. action AddBuff("con", 255, 18000, "ETask2");
  964. action ShowHint("You have gained 255 con for 5 hours");
  965.  
  966. action AddNpcText(50, "Your title has been set successfully");
  967.  
  968. rule TalkedToNpc(50) goto EliteCHome3
  969. }
  970. State Lord
  971. {
  972. action SetTitle("Lord Divine");
  973. action AddBuff("agi", 75, 18000, "ETask2");
  974. action ShowHint("You have gained 75 agility for 5 hours");
  975.  
  976. action AddNpcText(50, "Your title has been set successfully");
  977.  
  978. rule TalkedToNpc(50) goto EliteCHome3
  979. }
  980. State HardMenu1
  981. {
  982. action ClrBuffs();
  983. action AddNpcText(50, "Select the Task or Title");
  984.  
  985. action AddNpcInput(50, 1, "New Task");
  986.  
  987. rule InputNpc(1) goto HardTask1
  988. }
  989. State HardTask1
  990. {
  991. desc "Hard Category"
  992. action AddNpcText(50, "Title - Dragon Raider, Stats - Con +300. Kills - 26.4K");
  993. action AddNpcText(50, "Select the npc which you want to kill");
  994.  
  995. action AddNpcInput(50, 1, "Headless Hunter");
  996. action AddNpcInput(50, 2, "Rotveig");
  997. action AddNpcInput(50, 3, "Angry Vine");
  998.  
  999. rule InputNpc(1) goto EHeadless
  1000. rule InputNpc(2) goto ERotveig
  1001. rule InputNpc(3) goto EAngryVine
  1002. }
  1003. State EHeadless
  1004. {
  1005. desc "Confirmation..."
  1006. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1007. action AddNpcInput(50, 1, "Yeah");
  1008. action AddNpcInput(50, 2, "Back");
  1009.  
  1010. rule InputNpc(1) goto KillHeadless
  1011. rule InputNpc(2) goto HardMenu1
  1012. }
  1013. State KillHeadless
  1014. {
  1015. desc "Kill 26400 Headless Hunter"
  1016. action AddNpcText(50, "Kill 26.4k Headless Hunter, good luck bud.");
  1017. rule KilledNpcs(138, 26400) goto HardDoneTask1
  1018. }
  1019. State ERotveig
  1020. {
  1021. desc "Confirmation..."
  1022. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1023. action AddNpcInput(50, 1, "Yeah");
  1024. action AddNpcInput(50, 2, "Back");
  1025.  
  1026. rule InputNpc(1) goto KillRotveig
  1027. rule InputNpc(2) goto HardMenu1
  1028. }
  1029. State KillRotveig
  1030. {
  1031. desc "Kill 26400 Rotveig"
  1032. action AddNpcText(50, "Kill 26.4k Rotveig, good luck bud.");
  1033. rule KilledNpcs(220, 26400) goto HardDoneTask1
  1034. }
  1035. State EAngryVine
  1036. {
  1037. desc "Confirmation..."
  1038. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1039. action AddNpcInput(50, 1, "Yeah");
  1040. action AddNpcInput(50, 2, "Back");
  1041.  
  1042. rule InputNpc(1) goto KillAngryVine
  1043. rule InputNpc(2) goto HardMenu1
  1044. }
  1045. State KillAngryVine
  1046. {
  1047. desc "Kill 26400 AngryVine"
  1048. action AddNpcText(50, "Kill 26.4k AngryVine, good luck bud.");
  1049. rule KilledNpcs(137, 26400) goto HardDoneTask1
  1050. }
  1051. State HardDoneTask1
  1052. {
  1053. action ShowHint("You have gained 40k Exp and Title - High Commander");
  1054. action GiveExp(40000);
  1055.  
  1056. action AddNpcText(50, "Congratulations, You have gained 1st title of the category Hard");
  1057. rule TalkedToNpc(50) goto HardHome1
  1058. }
  1059. State HardHome1
  1060. {
  1061. desc "Talk to General Title"
  1062. action AddNpcText(50, "Select the category");
  1063.  
  1064. action AddNpcInput(50, 1, "Hard");
  1065.  
  1066. rule InputNpc(1) goto HardMenu2
  1067. }
  1068. State HardMenu2
  1069. {
  1070. action ClrBuffs();
  1071. desc "Select the title."
  1072. action AddNpcText(50, "You have 1 title in this category. Click on it to get the buff.");
  1073. action AddNpcInput(50, 1, "Dragon Raider");
  1074. action AddNpcInput(50, 2, "Task 2");
  1075.  
  1076. rule InputNpc(1) goto DragonRaider
  1077. rule InputNpc(2) goto HardTask2
  1078. }
  1079. State DragonRaider
  1080. {
  1081. action SetTitle("Dragon Raider");
  1082. action AddBuff("con", 300, 18000, "HTask1");
  1083. action ShowHint("You have gained 300 con for 5 hours");
  1084.  
  1085. action AddNpcText(50, "Your title has been set successfully");
  1086.  
  1087. rule TalkedToNpc(50) goto HardHome1
  1088. }
  1089. State HardTask2
  1090. {
  1091. desc "Talk to General Title"
  1092. action AddNpcText(50, "Title - Earth Dragon Knight, Stats - Con +355. Kills - 28.8K");
  1093. action AddNpcText(50, "Select the npc which you want to kill");
  1094.  
  1095. action AddNpcInput(50, 1, "Sav 109");
  1096. action AddNpcInput(50, 2, "Crane");
  1097.  
  1098. rule InputNpc(1) goto ESav
  1099. rule InputNpc(2) goto ECrane
  1100. }
  1101. State ESav
  1102. {
  1103. desc "Confirmation..."
  1104. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1105. action AddNpcInput(50, 1, "Yeah");
  1106. action AddNpcInput(50, 2, "Back");
  1107.  
  1108. rule InputNpc(1) goto KillSav
  1109. rule InputNpc(2) goto HardMenu2
  1110. }
  1111. State KillSav
  1112. {
  1113. desc "Kill 28800 Sav 109"
  1114. action AddNpcText(50, "Kill 28.8k Sav 109, good luck bud.");
  1115. rule KilledNpcs(147, 28800) goto HardDoneTask2
  1116. }
  1117. State ECrane
  1118. {
  1119. desc "Confirmation..."
  1120. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1121. action AddNpcInput(50, 1, "Yeah");
  1122. action AddNpcInput(50, 2, "Back");
  1123.  
  1124. rule InputNpc(1) goto KillCrane
  1125. rule InputNpc(2) goto HardMenu2
  1126. }
  1127. State KillCrane
  1128. {
  1129. desc "Kill 28800 Cranes"
  1130. action AddNpcText(50, "Kill 28.8k Cranes, good luck bud.");
  1131. rule KilledNpcs(145, 28800) goto HardDoneTask2
  1132. }
  1133. State HardDoneTask2
  1134. {
  1135. action ShowHint("You have gained 44k Exp and Title - Earth Dragon Knight");
  1136. action GiveExp(44000);
  1137.  
  1138. action AddNpcText(50, "Congratulations, You have gained 2nd title of the category Hard");
  1139. rule TalkedToNpc(50) goto HardHome2
  1140. }
  1141. State HardHome2
  1142. {
  1143. desc "Talk to General Title"
  1144. action AddNpcText(50, "Select the category");
  1145.  
  1146. action AddNpcInput(50, 1, "Hard");
  1147.  
  1148. rule InputNpc(1) goto HardMenu3
  1149. }
  1150. State HardMenu3
  1151. {
  1152. action ClrBuffs();
  1153. desc "Select the title."
  1154. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  1155. action AddNpcInput(50, 1, "Dragon Raider");
  1156. action AddNpcInput(50, 2, "Earth Dragon Knight");
  1157. action AddNpcInput(50, 3, "Task 3");
  1158.  
  1159. rule InputNpc(1) goto DragonRaider1
  1160. rule InputNpc(2) goto EarthDragon
  1161. rule InputNpc(3) goto HardTask3
  1162. }
  1163. State DragonRaider1
  1164. {
  1165. action SetTitle("Dragon Raider");
  1166. action AddBuff("con", 300, 18000, "HTask1");
  1167.  
  1168. action ShowHint("You have gained 300 con for 5 hours");
  1169.  
  1170. action AddNpcText(50, "Your title has been set successfully");
  1171. rule TalkedToNpc(50) goto HardHome2
  1172. }
  1173. State EarthDragon
  1174. {
  1175. action SetTitle("Earth Dragon Knight");
  1176. action AddBuff("con", 355, 18000, "HTask2");
  1177. action ShowHint("You have gained 355 con for 5 hours");
  1178.  
  1179. action AddNpcText(50, "Your title has been set successfully");
  1180. rule TalkedToNpc(50) goto HardHome2
  1181. }
  1182. State HardTask3
  1183. {
  1184. desc "Talk to General Title"
  1185. action AddNpcText(50, "Title - Sky Dragon Knight, Stats - Agility +100. Kills - 31.2K");
  1186. action AddNpcText(50, "Select the npc which you want to kill");
  1187.  
  1188. action AddNpcInput(50, 1, "Proto");
  1189. action AddNpcInput(50, 2, "Alex Borg");
  1190.  
  1191. rule InputNpc(1) goto EProto
  1192. rule InputNpc(2) goto EBorg
  1193. }
  1194. State EProto
  1195. {
  1196. desc "Confirmation..."
  1197. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1198. action AddNpcInput(50, 1, "Yeah");
  1199. action AddNpcInput(50, 2, "Back");
  1200.  
  1201. rule InputNpc(1) goto KillProto
  1202. rule InputNpc(2) goto HardMenu3
  1203. }
  1204. State KillProto
  1205. {
  1206. desc "Kill 31200 Protos"
  1207. action AddNpcText(50, "Kill 31.2K Protos, good luck bud.");
  1208. rule KilledNpcs(149, 31200) goto HardDoneTask3
  1209. }
  1210. State EBorg
  1211. {
  1212. desc "Confirmation..."
  1213. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1214. action AddNpcInput(50, 1, "Yeah");
  1215. action AddNpcInput(50, 2, "Back");
  1216.  
  1217. rule InputNpc(1) goto KillBorg
  1218. rule InputNpc(2) goto HardMenu3
  1219. }
  1220. State KillBorg
  1221. {
  1222. desc "Kill 31.2k Borg"
  1223. action AddNpcText(50, "Kill 31.2K Alex Borg, good luck bud.");
  1224. rule KilledNpcs(233, 31200) goto HardDoneTask3
  1225. }
  1226. State HardDoneTask3
  1227. {
  1228. action ShowHint("You have gained 48k Exp and Title - Sky Dragon Knight");
  1229. action GiveExp(48000);
  1230.  
  1231. action AddNpcText(50, "Congratulations, You have gained 3rd title of the category Hard");
  1232. rule TalkedToNpc(50) goto HardHome3
  1233. }
  1234. State HardHome3
  1235. {
  1236. desc "Talk to General Title"
  1237. action AddNpcText(50, "Select the category");
  1238.  
  1239. action AddNpcInput(50, 1, "Hard");
  1240. action AddNpcInput(50, 2, "Hardest");
  1241.  
  1242. rule InputNpc(1) goto HardMenu4
  1243. rule InputNpc(2) goto HardestMenu1
  1244. }
  1245. State HardMenu4
  1246. {
  1247. action ClrBuffs();
  1248. desc "Select the title."
  1249. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  1250. action AddNpcInput(50, 1, "Dragon Raider");
  1251. action AddNpcInput(50, 2, "Earth Dragon Knight");
  1252. action AddNpcInput(50, 3, "Sky Dragon Knight");
  1253.  
  1254. rule InputNpc(1) goto DragonRaider2
  1255. rule InputNpc(2) goto EarthDragon1
  1256. rule InputNpc(3) goto SkyDragon
  1257. }
  1258. State DragonRaider2
  1259. {
  1260. action SetTitle("Dragon Raider");
  1261. action AddBuff("con", 300, 18000, "HTask1");
  1262.  
  1263. action ShowHint("You have gained 300 con for 5 hours");
  1264.  
  1265. action AddNpcText(50, "Your title has been set successfully");
  1266. rule TalkedToNpc(50) goto HardHome3
  1267. }
  1268. State EarthDragon1
  1269. {
  1270. action SetTitle("Earth Dragon Knight");
  1271. action AddBuff("con", 355, 18000, "HTask2");
  1272. action ShowHint("You have gained 355 con for 5 hours");
  1273.  
  1274. action AddNpcText(50, "Your title has been set successfully");
  1275. rule TalkedToNpc(50) goto HardHome3
  1276. }
  1277. State SkyDragon
  1278. {
  1279. action SetTitle("Sky Dragon Knight");
  1280. action AddBuff("agi", 100, 18000, "HTask2");
  1281. action ShowHint("You have gained 100 agility for 5 hours");
  1282.  
  1283. action AddNpcText(50, "Your title has been set successfully");
  1284. rule TalkedToNpc(50) goto HardHome3
  1285. }
  1286. State HardestMenu1
  1287. {
  1288. action ClrBuffs();
  1289. action AddNpcText(50, "Select the Task or Title");
  1290.  
  1291. action AddNpcInput(50, 1, "New Task");
  1292.  
  1293. rule InputNpc(1) goto HardestTask1
  1294. }
  1295. State HardestTask1
  1296. {
  1297. desc "Hardest Category"
  1298. action AddNpcText(50, "Title - Most Honourable, Stats - Attack +100. Kills - 40K");
  1299. action AddNpcText(50, "Select the npc which you want to kill");
  1300.  
  1301. action AddNpcInput(50, 1, "Green Fox");
  1302. action AddNpcInput(50, 2, "Red Fox");
  1303.  
  1304. rule InputNpc(1) goto EGreen
  1305. rule InputNpc(2) goto ERed
  1306. }
  1307. State EGreen
  1308. {
  1309. desc "Confirmation..."
  1310. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1311. action AddNpcInput(50, 1, "Yeah");
  1312. action AddNpcInput(50, 2, "Back");
  1313.  
  1314. rule InputNpc(1) goto KillGreen
  1315. rule InputNpc(2) goto HardestMenu1
  1316. }
  1317. State KillGreen
  1318. {
  1319. desc "Kill 40K Green Fox"
  1320. action AddNpcText(50, "Kill 40K Green Fox, good luck bud.");
  1321. rule KilledNpcs(420, 1) goto HardestDoneTask1
  1322. }
  1323. State ERedF
  1324. {
  1325. desc "Confirmation..."
  1326. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1327. action AddNpcInput(50, 1, "Yeah");
  1328. action AddNpcInput(50, 2, "Back");
  1329.  
  1330. rule InputNpc(1) goto KillRedF
  1331. rule InputNpc(2) goto HardestMenu1
  1332. }
  1333. State KillRedF
  1334. {
  1335. desc "Kill 40K Red Fox"
  1336. action AddNpcText(50, "Kill 40k Red Fox, good luck bud.");
  1337. rule KilledNpcs(419, 40000) goto HardestDoneTask1
  1338. }
  1339. State HardestDoneTask1
  1340. {
  1341. action ShowHint("You have gained 44k Exp and Title - Most Honourable");
  1342. action GiveExp(44000);
  1343.  
  1344. action AddNpcText(50, "Congratulations, You have gained 1st title of the category Hardest");
  1345. rule TalkedToNpc(50) goto HardestHome1
  1346. }
  1347. State HardestHome1
  1348. {
  1349. desc "Talk to General Title"
  1350. action AddNpcText(50, "Select the category");
  1351.  
  1352. action AddNpcInput(50, 1, "Hardest");
  1353.  
  1354. rule InputNpc(1) goto HardestMenu2
  1355. }
  1356. State HardestMenu2
  1357. {
  1358. action ClrBuffs();
  1359. desc "Select the title."
  1360. action AddNpcText(50, "You have 1 title in this category. Click on it to get the buff.");
  1361. action AddNpcInput(50, 1, "Most Honourable");
  1362. action AddNpcInput(50, 2, "Task 2");
  1363.  
  1364. rule InputNpc(1) goto ClassHonour
  1365. rule InputNpc(2) goto HardestTask2
  1366. }
  1367. State ClassHonour
  1368. {
  1369. rule IsClass(6) goto WHonour
  1370. rule IsClass(5) goto MHonour
  1371. rule IsClass(3) goto AHonour
  1372.  
  1373. rule IsClass(7) goto WHonour
  1374. rule IsClass(8) goto MHonour
  1375. rule IsClass(9) goto AHonour
  1376. }
  1377. State WHonour
  1378. {
  1379. action SetTitle("Most Honourable");
  1380. action AddBuff("str", 100, 18000, "HtTask1");
  1381. action ShowHint("You have gained 100 strength for 5 hours");
  1382.  
  1383. action AddNpcText(50, "Your title has been set successfully");
  1384.  
  1385. rule TalkedToNpc(50) goto HardestHome1
  1386. }
  1387. State MHonour
  1388. {
  1389. action SetTitle("Most Honourable");
  1390. action AddBuff("int", 100, 18000, "HtTask1");
  1391. action ShowHint("You have gained 100 strength for 5 hours");
  1392.  
  1393. action AddNpcText(50, "Your title has been set successfully");
  1394.  
  1395. rule TalkedToNpc(50) goto HardestHome1
  1396. }
  1397. State AHonour
  1398. {
  1399. action SetTitle("Most Honourable");
  1400. action AddBuff("cha", 100, 18000, "HtTask1");
  1401. action ShowHint("You have gained 100 strength for 5 hours");
  1402.  
  1403. action AddNpcText(50, "Your title has been set successfully");
  1404.  
  1405. rule TalkedToNpc(50) goto HardestHome1
  1406. }
  1407. State HardestTask2
  1408. {
  1409. desc "Talk to General Title"
  1410. action AddNpcText(50, "Title - Mythic Dragon Knight, Stats - Attack +200. Kills - 46K");
  1411. action AddNpcText(50, "Select the npc which you want to kill");
  1412.  
  1413. action AddNpcInput(50, 1, "Phoenix");
  1414. action AddNpcInput(50, 2, "Birdman Worker");
  1415.  
  1416. rule InputNpc(1) goto EPhoenix
  1417. rule InputNpc(2) goto EBird
  1418. }
  1419. State EPhoenix
  1420. {
  1421. desc "Confirmation..."
  1422. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1423. action AddNpcInput(50, 1, "Yeah");
  1424. action AddNpcInput(50, 2, "Back");
  1425.  
  1426. rule InputNpc(1) goto KillPhoenix
  1427. rule InputNpc(2) goto HardestMenu2
  1428. }
  1429. State KillPhoenix
  1430. {
  1431. desc "Kill 46K Pheonix"
  1432. action AddNpcText(50, "Kill 46K Pheonix, good luck bud.");
  1433. rule KilledNpcs(216, 1) goto HardestDoneTask2
  1434. }
  1435. State EBird
  1436. {
  1437. desc "Confirmation..."
  1438. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1439. action AddNpcInput(50, 1, "Yeah");
  1440. action AddNpcInput(50, 2, "Back");
  1441.  
  1442. rule InputNpc(1) goto KillBird
  1443. rule InputNpc(2) goto HardestMenu2
  1444. }
  1445. State KillBird
  1446. {
  1447. desc "Kill 46K Bird"
  1448. action AddNpcText(50, "Kill 46K Bird, good luck bud.");
  1449. rule KilledNpcs(69, 46000) goto HardestDoneTask2
  1450. }
  1451. State HardestDoneTask2
  1452. {
  1453. action ShowHint("You have gained 48k Exp and Title - Mythic Dragon Knight");
  1454. action GiveExp(48000);
  1455.  
  1456. action AddNpcText(50, "Congratulations, You have gained 2nd title of the category Hardest");
  1457. rule TalkedToNpc(50) goto HardestHome2
  1458. }
  1459. State HardestHome2
  1460. {
  1461. desc "Talk to General Title"
  1462. action AddNpcText(50, "Select the category");
  1463.  
  1464. action AddNpcInput(50, 1, "Hardest");
  1465.  
  1466. rule InputNpc(1) goto HardestMenu3
  1467. }
  1468. State HardestMenu3
  1469. {
  1470. action ClrBuffs();
  1471. desc "Select the title."
  1472. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  1473. action AddNpcInput(50, 1, "Most Honourable");
  1474. action AddNpcInput(50, 2, "Mythic Dragon Knight");
  1475. action AddNpcInput(50, 3, "Task 3");
  1476.  
  1477. rule InputNpc(1) goto ClassHonour1
  1478. rule InputNpc(2) goto ClassMythic
  1479. rule InputNpc(3) goto HardestTask3
  1480. }
  1481. State ClassHonour1
  1482. {
  1483. rule IsClass(6) goto WHonour1
  1484. rule IsClass(5) goto MHonour1
  1485. rule IsClass(3) goto AHonour1
  1486.  
  1487. rule IsClass(7) goto WHonour1
  1488. rule IsClass(8) goto MHonour1
  1489. rule IsClass(9) goto AHonour1
  1490. }
  1491. State WHonour1
  1492. {
  1493. action SetTitle("Most Honourable");
  1494. action AddBuff("str", 100, 18000, "HtTask1");
  1495. action ShowHint("You have gained 100 strength for 5 hours");
  1496.  
  1497. action AddNpcText(50, "Your title has been set successfully");
  1498.  
  1499. rule TalkedToNpc(50) goto HardestHome2
  1500. }
  1501. State MHonour1
  1502. {
  1503. action SetTitle("Most Honourable");
  1504. action AddBuff("int", 100, 18000, "HtTask1");
  1505. action ShowHint("You have gained 100 strength for 5 hours");
  1506.  
  1507. action AddNpcText(50, "Your title has been set successfully");
  1508.  
  1509. rule TalkedToNpc(50) goto HardestHome2
  1510. }
  1511. State AHonour1
  1512. {
  1513. action SetTitle("Most Honourable");
  1514. action AddBuff("cha", 100, 18000, "HtTask1");
  1515. action ShowHint("You have gained 100 strength for 5 hours");
  1516.  
  1517. action AddNpcText(50, "Your title has been set successfully");
  1518.  
  1519. rule TalkedToNpc(50) goto HardestHome2
  1520. }
  1521. State ClassMythic
  1522. {
  1523. rule IsClass(6) goto WMythic
  1524. rule IsClass(5) goto MMythic
  1525. rule IsClass(3) goto AMythic
  1526.  
  1527. rule IsClass(7) goto WMythic
  1528. rule IsClass(8) goto MMythic
  1529. rule IsClass(9) goto AMythic
  1530. }
  1531. State WMythic
  1532. {
  1533. action SetTitle("Mythic Dragon Knight");
  1534. action AddBuff("str", 200, 18000, "HtTask1");
  1535. action ShowHint("You have gained 200 strength for 5 hours");
  1536.  
  1537. action AddNpcText(50, "Your title has been set successfully");
  1538.  
  1539. rule TalkedToNpc(50) goto HardestHome2
  1540. }
  1541. State MMythic
  1542. {
  1543. action SetTitle("Mythic Dragon Knight");
  1544. action AddBuff("int", 200, 18000, "HtTask1");
  1545. action ShowHint("You have gained 200 strength for 5 hours");
  1546.  
  1547. action AddNpcText(50, "Your title has been set successfully");
  1548.  
  1549. rule TalkedToNpc(50) goto HardestHome2
  1550. }
  1551. State AMythic
  1552. {
  1553. action SetTitle("Mythic Dragon Knight");
  1554. action AddBuff("cha", 200, 18000, "HtTask1");
  1555. action ShowHint("You have gained 200 strength for 5 hours");
  1556.  
  1557. action AddNpcText(50, "Your title has been set successfully");
  1558.  
  1559. rule TalkedToNpc(50) goto HardestHome2
  1560. }
  1561. State HardestTask3
  1562. {
  1563. desc "Talk to General Title"
  1564. action AddNpcText(50, "Title - Mythic Dragon Earl, Stats - Attack +300. Kills - 51.2K");
  1565. action AddNpcText(50, "Select the npc which you want to kill");
  1566.  
  1567. action AddNpcInput(50, 1, "Barbarian");
  1568.  
  1569. rule InputNpc(1) goto EBarbarian
  1570. }
  1571. State EBarbarian
  1572. {
  1573. desc "Confirmation..."
  1574. action AddNpcText(50, "Are you sure? Once selected, you cant reset the task");
  1575. action AddNpcInput(50, 1, "Yeah");
  1576. action AddNpcInput(50, 2, "Back");
  1577.  
  1578. rule InputNpc(1) goto KillBarbarian
  1579. rule InputNpc(2) goto HardestMenu3
  1580. }
  1581. State KillBarbarian
  1582. {
  1583. desc "Kill 51200 Barbarians"
  1584. action AddNpcText(50, "Kill 51.2K Barbarian, good luck bud.");
  1585. rule KilledNpcs(11, 1) goto HardestDoneTask3
  1586. }
  1587. State HardestDoneTask3
  1588. {
  1589. action ShowHint("You have gained 52k Exp and Title - Mythic Dragon Earl");
  1590. action GiveExp(52000);
  1591.  
  1592. action AddNpcText(50, "Congratulations, You have gained 3rd title of the category Hardest");
  1593. rule TalkedToNpc(50) goto HardestHome3
  1594. }
  1595. State HardestHome3
  1596. {
  1597. desc "Talk to General Title"
  1598. action AddNpcText(50, "Select the category");
  1599.  
  1600. action AddNpcInput(50, 1, "Easy");
  1601. action AddNpcInput(50, 2, "Normal");
  1602. action AddNpcInput(50, 3, "Elite");
  1603. action AddNpcInput(50, 4, "Next");
  1604.  
  1605. rule InputNpc(1) goto SelectEasy
  1606. rule InputNpc(2) goto SelectNormal
  1607. rule InputNpc(3) goto SelectEliteC
  1608. rule InputNpc(4) goto Home
  1609. }
  1610. State Home
  1611. {
  1612. desc "Talk to General Title"
  1613. action AddNpcText(50, "Select the category");
  1614.  
  1615. action AddNpcInput(50, 1, "Hard");
  1616. action AddNpcInput(50, 2, "Hardest");
  1617. action AddNpcInput(50, 3, "Back");
  1618.  
  1619. rule InputNpc(1) goto SelectHard
  1620. rule InputNpc(2) goto HardestMenu4
  1621. rule InputNpc(3) goto HardestHome3
  1622. }
  1623. State HardestMenu4
  1624. {
  1625. action ClrBuffs();
  1626. desc "Select the title."
  1627. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  1628. action AddNpcInput(50, 1, "Most Honourable");
  1629. action AddNpcInput(50, 2, "Mythic Dragon Knight");
  1630. action AddNpcInput(50, 3, "Mythic Dragon Earl");
  1631.  
  1632. rule InputNpc(1) goto ClassHonour2
  1633. rule InputNpc(2) goto ClassMythic1
  1634. rule InputNpc(3) goto ClassEarl
  1635. }
  1636. State ClassHonour2
  1637. {
  1638. rule IsClass(6) goto WHonour2
  1639. rule IsClass(5) goto MHonour2
  1640. rule IsClass(3) goto AHonour2
  1641.  
  1642. rule IsClass(7) goto WHonour2
  1643. rule IsClass(8) goto MHonour2
  1644. rule IsClass(9) goto AHonour2
  1645. }
  1646. State WHonour2
  1647. {
  1648. action SetTitle("Most Honourable");
  1649. action AddBuff("str", 100, 18000, "HtTask1");
  1650. action ShowHint("You have gained 100 strength for 5 hours");
  1651.  
  1652. action AddNpcText(50, "Your title has been set successfully");
  1653.  
  1654. rule TalkedToNpc(50) goto HardestHome3
  1655. }
  1656. State MHonour2
  1657. {
  1658. action SetTitle("Most Honourable");
  1659. action AddBuff("int", 100, 18000, "HtTask1");
  1660. action ShowHint("You have gained 100 strength for 5 hours");
  1661.  
  1662. action AddNpcText(50, "Your title has been set successfully");
  1663.  
  1664. rule TalkedToNpc(50) goto HardestHome3
  1665. }
  1666. State AHonour2
  1667. {
  1668. action SetTitle("Most Honourable");
  1669. action AddBuff("cha", 100, 18000, "HtTask1");
  1670. action ShowHint("You have gained 100 strength for 5 hours");
  1671.  
  1672. action AddNpcText(50, "Your title has been set successfully");
  1673.  
  1674. rule TalkedToNpc(50) goto HardestHome3
  1675. }
  1676. State ClassMythic1
  1677. {
  1678. rule IsClass(6) goto WMythic1
  1679. rule IsClass(5) goto MMythic1
  1680. rule IsClass(3) goto AMythic1
  1681.  
  1682. rule IsClass(7) goto WMythic1
  1683. rule IsClass(8) goto MMythic1
  1684. rule IsClass(9) goto AMythic1
  1685. }
  1686. State WMythic1
  1687. {
  1688. action SetTitle("Mythic Dragon Knight");
  1689. action AddBuff("str", 200, 18000, "HtTask1");
  1690. action ShowHint("You have gained 200 strength for 5 hours");
  1691.  
  1692. action AddNpcText(50, "Your title has been set successfully");
  1693.  
  1694. rule TalkedToNpc(50) goto HardestHome3
  1695. }
  1696. State MMythic1
  1697. {
  1698. action SetTitle("Mythic Dragon Knight");
  1699. action AddBuff("int", 200, 18000, "HtTask1");
  1700. action ShowHint("You have gained 200 strength for 5 hours");
  1701.  
  1702. action AddNpcText(50, "Your title has been set successfully");
  1703.  
  1704. rule TalkedToNpc(50) goto HardestHome3
  1705. }
  1706. State AMythic1
  1707. {
  1708. action SetTitle("Mythic Dragon Knight");
  1709. action AddBuff("cha", 200, 18000, "HtTask1");
  1710. action ShowHint("You have gained 200 strength for 5 hours");
  1711.  
  1712. action AddNpcText(50, "Your title has been set successfully");
  1713.  
  1714. rule TalkedToNpc(50) goto HardestHome3
  1715. }
  1716. State ClassEarl
  1717. {
  1718. rule IsClass(6) goto WEarl
  1719. rule IsClass(5) goto MEarl
  1720. rule IsClass(3) goto AEarl
  1721.  
  1722. rule IsClass(7) goto WEarl
  1723. rule IsClass(8) goto MEarl
  1724. rule IsClass(9) goto AEarl
  1725. }
  1726. State WEarl
  1727. {
  1728. action SetTitle("Mythic Dragon Knight");
  1729. action AddBuff("str", 300, 18000, "HtTask1");
  1730. action ShowHint("You have gained 300 strength for 5 hours");
  1731.  
  1732. action AddNpcText(50, "Your title has been set successfully");
  1733.  
  1734. rule TalkedToNpc(50) goto HardestHome3
  1735. }
  1736. State MEarl
  1737. {
  1738. action SetTitle("Mythic Dragon Knight");
  1739. action AddBuff("int", 300, 18000, "HtTask1");
  1740. action ShowHint("You have gained 300 strength for 5 hours");
  1741.  
  1742. action AddNpcText(50, "Your title has been set successfully");
  1743.  
  1744. rule TalkedToNpc(50) goto HardestHome3
  1745. }
  1746. State AEarl
  1747. {
  1748. action SetTitle("Mythic Dragon Knight");
  1749. action AddBuff("cha", 300, 18000, "HtTask1");
  1750. action ShowHint("You have gained 300 strength for 5 hours");
  1751.  
  1752. action AddNpcText(50, "Your title has been set successfully");
  1753.  
  1754. rule TalkedToNpc(50) goto HardestHome3
  1755. }
  1756. State SelectEasy
  1757. {
  1758. desc "Select the title."
  1759. action ClrBuffs();
  1760. action AddNpcText(50, "Click on it to get the buff.");
  1761. action AddNpcInput(50, 1, "Beginner");
  1762. action AddNpcInput(50, 2, "Champion");
  1763. action AddNpcInput(50, 3, "Elite Warrior");
  1764. action AddNpcInput(50, 4, "Home");
  1765.  
  1766. rule InputNpc(1) goto SelectedBeginner
  1767. rule InputNpc(2) goto SelectedChampion
  1768. rule InputNpc(3) goto SelectedElite
  1769. rule InputNpc(4) goto HardestHome3
  1770. }
  1771. State SelectedBeginner
  1772. {
  1773. action SetTitle("Beginner");
  1774. action AddBuff("con", 20, 18000, "EasyTitle1");
  1775. action ShowHint("You have gained 20 con for 5 hours");
  1776.  
  1777. action AddNpcText(50, "Your title has been set successfully");
  1778.  
  1779. rule TalkedToNpc(50) goto HardestHome3
  1780. }
  1781. State SelectedChampion
  1782. {
  1783. action SetTitle("Champion");
  1784. action AddBuff("con", 55, 18000, "EasyTitle2");
  1785. action ShowHint("You have gained 55 con for 5 hours");
  1786.  
  1787. action AddNpcText(50, "Your title has been set successfully");
  1788.  
  1789. rule TalkedToNpc(50) goto HardestHome3
  1790. }
  1791. State SelectedElite
  1792. {
  1793. action SetTitle("Elite Warrior");
  1794. action AddBuff("agi", 25, 18000, "Task3");
  1795. action ShowHint("You have gained 25 agi for 5 hours");
  1796.  
  1797. action AddNpcText(50, "Your title has been set successfully");
  1798.  
  1799. rule TalkedToNpc(50) goto HardestHome3
  1800. }
  1801. State SelectNormal
  1802. {
  1803. desc "Select the title."
  1804. action ClrBuffs();
  1805. action AddNpcText(50, "Click on it to get the buff.");
  1806. action AddNpcInput(50, 1, "Crusader");
  1807. action AddNpcInput(50, 2, "Knight Crusader");
  1808. action AddNpcInput(50, 3, "Elite Crusader");
  1809. action AddNpcInput(50, 4, "Home");
  1810.  
  1811. rule InputNpc(1) goto SelectedCrusader
  1812. rule InputNpc(2) goto SelectedKnightCrusader
  1813. rule InputNpc(3) goto SelectedEliteCrusader
  1814. rule InputNpc(4) goto HardestHome3
  1815. }
  1816. State SelectedCrusader
  1817. {
  1818. action SetTitle("Crusader");
  1819. action AddBuff("con", 100, 18000, "NormalTitle1");
  1820. action ShowHint("You have gained 100 con for 5 hours");
  1821.  
  1822. action AddNpcText(50, "Your title has been set successfully");
  1823.  
  1824. rule TalkedToNpc(50) goto HardestHome3
  1825. }
  1826. State SelectedKnightCrusader
  1827. {
  1828. action SetTitle("Knight Crusader");
  1829. action AddBuff("con", 165, 18000, "NormalTitle2");
  1830. action ShowHint("You have gained 165 con for 5 hours");
  1831.  
  1832. action AddNpcText(50, "Your title has been set successfully");
  1833.  
  1834. rule TalkedToNpc(50) goto HardestHome3
  1835. }
  1836. State SelectedEliteCrusader
  1837. {
  1838. action SetTitle("Elite Crusader");
  1839. action AddBuff("agi", 50, 18000, "Task3");
  1840. action ShowHint("You have gained 50 agi for 5 hours");
  1841.  
  1842. action AddNpcText(50, "Your title has been set successfully");
  1843.  
  1844. rule TalkedToNpc(50) goto HardestHome3
  1845. }
  1846. State SelectEliteC
  1847. {
  1848. action ClrBuffs();
  1849. desc "Select the title."
  1850. action AddNpcText(50, "Click on it to get the buff.");
  1851. action AddNpcInput(50, 1, "High Commander");
  1852. action AddNpcInput(50, 2, "Imperial Commander");
  1853. action AddNpcInput(50, 3, "Lord Divine");
  1854.  
  1855. rule InputNpc(1) goto SelectedHighCom
  1856. rule InputNpc(2) goto SelectedImpCom
  1857. rule InputNpc(3) goto SelectedLord
  1858. }
  1859. State SelectedHighCom
  1860. {
  1861. action SetTitle("High Commander");
  1862. action AddBuff("con", 200, 18000, "ETask1");
  1863. action ShowHint("You have gained 200 con for 5 hours");
  1864.  
  1865. action AddNpcText(50, "Your title has been set successfully");
  1866.  
  1867. rule TalkedToNpc(50) goto HardestHome3
  1868. }
  1869. State SelectedImpCom
  1870. {
  1871. action SetTitle("Imperial Commander");
  1872. action AddBuff("con", 255, 18000, "ETask2");
  1873. action ShowHint("You have gained 255 con for 5 hours");
  1874.  
  1875. action AddNpcText(50, "Your title has been set successfully");
  1876.  
  1877. rule TalkedToNpc(50) goto HardestHome3
  1878. }
  1879. State SelectedLord
  1880. {
  1881. action SetTitle("Lord Divine");
  1882. action AddBuff("agi", 75, 18000, "ETask2");
  1883. action ShowHint("You have gained 75 agility for 5 hours");
  1884.  
  1885. action AddNpcText(50, "Your title has been set successfully");
  1886.  
  1887. rule TalkedToNpc(50) goto HardestHome3
  1888. }
  1889. State SelectHard
  1890. {
  1891. action ClrBuffs();
  1892. desc "Select the title."
  1893. action AddNpcText(50, "You have 2 titles in this category. Click on it to get the buff.");
  1894. action AddNpcInput(50, 1, "Dragon Raider");
  1895. action AddNpcInput(50, 2, "Earth Dragon Knight");
  1896. action AddNpcInput(50, 3, "Sky Dragon Knight");
  1897.  
  1898. rule InputNpc(1) goto SelectedRaider
  1899. rule InputNpc(2) goto SelectedEarth
  1900. rule InputNpc(3) goto SelectedSky
  1901. }
  1902. State SelectedRaider
  1903. {
  1904. action SetTitle("Dragon Raider");
  1905. action AddBuff("con", 300, 18000, "HTask1");
  1906.  
  1907. action ShowHint("You have gained 300 con for 5 hours");
  1908.  
  1909. action AddNpcText(50, "Your title has been set successfully");
  1910. rule TalkedToNpc(50) goto Home
  1911. }
  1912. State SelectedEarth
  1913. {
  1914. action SetTitle("Earth Dragon Knight");
  1915. action AddBuff("con", 355, 18000, "HTask2");
  1916. action ShowHint("You have gained 355 con for 5 hours");
  1917.  
  1918. action AddNpcText(50, "Your title has been set successfully");
  1919. rule TalkedToNpc(50) goto Home
  1920. }
  1921. State SelectedSky
  1922. {
  1923. action SetTitle("Sky Dragon Knight");
  1924. action AddBuff("agi", 100, 18000, "HTask2");
  1925. action ShowHint("You have gained 100 agility for 5 hours");
  1926.  
  1927. action AddNpcText(50, "Your title has been set successfully");
  1928. rule TalkedToNpc(50) goto Home
  1929. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement