Several days ago I was asked by one of my players how I implemented the "random" rewards given by my random reward vendor.
I have pasted the lines on hastebin, for use in anyones editor, be sure to edit the variables etc, to your game's needs.
http://hastebin.com/obadujajax.sql
It is based on the character level as well as how many rewards have been collected by the player, and implements a 15 minute timer, before the next reward can be claimed.
I have pasted the lines on hastebin, for use in anyones editor, be sure to edit the variables etc, to your game's needs.
http://hastebin.com/obadujajax.sql
It is based on the character level as well as how many rewards have been collected by the player, and implements a 15 minute timer, before the next reward can be claimed.