Advertisement
Guest User

Job Swapper by Emistry edit by Rikimaru

a guest
Jan 14th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.88 KB | None | 0 0
  1. //*********************************************************************************************************************************************************************************
  2. //***--Topic Link : ***\( ^ ~ ^ )/***
  3. //***
  4. //***
  5. //*********************************************************************************************************************************************************************************
  6. //***-- Script by : ***\( ^ ~ ^ )/***
  7. //***-- Emistry
  8. //***
  9. //*********************************************************************************************************************************************************************************
  10. //***-- Contact Info : ***\( ^ ~ ^ )/***
  11. //***-- My Email : Equinox1991@Gmail.com
  12. //***
  13. //*********************************************************************************************************************************************************************************
  14. //***-- Messages : ***\( ^ ~ ^ )/***
  15. //***-- Drop me a private message or email if you are looking for my helps ^^.
  16. //***-- Beside that, I am looking for a Server to work with ^^ .
  17. //***-- I will do my best to help you ^^.
  18. //***-- More Details ? PM Me ^^.
  19. //***
  20. //*********************************************************************************************************************************************************************************
  21. //***Although these scripts might not suit or follow with what you have requested completely. But i still wish you can give it a try before reject the works.
  22. //***
  23. //*********************************************************************************************************************************************************************************
  24. //***-- Versions Update: ***\( ^ ~ ^ )/***
  25. //*** [ Version 1.4 ] - All Credits go to Emistry , just edited it for myieee on rathena.org . [ By Rikimaru ]
  26. //*** [ Version 1.3 ] - Added Message informing after Class Swapped . [ By Emistry ]
  27. //*** [ Version 1.2 ] - Added Conditions Check . [ By Emistry ]
  28. //*** [ Version 1.1 ] - Separate Classes into Categories. [ By Emistry ]
  29. //*** [ Version 1.0 ] - Simple Class Swap Script . [ By Emistry ]
  30. //***
  31. //*********************************************************************************************************************************************************************************
  32. //====================== Settings ============================0
  33. set .TCGID,7227;
  34. set @TCGamount,1;
  35. prontera,155,169,5 script Class Swapper 100,{
  36. mes "[ Class Swapper ]";
  37. if(BaseLevel < 255 || JobLevel < 120 ){
  38. mes"Only Base Level 255 and Job Level 120 Player can use my services.";
  39. close;
  40. }
  41. mes "Hi, i can change your current job class to other job class.";
  42. mes "Please choose you desired job class to change into.";
  43. next;
  44. switch (select ("Normal Job Class:Advanced Job Class:Expanded Job Class:Nothing")) {
  45. Case 1:
  46. mes "[ Class Swapper ]";
  47. mes "Choose more detail for your desired job class.";
  48. switch (select ("Knight:Crusader:Assassin:Rogue:Wizard:Sage:Priest:Monk:Blacksmith:Alchemist:Hunter:Bard / Dancer")) {
  49. Case 1:
  50. mes "[ Class Swapper ]";
  51. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  52. delitem .TCGID,@TCGamount;
  53. mes "Okay.. i will transform you into a Knight now.";
  54. jobchange 7;
  55. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  56. close2;
  57. emotion e_heh;
  58. end;
  59. Case 2:
  60. mes "[ Class Swapper ]";
  61. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  62. delitem .TCGID,@TCGamount;
  63. mes "Okay.. i will transform you into a Crusader now.";
  64. jobchange 14;
  65. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  66. close2;
  67. emotion e_heh;
  68. end;
  69. Case 3:
  70. mes "[ Class Swapper ]";
  71. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  72. delitem .TCGID,@TCGamount;
  73. mes "Okay.. i will transform you into a Assassin now.";
  74. jobchange 12;
  75. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  76. close2;
  77. emotion e_heh;
  78. end;
  79. Case 4:
  80. mes "[ Class Swapper ]";
  81. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  82. delitem .TCGID,@TCGamount;
  83. mes "Okay.. i will transform you into a Rogue now.";
  84. jobchange 17;
  85. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  86. close2;
  87. emotion e_heh;
  88. end;
  89. Case 5:
  90. mes "[ Class Swapper ]";
  91. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  92. delitem .TCGID,@TCGamount;
  93. mes "Okay.. i will transform you into a Wizard now.";
  94. jobchange 9;
  95. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  96. close2;
  97. emotion e_heh;
  98. end;
  99. Case 6:
  100. mes "[ Class Swapper ]";
  101. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  102. delitem .TCGID,@TCGamount;
  103. mes "Okay.. i will transform you into a Sage now.";
  104. jobchange 16;
  105. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  106. close2;
  107. emotion e_heh;
  108. end;
  109. Case 7:
  110. mes "[ Class Swapper ]";
  111. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  112. delitem .TCGID,@TCGamount;
  113. mes "Okay.. i will transform you into a Priest now.";
  114. jobchange 8;
  115. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  116. close2;
  117. emotion e_heh;
  118. end;
  119. Case 8:
  120. mes "[ Class Swapper ]";
  121. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  122. delitem .TCGID,@TCGamount;
  123. mes "Okay.. i will transform you into a Monk now.";
  124. jobchange 15;
  125. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  126. close2;
  127. emotion e_heh;
  128. end;
  129. Case 9:
  130. mes "[ Class Swapper ]";
  131. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  132. delitem .TCGID,@TCGamount;
  133. mes "Okay.. i will transform you into a Blacksmith now.";
  134. jobchange 10;
  135. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  136. close2;
  137. emotion e_heh;
  138. end;
  139. Case 10:
  140. mes "[ Class Swapper ]";
  141. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  142. delitem .TCGID,@TCGamount;
  143. mes "Okay.. i will transform you into a Alchemist now.";
  144. jobchange 18;
  145. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  146. close2;
  147. emotion e_heh;
  148. end;
  149. Case 11:
  150. mes "[ Class Swapper ]";
  151. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  152. delitem .TCGID,@TCGamount;
  153. mes "Okay.. i will transform you into a Hunter now.";
  154. jobchange 11;
  155. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  156. close2;
  157. emotion e_heh;
  158. end;
  159. Case 12:
  160. mes "[ Class Swapper ]";
  161. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  162. delitem .TCGID,@TCGamount;
  163. if(Sex == 1 ){
  164. mes "Okay.. i will transform you into a Bard now.";
  165. jobchange 19;
  166. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  167. }
  168. if(Sex == 0 ){
  169. mes "Okay.. i will transform you into a Dancer now.";
  170. jobchange 20;
  171. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  172. }
  173. close2;
  174. emotion e_heh;
  175. end;
  176. }
  177.  
  178. Case 2:
  179. mes "[ Class Swapper ]";
  180. mes "Choose more detail for your desired job class.";
  181. switch (select ("Lord Knight:Paladin:Assassin Cross:Stalker:High Wizard:Professor:High Priest:Champion:Whitesmith:Biochemist:Sniper:Clown / Gypsy")) {
  182. Case 1:
  183. mes "[ Class Swapper ]";
  184. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  185. delitem .TCGID,@TCGamount;
  186. mes "Okay.. i will transform you into a Lord Knight now.";
  187. jobchange 4008;
  188. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  189. close2;
  190. emotion e_heh;
  191. end;
  192. Case 2:
  193. mes "[ Class Swapper ]";
  194. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  195. delitem .TCGID,@TCGamount;
  196. mes "Okay.. i will transform you into a Paladin now.";
  197. jobchange 4015;
  198. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  199. close2;
  200. emotion e_heh;
  201. end;
  202. Case 3:
  203. mes "[ Class Swapper ]";
  204. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  205. delitem .TCGID,@TCGamount;
  206. mes "Okay.. i will transform you into a Assassin Cross now.";
  207. jobchange 4013;
  208. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  209. close2;
  210. emotion e_heh;
  211. end;
  212. Case 4:
  213. mes "[ Class Swapper ]";
  214. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  215. delitem .TCGID,@TCGamount;
  216. mes "Okay.. i will transform you into a Stalker now.";
  217. jobchange 4018;
  218. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  219. close2;
  220. emotion e_heh;
  221. end;
  222. Case 5:
  223. mes "[ Class Swapper ]";
  224. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  225. delitem .TCGID,@TCGamount;
  226. mes "Okay.. i will transform you into a High Wizard now.";
  227. jobchange 4010;
  228. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  229. close2;
  230. emotion e_heh;
  231. end;
  232. Case 6:
  233. mes "[ Class Swapper ]";
  234. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  235. delitem .TCGID,@TCGamount;
  236. mes "Okay.. i will transform you into a Professor now.";
  237. jobchange 4017;
  238. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  239. close2;
  240. emotion e_heh;
  241. end;
  242. Case 7:
  243. mes "[ Class Swapper ]";
  244. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  245. delitem .TCGID,@TCGamount;
  246. mes "Okay.. i will transform you into a High Priest now.";
  247. jobchange 4009;
  248. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  249. close2;
  250. emotion e_heh;
  251. end;
  252. Case 8:
  253. mes "[ Class Swapper ]";
  254. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  255. delitem .TCGID,@TCGamount;
  256. mes "Okay.. i will transform you into a Champion now.";
  257. jobchange 4016;
  258. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  259. close2;
  260. emotion e_heh;
  261. end;
  262. Case 9:
  263. mes "[ Class Swapper ]";
  264. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  265. delitem .TCGID,@TCGamount;
  266. mes "Okay.. i will transform you into a Whitesmith now.";
  267. jobchange 4011;
  268. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  269. close2;
  270. emotion e_heh;
  271. end;
  272. Case 10:
  273. mes "[ Class Swapper ]";
  274. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  275. delitem .TCGID,@TCGamount;
  276. mes "Okay.. i will transform you into a Biochemist now.";
  277. jobchange 4019;
  278. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  279. close2;
  280. emotion e_heh;
  281. end;
  282. Case 11:
  283. mes "[ Class Swapper ]";
  284. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  285. delitem .TCGID,@TCGamount;
  286. mes "Okay.. i will transform you into a Sniper now.";
  287. jobchange 4012;
  288. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  289. close2;
  290. emotion e_heh;
  291. end;
  292. Case 12:
  293. mes "[ Class Swapper ]";
  294. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  295. delitem .TCGID,@TCGamount;
  296. if(Sex == 1 ){
  297. mes "Okay.. i will transform you into a Clown now.";
  298. jobchange 4020;
  299. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  300. }
  301. if(Sex == 0 ){
  302. mes "Okay.. i will transform you into a Gypsy now.";
  303. jobchange 4021;
  304. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  305. }
  306. close2;
  307. emotion e_heh;
  308. end;
  309. }
  310.  
  311. Case 3:
  312. mes "[ Class Swapper ]";
  313. mes "Choose more detail for your desired job class.";
  314. switch (select ("Super Novice:Gunslinger:Ninja:Taekwon:Star Gladiator:Soul Linker")) {
  315. Case 1:
  316. mes "[ Class Swapper ]";
  317. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  318. delitem .TCGID,@TCGamount;
  319. mes "Okay.. i will transform you into a Super Novice now.";
  320. jobchange 23;
  321. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  322. close2;
  323. emotion e_heh;
  324. end;
  325. Case 2:
  326. mes "[ Class Swapper ]";
  327. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  328. delitem .TCGID,@TCGamount;
  329. mes "Okay.. i will transform you into a Gunslinger now.";
  330. jobchange 24;
  331. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  332. close2;
  333. emotion e_heh;
  334. end;
  335. Case 3:
  336. mes "[ Class Swapper ]";
  337. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  338. delitem .TCGID,@TCGamount;
  339. mes "Okay.. i will transform you into a Ninja now.";
  340. jobchange 25;
  341. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  342. close2;
  343. emotion e_heh;
  344. end;
  345. Case 4:
  346. mes "[ Class Swapper ]";
  347. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  348. delitem .TCGID,@TCGamount;
  349. mes "Okay.. i will transform you into a Taekwon now.";
  350. jobchange 4046;
  351. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  352. close2;
  353. emotion e_heh;
  354. end;
  355. Case 5:
  356. mes "[ Class Swapper ]";
  357. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  358. delitem .TCGID,@TCGamount;
  359. mes "Okay.. i will transform you into a Star Gladiator now.";
  360. jobchange 4047;
  361. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  362. close2;
  363. emotion e_heh;
  364. end;
  365. Case 6:
  366. mes "[ Class Swapper ]";
  367. if(countitem(.TCGID) < @TCGamount) goto l_noitem;
  368. delitem .TCGID,@TCGamount;
  369. mes "Okay.. i will transform you into a Soul Linker now.";
  370. jobchange 4049;
  371. dispbottom "Please search for Reset Girl to reset your status to gain back original stats that you should have on this character class.";
  372. close2;
  373. emotion e_heh;
  374. end;
  375. }
  376. Case 4:
  377. mes "[ Class Swapper ]";
  378. mes "Okay...Goodbye!";
  379. close;
  380. }
  381. close;
  382. l_noitem:
  383. mes "[ Class Swapper ]";
  384. mes "Sorry you have to get the Items.";
  385. close;
  386. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement