Jump to content

1 Screenshot

About This File

[Zeny & Cash Gambler NPC v1.2]

Explanation:

/* Zeny & Cash Gambler NPCCreated by: AeromesiVersion 1.21.2 Features:Added in Second Chance Option (Edit .S_Chance to to Enable/Disable the Second Chance)Second chance only applies if you LOSE the gambleEdit .S_ChanceRate to change the % Rate at which players have the opportunity for a Second Chance.Default is set to 50% for a Second Chance and is enabled by default!Also fixed a bug where users could input 0 Zeny or Cash Points, didn't effect anything but the check for an input of 0 needed to be added in.Enjoy 1.2 Hercules! ~ AeromesiVersion: 1.11.1 Features (Massive Update)Control the Winning rates at the bottom of the OnInit.zWinningRate handles the winning rate for Zeny.cWinningRate handles the winning rate for Cash PointsNow you're able to input what you want to bet for Zeny and Cash PointsExample: You have 100 Zeny, you bet 100 Zeny (It takes 100 Zeny from you, in hopes you double your bet, gaining a total of 200 Zeny.Same goes for Cash Points, you spend 50 Cash points in hopes you get 100 Cash Points total.)Special thanks to GmOcean's Script "Slot Machine" for the cutins and wav files for this script.Special thanks to my girlfriend for helping me with the equation, and Max on the Hercules forum for the suggestion!Enjoy another release Hercules!If you like my work, please rep up my profile or consider viewing my Scripting services  */

 

How to install:

Unrar the attachment "zeny_cash_gambler.rar".

Merge "gambler.grf" with your custom GRF so the sound effects and illustrations display correctly.

Install "zeny_cash_gambler.txt" into your servers NPC folder.

Edit the header of the script to your own map coordinates.

 

And after that's all done, enjoy!

 

Remember, if you like my work, it wouldn't hurt to rep me up or view my Scripting Services! ^_^


What's New in Version 1.2   See changelog

Released

  • Version 1.2
  • 1.2 Features:
  • Added in Second Chance Option (Edit .S_Chance to to Enable/Disable the Second Chance)
  • Second chance only applies if you LOSE the gamble
  • Edit .S_ChanceRate to change the % Rate at which players have the opportunity for a Second Chance.
  • Default is set to 50% for a Second Chance and is enabled by default!
  • Also fixed a bug where users could input 0 Zeny or Cash Points, didn't effect anything but the check for an input of 0 needed to be added in.
  • Enjoy 1.2 Hercules! ~ Aeromesi



User Feedback

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.