Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.90 KB | None | 0 0
  1. [Permanent, Offensive Items]
  2. desc = "Increases your attack power"
  3. maxitems = 1
  4.  
  5. [[claws]]
  6. name = "Claws of Attack +6"
  7. desc = "All your attacks make +6 damage"
  8. cost = 2400
  9. level = 0
  10. dab = 1 #0=death, 1=alive, 2=both
  11. duration = 1 #0=this round, 1=untill death
  12. max = 1
  13. cfg = "player_attacker"
  14. cmdbuy = ""
  15. cmdactivate = "es wcs damage event_var(userid) event_var(attacker) 6;es wcs_xcentertell event_var(attacker) i_c_dmg_a;es wcs_xcentertell event_var(userid) i_c_dmg_v"
  16.  
  17.  
  18. [[flashup]]
  19. name = "Lightning Flash"
  20. desc = "All your flash grenades will be 30% stronger!"
  21. cost = 2500
  22. level = 0
  23. dab = 1 #0=death, 1=alive, 2=both
  24. duration = 1 #0=this round, 1=untill death
  25. max = 1
  26. cfg = "player_death"
  27. cmdbuy = "es_xset wcs_flasheffect 1;es_keysetvalue WCSuserdata server_var(wcs_userid) flash_target attacker;es_keysetvalue WCSuserdata server_var(wcs_userid) flash_duration 1.3;es_keysetvalue WCSuserdata server_var(wcs_userid) flash_alpha 0"
  28. cmdactivate = "es_keysetvalue WCSuserdata event_var(userid) flash_target 0;es_keysetvalue WCSuserdata event_var(userid) flash_duration 0;es_keysetvalue WCSuserdata event_var(userid) flash_alpha 0"
  29.  
  30. [[maskdeath]]
  31. name = "Mask of Death"
  32. desc = "Gives you 33% of damage you do \nin attack back as health, with a chance \nof 40%"
  33. cost = 3200
  34. level = 0
  35. dab = 1 #0=death, 1=alive, 2=both
  36. duration = 1 #0=this round, 1=untill death
  37. max = 1
  38. cfg = "player_attacker"
  39. cmdbuy = ""
  40. shopalias_msk = "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg / 3;es wcs_decimal wcs_dmg server_var(wcs_dmg);if (server_var(wcs_dmg) > 0) then wcs_setfx health event_var(attacker) + server_var(wcs_dmg) 0;if (server_var(wcs_dmg) > 0) then wcs_xcentertell event_var(attacker) i_c_extrahp dmg server_var(wcs_dmg)"
  41. cmdactivate = "if (server_var(wcs_dice) <= 40) then wcs_xalias shopalias_msk"
  42.  
  43. [[orb]]
  44. name = "Orb of Frost"
  45. desc = "You have a 40% chance to cause an enemy to move at 75% speed for 2 seconds"
  46. cost = 3500
  47. level = 0
  48. dab = 1 #0=death, 1=alive, 2=both
  49. duration = 1 #0=this round, 1=untill death
  50. max = 1
  51. cfg = "player_attacker"
  52. cmdbuy = ""
  53. cmdactivare = "if (server_var(wcs_dice) <= 40) then wcs_xalias shopalias_orbfrost2"
  54. shopalias_orbfrost2 = "es_xset wcs_tmp3 0; es wcsgroup get orbalrdyhit wcs_tmp3 event_var(userid); if (server_var(wcs_tmp3) = 0) then wcs_dalias shopalias_orbfrost1 event_var(userid); es_xset wcs_tmp4 0; es wcsgroup get orbfrost wcs_tmp4 event_var(userid); es wcs_setfx speed event_var(userid) = 0.75 2;es_delayed 2 es wcs_setfx speed event_var(userid) = server_var(wcs_tmp4) 0"
  55. shopalias_orbfrost1 = "es wcsgroup set orbalrdyhit server_var(wcs_tmp1) 1; es playerget speed wcs_speed server_var(wcs_tmp1); es wcsgroup set orbfrost server_var(wcs_tmp1) server_var(wcs_speed)"
  56.  
  57. [[fireball]]
  58. name = "FireBall (+8dmg)"
  59. desc = "Burn an enemy with FireBall and do +8 extra damage"
  60. cost = 4000
  61. level = 0
  62. dab = 1 #0=death, 1=alive, 2=both
  63. duration = 1 #0=this round, 1=untill death
  64. max = 1
  65. cfg = "player_attacker"
  66. cmdbuy = ""
  67. cmdactivate = "es wcs damage event_var(userid) event_var(attacker) 8;es wcs_xcentertell event_var(attacker) i_c_fireball;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/xfireball3.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255"
  68.  
  69. [[flamethrower]]
  70. name = "Flamethrower (3sec)"
  71. desc = "Burn your enemy for 3 seconds, 30% chance"
  72. cost = 5000
  73. level = 0
  74. dab = 1 #0=death, 1=alive, 2=both
  75. duration = 1 #0=this round, 1=untill death
  76. max = 1
  77. cfg = "player_attacker"
  78. cmdbuy = ""
  79. shopalias_flame = "es wcs_setfx burn event_var(userid) = 1 3;es wcs_xcentertell event_var(attacker) i_c_flamethrower;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/xfireball3.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255"
  80. cmdactivate = "if (server_var(wcs_dice) <= 30) then wcs_xalias shopalias_flame"
  81.  
  82. [[blowup]]
  83. name = "Blow-up Baby (suicide, 70dmg)"
  84. desc = "50% chance to explode when you die and do 35 dmg in \nan area of 150 ft"
  85. cost = 7000
  86. level = 0
  87. dab = 1 #0=death, 1=alive, 2=both
  88. duration = 1 #0=this round, 1=untill death
  89. max = 1
  90. cfg = "player_death"
  91. cmdbuy = ""
  92. shopalias_blup = "es_xset wcs_magnitude 70;es_xset wcs_radius 150;es_xdoblock wcs/tools/ultimates/default/wcs_ulti_suicide"
  93. cmdactivate = "if (server_var(wcs_dice) <= 50) then wcs_xalias shopalias_blup"
  94.  
  95. [Permanent, Defensive Items]
  96. desc = "Protects you from damage"
  97. maxitems = 3
  98.  
  99. [[moleprot]]
  100. name = "Mole Protectant"
  101. desc = "You will be immune to attacks done by a mole \nand reflect 1-5 damage per shot"
  102. cost = 1000
  103. level = 0
  104. dab = 1 #0=death, 1=alive, 2=both
  105. duration = 1 #0=this round, 1=untill death
  106. max = 1
  107. cfg = "player_victim"
  108. cmdbuy = ""
  109. cmdactivate = "es wcsgroup get ismole wcs_ismole event_var(attacker);if (server_var(wcs_ismole) = 1) wcs_xalias shopalias_moleprot"
  110. shopalias_moleprot = "es_rand wcs_dmg 1 5;es playerset healthadd event_var(userid) event_var(dmg_health);es wcs damage event_var(attacker) event_var(userid) server_var(wcs_dmg)"
  111.  
  112. [[necklace]]
  113. name = "Necklace of Immunity"
  114. desc = "You will be immune enemy ultimates"
  115. cost = 1200
  116. level = 0
  117. dab = 1 #0=death, 1=alive, 2=both
  118. duration = 1 #0=this round, 1=untill death
  119. max = 1
  120. cfg = "player_buy"
  121. cmdbuy = "es wcs_setfx ulti_immunity server_var(wcs_userid) = 1 0"
  122. cmdactivate = ""
  123.  
  124. [[anti]]
  125. name = "Anti Serpent Ward Potion"
  126. desc = "You become immune to serpent wards until you die"
  127. cost = 1000
  128. level = 0
  129. dab = 1 #0=death, 1=alive, 2=both
  130. duration = 1 #0=this round, 1=untill death
  131. max = 0
  132. cfg = "player_buy"
  133. cmdbuy = "es wcsgroup set swardinvul server_var(wcs_userid) 1;es wcs_xtell server_var(wcs_userid) i_antiward1"
  134. cmdactivate = ""
  135.  
  136. [[heavyboots]]
  137. name = "Heavy boots of Armor (+50/+100)"
  138. desc = "You will walk slower, but get +50HP and +100 armor"
  139. cost = 1600
  140. level = 0
  141. dab = 1 #0=death, 1=alive, 2=both
  142. duration = 1 #0=this round, 1=untill death
  143. max = 1
  144. cfg = "player_spawn"
  145. cmdbuy = "es wcs_setfx speed server_var(wcs_userid) - 0.3 0;es wcs_setfx health server_var(wcs_userid) + 50 0;es wcs give server_var(wcs_userid) item_assaultsuit;es wcs_setfx gravity server_var(wcs_userid) + 0.2 0"
  146. cmdactivate = "es wcs_setfx speed event_var(userid) - 0.3 0;es wcs_setfx health event_var(userid) + 50 0;es wcs give event_var(userid) item_assaultsuit;es wcs_setfx gravity event_var(userid) + 0.2 0"
  147.  
  148. [[helmview]]
  149. name = "Helm of Clear View"
  150. desc = "Protects you from being flashed by others, \nreduces the blind effect by 50%"
  151. cost = 2000
  152. level = 0
  153. dab = 1 #0=death, 1=alive, 2=both
  154. duration = 1 #0=this round, 1=untill death
  155. max = 1
  156. cfg = "player_blind"
  157. cmdbuy = "es wcsgroup set noflash server_var(wcs_userid) 1"
  158. cmdactivate = ""
  159.  
  160. [[helmp]]
  161. name = "Helm of Protection"
  162. desc = "Reduces damage by 4 HP if you get hit"
  163. cost = 3000
  164. level = 0
  165. dab = 1 #0=death, 1=alive, 2=both
  166. duration = 1 #0=this round, 1=untill death
  167. max = 1
  168. cfg = "player_victim"
  169. cmdbuy = ""
  170. cmdactivate = "if (event_var(dmg_health) > 5) then wcs_setfx health event_var(userid) + 4 0;if (event_var(dmg_health) > 5) then wcs_xcentertell event_var(userid) i_c_helmofprotection_prot"
  171.  
  172. [[helme]]
  173. name = "Helm of Excellence"
  174. desc = "Almost immune to headshots. \n(need more than 125HP)"
  175. cost = 3000
  176. level = 0
  177. dab = 1 #0=death, 1=alive, 2=both
  178. duration = 1 #0=this round, 1=untill death
  179. max = 1
  180. cfg = "player_victim"
  181. cmdbuy = ""
  182. cmdactivate = "if (event_var(hitgroup) = 1) then wcs_setfx health event_var(userid) + event_var(dmg_health) 0;if (event_var(hitgroup) = 1) then wcs_xtell event_var(userid) i_helmofexcellence_prot"
  183.  
  184. [Permanent Enchantments]
  185. desc = "Powers you up, until death"
  186. maxitems = 3
  187.  
  188. [[secweapon]]
  189. name = "Secondary Weapon Enhancer (one 50clip)"
  190. desc = "Gives you a full 50 bullet clip for your \nsecondary weapon, until death \nDont reload your weapon, or you \nwill get the default clip back."
  191. cost = 400
  192. level = 0
  193. dab = 1 #0=death, 1=alive, 2=both
  194. duration = 1 #0=this round, 1=untill death
  195. max = 1
  196. cfg = "player_spawn"
  197. cmdbuy = "es_keysetvalue WCSuserdata server_var(wcs_userid) 2ndclip 0;es wcs_setfx 2ndclip server_var(wcs_userid) = 50 0"
  198. cmdactivate = "es_delayed 5 es_keysetvalue WCSuserdata event_var(userid) 2ndclip 0;es wcs_setfx 2ndclip event_var(userid) = 50 0"
  199.  
  200. [[dust]]
  201. name = "Dust of Appearance"
  202. desc = "If you hit an invisible enemy (shot, grenade, skill), \nhe becomes visible!"
  203. cost = 1500
  204. level = 0
  205. dab = 1 #0=death, 1=alive, 2=both
  206. duration = 1 #0=this round, 1=untill death
  207. max = 1
  208. cfg = "player_attacker"
  209. cmdbuy = ""
  210. cmdactivate = "es wcs_getcolor event_var(userid) wcs_red wcs_green wcs_blue wcs_alpha;if (event_var(es_userteam) = 2) then es_delayed .1 playerset color event_var(userid) 255 0 0 255;if (event_var(es_userteam) = 3) then es_delayed .1 playerset color event_var(userid) 0 255 0 255;es_delayed 2 playerset color event_var(userid) server_var(wcs_red) server_var(wcs_green) server_var(wcs_blue) server_var(wcs_alpha)"
  211.  
  212. [[amulet]]
  213. name = "Amulet of the Cat"
  214. desc = "Nobody hears your steps (press Ctrl once to activate) \nYou can dis/enable it by jumping. \nDoesn't work for speed-races like Predator."
  215. cost = 1500
  216. level = 0
  217. dab = 1 #0=death, 1=alive, 2=both
  218. duration = 1 #0=this round, 1=untill death
  219. max = 1
  220. cfg = "player_buy"
  221. cmdbuy = "es wcsgroup set silentwalk server_var(wcs_userid) 1;es_setplayerprop server_var(wcs_userid) CBasePlayer.m_fFlags 8;es_tell server_var(wcs_userid) #multi #lightgreenDisable #greenAmulet of Cat #lightgreenby saying #green!disable;es_tell event_var(userid) #multi #lightgreenReenable #greenAmulet of Cat #lightgreenby saying #green!enable;es_doblock wcs/tools/amulet/loop"
  222. cmdactivate = ""
  223.  
  224.  
  225. [[sockf50]]
  226. name = "Sock of the Feather (50%)"
  227. desc = "Lower gravity, 50%, until death"
  228. cost = 2500
  229. level = 0
  230. dab = 1 #0=death, 1=alive, 2=both
  231. duration = 1 #0=this round, 1=untill death
  232. max = 1
  233. cfg = "player_spawn"
  234. cmdbuy = "es wcs_setfx gravity server_var(wcs_userid) = 0.5 0"
  235. cmdactivate = "es wcs_setfx gravity event_var(userid) = 0.5 0"
  236.  
  237. [[bootspeed20]]
  238. name = "Boots of Speed"
  239. desc = "You can run 20% faster, until death, \nstackable up to 60%"
  240. cost = 3000
  241. level = 0
  242. dab = 1 #0=death, 1=alive, 2=both
  243. duration = 1 #0=this round, 1=untill death
  244. max = 2
  245. cfg = "player_spawn"
  246. cmdbuy = "es wcs_setfx speed server_var(wcs_userid) + 0.2 0"
  247. cmdactivate = "es wcs_setfx speed event_var(userid) + 0.2 0"
  248.  
  249. [[cloak75]]
  250. name = "Cloak of Shadows Level 2"
  251. desc = "Gives you invisibility, 67% invisible, until death"
  252. cost = 3000
  253. level = 0
  254. dab = 1 #0=death, 1=alive, 2=both
  255. duration = 1 #0=this round, 1=untill death
  256. max = 1
  257. cfg = "player_spawn"
  258. cmdbuy = "es wcs_setfx invisp event_var(userid) = 67 0"
  259. cmdactivate = "es_delayed 5 es wcs_setfx invisp event_var(userid) = 67 0"
  260.  
  261. [[respawn]]
  262. name = "Scroll of Respawning"
  263. desc = "Buy this when you are dead or alive, lets you \nrespawn now or next death"
  264. cost = 6000
  265. level = 0
  266. dab = 2 #0=death, 1=alive, 2=both
  267. duration = 1 #0=this round, 1=untill death
  268. max = 1
  269. cfg = "player_death"
  270. cmdbuy = "es playerget isdead wcs_tmp server_var(wcs_userid);if (server_var(wcs_tmp) = 1) then es_xdelayed 2 wcs spawn server_var(wcs_userid);if (server_var(wcs_tmp) = 1) then es_xkeysetvalue WCSuserdata server_var(wcs_userid) respawn 0;if (server_var(wcs_tmp) = 0) then es_xkeysetvalue WCSuserdata server_var(wcs_userid) respawn 1"
  271. cmdactivate = "es_keygetvalue wcs_respawn WCSuserdata event_var(userid) respawn;if (server_var(wcs_respawn) = 1) then es_xkeysetvalue WCSuserdata event_var(userid) respawn 0;if (server_var(wcs_respawn) = 1) then es_xdelayed 5 wcs spawn event_var(userid);if (server_var(wcs_respawn) = 1) then es_xdelayed 4.5 wcs_xtell event_var(userid) i_respawn"
  272.  
  273. [[longjump]]
  274. name = "Longjump"
  275. desc = "Makes your jumps go further"
  276. cost = 4000
  277. level = 0
  278. dab = 1 #0=death, 1=alive, 2=both
  279. duration = 1 #0=this round, 1=untill death
  280. max = 1
  281. cfg = "player_spawn"
  282. cmdbuy = "es wcs_setfx longjump server_var(wcs_userid) = 1.2 0;es wcs_xtell server_var(wcs_userid) i_longjump"
  283. cmdactivate = "es wcs_setfx longjump event_var(userid) = 1.2 0;es wcs_xtell event_var(userid) i_longjump"
  284. #cmdbuy = "es_keysetvalue WCSuserdata server_var(wcs_userid) longjump 1.2;es wcs_xtell server_var(wcs_userid) i_longjump"
  285. #cmdactivate = "es_keysetvalue WCSuserdata event_var(userid) longjump 1.2;es wcs_xtell event_var(userid) i_longjump"
  286.  
  287.  
  288.  
  289. [Permanent XP and Health Items]
  290. desc = "Boots your health or gives XP"
  291. maxitems = 3
  292.  
  293. [[ringarm120]]
  294. name = "Ring of Armor (+120)"
  295. desc = "Gives you 120 armor. (120HP in DOD:S)"
  296. cost = 1200
  297. level = 0
  298. dab = 1 #0=death, 1=alive, 2=both
  299. duration = 1 #0=this round, 1=untill death
  300. max = 2
  301. cfg = "player_spawn"
  302. cmdbuy = "es playerset armoradd server_var(wcs_userid) 120"
  303. cmdactivate = "es playerset armoradd event_var(userid) 120"
  304.  
  305. [[morexp]]
  306. name = "Book of Death Experience (+20XP)"
  307. desc = "Get 20 XP extra for killing an enemy"
  308. cost = 2000
  309. level = 0
  310. dab = 1 #0=death, 1=alive, 2=both
  311. duration = 1 #0=this round, 1=untill death
  312. max = 1
  313. cfg = "player_kill"
  314. cmdbuy = ""
  315. cmdactivate = "es wcs_givexp event_var(attacker) 20 0 1;es wcs_xtell event_var(attacker) i_bookofdeath"
  316.  
  317. [[bookofxp]]
  318. name = "Book of Experience (+75/+30 XP)"
  319. desc = "Get 75 XP on buy and 30 XP for every round \nyou survive with this item"
  320. cost = 3500
  321. level = 0
  322. dab = 1 #0=death, 1=alive, 2=both
  323. duration = 1 #0=this round, 1=untill death
  324. max = 1
  325. cfg = "player_spawn"
  326. cmdbuy = "es wcs_givexp server_var(wcs_userid) 75 0 1;es wcs_xtell server_var(wcs_userid) i_bookofexper_buy"
  327. cmdactivate = "es wcs_givexp event_var(userid) 30 0 1;es wcs_xtell event_var(userid) i_bookofexper_round"
  328.  
  329. [[periapthp50]]
  330. name = "Periapt of Health (+50)"
  331. desc = "Gives you 50 HP on buy, and every round until death"
  332. cost = 3500
  333. level = 0
  334. dab = 1 #0=death, 1=alive, 2=both
  335. duration = 1 #0=this round, 1=untill death
  336. max = 1
  337. cfg = "player_spawn"
  338. cmdbuy = "es wcs_setfx health server_var(wcs_userid) + 50 0"
  339. cmdactivate = "es wcs_setfx health event_var(userid) + 50 0"
  340.  
  341. [[cannibalism]]
  342. name = "Book of Cannibalism (10-20HP/each kill)"
  343. desc = "You gain 10-20HP back for each kill"
  344. cost = 4000
  345. level = 0
  346. dab = 1 #0=death, 1=alive, 2=both
  347. duration = 1 #0=this round, 1=untill death
  348. max = 1
  349. cfg = "player_kill"
  350. cmdbuy = ""
  351. cmdactivate = "es_xrand wcs_rand 10 20;es wcs_setfx health event_var(attacker) + server_var(wcs_rand) 0;es wcs_xtell event_var(attacker) i_bookofcannibal rand server_var(wcs_rand)"
  352.  
  353. [Once Use Enchantments]
  354. desc = "Items which stay one round"
  355. maxitems = 3
  356.  
  357. [[defboots]]
  358. name = "Off-The-Shelf Boots"
  359. desc = "Default boots, bring back the natural gravity."
  360. cost = 200
  361. level = 0
  362. dab = 1 #0=death, 1=alive, 2=both
  363. duration = 0 #0=this round, 1=untill death
  364. max = 0
  365. cfg = "player_buy"
  366. cmdbuy = "es wcs_setfx gravity server_var(wcs_userid) = 1.0 0"
  367. cmdactivate = ""
  368.  
  369. [[disguiser]]
  370. name = "Disguiser"
  371. desc = "You look like your enemy! Only one round"
  372. cost = 2000
  373. level = 0
  374. dab = 1 #0=death, 1=alive, 2=both
  375. duration = 0 #0=this round, 1=untill death
  376. max = 1
  377. cfg = "player_buy"
  378. cmdbuy = "es wcs_setfx disguiser server_var(wcs_userid) = 1 0"
  379. cmdactivate = ""
  380.  
  381.  
  382.  
  383. [[ringregeneration]]
  384. name = "Ring of Regeneration +2"
  385. desc = "Gives 2hp every 2 seconds \n(max. 200HP, 30 times, one round, stackable)"
  386. cost = 4500
  387. level = 0
  388. dab = 1 #0=death, 1=alive, 2=both
  389. duration = 0 #0=this round, 1=untill death
  390. max = 2
  391. cfg = "player_buy"
  392. cmdbuy = "es_keysetvalue WCSuserdata server_var(wcs_userid) regeneration 1;es_keysetvalue WCSuserdata server_var(wcs_userid) regen_round server_var(wcs_roundcounter);es wcs_regeneration server_var(wcs_userid) 2 2 200 300 0"
  393. cmdactivate = ""
  394.  
  395. [[lifepres]]
  396. name = "Life Preserver (+50/100)"
  397. desc = "Gives a health boost +50 and \narmor +100 (On DOD:S, gives +120 HP)"
  398. cost = 3500
  399. level = 0
  400. dab = 1 #0=death, 1=alive, 2=both
  401. duration = 0 #0=this round, 1=untill death
  402. max = 1
  403. cfg = "player_buy"
  404. cmdbuy = "es wcs_setfx health server_var(wcs_userid) + 50 0;if(server_var(wcs_game) = cstrike) then es_xgive server_var(wcs_userid) item_assaultsuit;if(server_var(wcs_game) != cstrike) then wcs_setfx health server_var(wcs_userid) + 120 0;if (server_var(wcs_game) = server_var(wcs_game_css)) then wcs_xtell server_var(wcs_userid) i_lifepreservers"
  405. cmdactivate = ""
  406.  
  407.  
  408. [[stonehp]]
  409. name = "Stone of Health (+50/+100)"
  410. desc = "Gives +50 healthpoints. You can say 'health' once, \nto get additional 100 HP, lost on death"
  411. cost = 6900
  412. level = 0
  413. dab = 1 #0=death, 1=alive, 2=both
  414. duration = 1 #0=this round, 1=untill death
  415. max = 1
  416. cfg = "player_say"
  417. cmdbuy = "es wcs_setfx health server_var(wcs_userid) + 50 0"
  418. cmdactivate = ""
  419.  
  420. [[mole]]
  421. name = "Mole"
  422. desc = "Teleported to enemy spawn at the start of the \nnext round and your skin is changed to look like the enemy"
  423. cost = 9000
  424. level = 0
  425. dab = 2 #0=death, 1=alive, 2=both
  426. duration = 0 #0=this round, 1=untill death
  427. max = 1
  428. cfg = "player_buy"
  429. cmdbuy = "es_tell event_var(userid) You will be a Mole in 5 seconds;es_delayed 5 es wcs_mole_activate event_var(userid)"
  430. cmdactivate = ""
  431.  
  432. [Once Use Tomes]
  433. desc = "Tomes which stay one round"
  434. maxitems = 100
  435.  
  436. [[tomexpo100]]
  437. name = "Tome of opportunity (+50xp or +20xp)"
  438. desc = "Gives you +50xp if your level is \nlower (max skillevel) + 2, otherwise it \ngives +20xp"
  439. cost = 500
  440. level = 0
  441. dab = 2 #0=death, 1=alive, 2=both
  442. duration = 0 #0=this round, 1=untill death
  443. max = 20
  444. cfg = "player_buy"
  445. cmdbuy = "es_xset wcs_skills 0;es wcs_getinfo server_var(wcs_userid) wcs_skills level race;if (server_var(wcs_skills) < 8) then wcs_givexp server_var(wcs_userid) 50;if (server_var(wcs_skills) > 8) then es_xif (server_var(wcs_skills) < 16) then wcs_xalias shopalias_tomeop50;if (server_var(wcs_skills) > 16) then wcs_givexp server_var(wcs_userid) 20"
  446. shopalias_tomeop50 = "if (server_var(wcs_dice) <= 50) then wcs_givexp server_var(wcs_userid) 50;if (server_var(wcs_dice) > 50) then wcs_givexp server_var(wcs_userid) 20"
  447. cmdactivate = ""
  448.  
  449. [[tomexp100]]
  450. name = "Tome of Experience (+100xp)"
  451. desc = "Gives you 100 experience points"
  452. cost = 2500
  453. level = 0
  454. dab = 2 #0=death, 1=alive, 2=both
  455. duration = 0 #0=this round, 1=untill death
  456. max = 20
  457. cfg = "player_buy"
  458. cmdbuy = "es wcs_givexp server_var(wcs_userid) 100 0"
  459. cmdactivate = ""
  460.  
  461. [[tomexp200]]
  462. name = "Big Tome of XP (+200xp)"
  463. desc = "Gives you 200 XP"
  464. cost = 4000
  465. level = 0
  466. dab = 2 #0=death, 1=alive, 2=both
  467. duration = 0 #0=this round, 1=untill death
  468. max = 20
  469. cfg = "player_buy"
  470. cmdbuy = "es wcs_givexp server_var(wcs_userid) 200 0"
  471. cmdactivate = ""
  472.  
  473.  
  474. [[tomexp500]]
  475. name = "Huge Tome of XP (+500xp)"
  476. desc = "Gives you 500 XP"
  477. cost = 10000
  478. level = 0
  479. dab = 2 #0=death, 1=alive, 2=both
  480. duration = 0 #0=this round, 1=untill death
  481. max = 20
  482. cfg = "player_buy"
  483. cmdbuy = "es wcs_givexp server_var(wcs_userid) 500 0"
  484. cmdactivate = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement