January 17, 2018, 08:04:49 AM

Author Topic: [Item] - Book of Insight  (Read 33 times)

Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 918
  • Country: dk
  • Content creator for the new WCS version by Kami.
[Item] - Book of Insight
« on: January 11, 2018, 01:16:25 AM »
Much like Scroll of Knowledge, the Book of Insight also grants the buyer a level up, however with the Tome of Insight you have the option to buy it at an even higher price, but with a 33% chance to receive two levels instead.

I hope these two items will fall in your taste.


(◠‿◠)

Code: [Select]
[[TomeInsight]]
name        = "Book of Insight"
desc        = "Receive either 1 or 2 levels in your current race (33% chance to get 2 levels)"
cost        = 16000
level       = 0
dab         = 2
duration    = 0
max         = 999
cfg         = "player_buy"
cmdbuy      = "es_xrand wcs_shoprand 1 3;if (server_var(wcs_shoprand) == 1) then wcs_xalias shopalias_insight1;if (server_var(wcs_shoprand) != 1) then wcs_xalias shopalias_insight2"
shopalias_insight1 = "es wcs_givelevel server_var(wcs_userid) 2;es_tell server_var(wcs_userid) #multi #green [WCS]: #lightgreen Experience - You've recieved 2 levels!"
shopalias_insight2 = "es wcs_givelevel server_var(wcs_userid) 1;es_tell server_var(wcs_userid) #multi #green [WCS]: #lightgreen Experience - You've recieved 1 level!"
cmdactivate = ""
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."