Advertisement
N1E7R4V

Class

Jul 17th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.64 KB | None | 0 0
  1. --Обыватель
  2. function class1(id)
  3. SetPlayerStrength(id,50);
  4. SetPlayerDexterity(id,50);
  5. SetPlayerSkillWeapon(id,SKILL_1H,20);
  6. SetPlayerSkillWeapon(id,SKILL_2H,20);
  7. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  8. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  9. SetPlayerMana(id,0);
  10. SetPlayerMaxMana(id,0);
  11. SetPlayerMagicLevel(id,0);
  12. SetPlayerHealth(id,500);
  13. SetPlayerMaxHealth(id,500);
  14. end
  15. --Воин
  16. function class2(id)
  17. SetPlayerStrength(id,50);
  18. SetPlayerDexterity(id,50);
  19. SetPlayerSkillWeapon(id,SKILL_1H,30);
  20. SetPlayerSkillWeapon(id,SKILL_2H,30);
  21. SetPlayerSkillWeapon(id,SKILL_CBOW,30);
  22. SetPlayerSkillWeapon(id,SKILL_BOW,30);
  23. SetPlayerMana(id,0);
  24. SetPlayerMaxMana(id,0);
  25. SetPlayerMagicLevel(id,0);
  26. SetPlayerHealth(id,500);
  27. SetPlayerMaxHealth(id,500);
  28. end
  29. --Матерый Воин
  30. function class3(id)
  31. SetPlayerStrength(id,50);
  32. SetPlayerDexterity(id,50);
  33. SetPlayerSkillWeapon(id,SKILL_1H,45);
  34. SetPlayerSkillWeapon(id,SKILL_2H,45);
  35. SetPlayerSkillWeapon(id,SKILL_CBOW,40);
  36. SetPlayerSkillWeapon(id,SKILL_BOW,40);
  37. SetPlayerMana(id,0);
  38. SetPlayerMaxMana(id,0);
  39. SetPlayerMagicLevel(id,0);
  40. SetPlayerHealth(id,500);
  41. SetPlayerMaxHealth(id,500);
  42. end
  43. --Опытный Воин
  44. function class4(id)
  45. SetPlayerStrength(id,50);
  46. SetPlayerDexterity(id,50);
  47. SetPlayerSkillWeapon(id,SKILL_1H,60);
  48. SetPlayerSkillWeapon(id,SKILL_2H,60);
  49. SetPlayerSkillWeapon(id,SKILL_CBOW,50);
  50. SetPlayerSkillWeapon(id,SKILL_BOW,50);
  51. SetPlayerMana(id,0);
  52. SetPlayerMaxMana(id,0);
  53. SetPlayerMagicLevel(id,0);
  54. SetPlayerHealth(id,500);
  55. SetPlayerMaxHealth(id,500);
  56. end
  57. --Мастер
  58. function class5(id)
  59. SetPlayerStrength(id,50);
  60. SetPlayerDexterity(id,50);
  61. SetPlayerSkillWeapon(id,SKILL_1H,75);
  62. SetPlayerSkillWeapon(id,SKILL_2H,75);
  63. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  64. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  65. SetPlayerMana(id,0);
  66. SetPlayerMaxMana(id,0);
  67. SetPlayerMagicLevel(id,0);
  68. SetPlayerHealth(id,500);
  69. SetPlayerMaxHealth(id,500);
  70. end
  71. --Послушник
  72. function class6(id)
  73. SetPlayerStrength(id,50);
  74. SetPlayerDexterity(id,50);
  75. SetPlayerSkillWeapon(id,SKILL_1H,20);
  76. SetPlayerSkillWeapon(id,SKILL_2H,25);
  77. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  78. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  79. SetPlayerMana(id,50);
  80. SetPlayerMaxMana(id,50);
  81. SetPlayerMagicLevel(id,0);
  82. SetPlayerHealth(id,500);
  83. SetPlayerMaxHealth(id,500);
  84. end
  85. --Маг-Ученик
  86. function class7(id)
  87. SetPlayerStrength(id,50);
  88. SetPlayerDexterity(id,50);
  89. SetPlayerSkillWeapon(id,SKILL_1H,20);
  90. SetPlayerSkillWeapon(id,SKILL_2H,30);
  91. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  92. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  93. SetPlayerMana(id,100);
  94. SetPlayerMaxMana(id,100);
  95. SetPlayerMagicLevel(id,1);
  96. SetPlayerHealth(id,500);
  97. SetPlayerMaxHealth(id,500);
  98. end
  99. --Маг второго круга
  100. function class8(id)
  101. SetPlayerStrength(id,50);
  102. SetPlayerDexterity(id,50);
  103. SetPlayerSkillWeapon(id,SKILL_1H,20);
  104. SetPlayerSkillWeapon(id,SKILL_2H,30);
  105. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  106. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  107. SetPlayerMana(id,200);
  108. SetPlayerMaxMana(id,200);
  109. SetPlayerMagicLevel(id,2);
  110. SetPlayerHealth(id,500);
  111. SetPlayerMaxHealth(id,500);
  112. end
  113. --Маг третьего круга
  114. function class9(id)
  115. SetPlayerStrength(id,50);
  116. SetPlayerDexterity(id,50);
  117. SetPlayerSkillWeapon(id,SKILL_1H,20);
  118. SetPlayerSkillWeapon(id,SKILL_2H,40);
  119. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  120. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  121. SetPlayerMana(id,300);
  122. SetPlayerMaxMana(id,300);
  123. SetPlayerMagicLevel(id,3);
  124. SetPlayerHealth(id,500);
  125. SetPlayerMaxHealth(id,500);
  126. end
  127. --Маг четвертого круга
  128. function class10(id)
  129. SetPlayerStrength(id,50);
  130. SetPlayerDexterity(id,50);
  131. SetPlayerSkillWeapon(id,SKILL_1H,20);
  132. SetPlayerSkillWeapon(id,SKILL_2H,40);
  133. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  134. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  135. SetPlayerMana(id,400);
  136. SetPlayerMaxMana(id,400);
  137. SetPlayerMagicLevel(id,4);
  138. SetPlayerHealth(id,500);
  139. SetPlayerMaxHealth(id,500);
  140. end
  141. --Маг пятого круга
  142. function class11(id)
  143. SetPlayerStrength(id,50);
  144. SetPlayerDexterity(id,50);
  145. SetPlayerSkillWeapon(id,SKILL_1H,20);
  146. SetPlayerSkillWeapon(id,SKILL_2H,40);
  147. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  148. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  149. SetPlayerMana(id,500);
  150. SetPlayerMaxMana(id,500);
  151. SetPlayerMagicLevel(id,5);
  152. SetPlayerHealth(id,500);
  153. SetPlayerMaxHealth(id,500);
  154. end
  155. --Магистр
  156. function class12(id)
  157. SetPlayerStrength(id,50);
  158. SetPlayerDexterity(id,50);
  159. SetPlayerSkillWeapon(id,SKILL_1H,20);
  160. SetPlayerSkillWeapon(id,SKILL_2H,40);
  161. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  162. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  163. SetPlayerMana(id,600);
  164. SetPlayerMaxMana(id,600);
  165. SetPlayerMagicLevel(id,6);
  166. SetPlayerHealth(id,500);
  167. SetPlayerMaxHealth(id,500);
  168. end
  169. --Младший страж
  170. function class13(id)
  171. SetPlayerStrength(id,50);
  172. SetPlayerDexterity(id,50);
  173. SetPlayerSkillWeapon(id,SKILL_1H,30);
  174. SetPlayerSkillWeapon(id,SKILL_2H,30);
  175. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  176. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  177. SetPlayerMana(id,50);
  178. SetPlayerMaxMana(id,50);
  179. SetPlayerMagicLevel(id,0);
  180. SetPlayerHealth(id,500);
  181. SetPlayerMaxHealth(id,500);
  182. end
  183. --Старший Страж
  184. function class14(id)
  185. SetPlayerStrength(id,50);
  186. SetPlayerDexterity(id,50);
  187. SetPlayerSkillWeapon(id,SKILL_1H,30);
  188. SetPlayerSkillWeapon(id,SKILL_2H,60);
  189. SetPlayerSkillWeapon(id,SKILL_CBOW,20);
  190. SetPlayerSkillWeapon(id,SKILL_BOW,20);
  191. SetPlayerMana(id,100);
  192. SetPlayerMaxMana(id,100);
  193. SetPlayerMagicLevel(id,1);
  194. SetPlayerHealth(id,500);
  195. SetPlayerMaxHealth(id,500);
  196. end
  197. --Храмовник
  198. function class15(id)
  199. SetPlayerStrength(id,50);
  200. SetPlayerDexterity(id,50);
  201. SetPlayerSkillWeapon(id,SKILL_1H,45);
  202. SetPlayerSkillWeapon(id,SKILL_2H,65);
  203. SetPlayerSkillWeapon(id,SKILL_CBOW,30);
  204. SetPlayerSkillWeapon(id,SKILL_BOW,30);
  205. SetPlayerMana(id,150);
  206. SetPlayerMaxMana(id,150);
  207. SetPlayerMagicLevel(id,2);
  208. SetPlayerHealth(id,500);
  209. SetPlayerMaxHealth(id,500);
  210. end
  211. --Кор Страж
  212. function class16(id)
  213. SetPlayerStrength(id,50);
  214. SetPlayerDexterity(id,50);
  215. SetPlayerSkillWeapon(id,SKILL_1H,70);
  216. SetPlayerSkillWeapon(id,SKILL_2H,70);
  217. SetPlayerSkillWeapon(id,SKILL_CBOW,30);
  218. SetPlayerSkillWeapon(id,SKILL_BOW,30);
  219. SetPlayerMana(id,200);
  220. SetPlayerMaxMana(id,200);
  221. SetPlayerMagicLevel(id,3);
  222. SetPlayerHealth(id,500);
  223. SetPlayerMaxHealth(id,500);
  224. end
  225. --Тестовый
  226. function class17(id)
  227. SetPlayerStrength(id,5000);  
  228. SetPlayerDexterity(id,5000);
  229. SetPlayerSkillWeapon(id,SKILL_1H,100);
  230. SetPlayerSkillWeapon(id,SKILL_2H,100);
  231. SetPlayerSkillWeapon(id,SKILL_CBOW,100);
  232. SetPlayerSkillWeapon(id,SKILL_BOW,100);
  233. SetPlayerMana(id,2000);
  234. SetPlayerMaxMana(id,2000);  
  235. SetPlayerMagicLevel(id,6);
  236. SetPlayerHealth(id,50000);
  237. SetPlayerMaxHealth(id,50000);
  238. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement