Habilis

New member
Messages
225
Points
0
Age
36
Location
Montreal, Canada
IRC Nickname
Habilis
Emulator







View File

[Event] Wheel of fortune




Wheel of fortune

Fun event, this particular version is set to accept Zeny as a payment for gambling.

Would like to thank a lot @Myriad for Improving my code!

Package contains:

data.zip data folder to put into your GRF file or straight into data folder.

wheel_of_fortune.txt the script itself.

WheelOfFortune.psd the Photoshop source file, you can edit the prizes pictures if you like. 

This event can be configured to run automatically 

OnClock0800:
OnClock1200:
OnClock1600:
OnClock2000:
OnClock2200:


just change this part of the script,

at what time you want the script to run.

Or, a GM can start this event by running this command :

@wheel_of_fortune start

As a reference,

This is a version of the script using event points as a payment (in case you would like to take a look)

https://pastebin.com/wN6ZjxM0







 
@Habilis Can you put in the PSD to edit the name Lucky Spin? It's because I want to translate into Portuguese.

roleta.png


 
Last edited by a moderator:
Hello Habilis, how to make this as permanent NPC? What lines needed to remove?

 
Could you please update the Event Points version?

Also, ending the event with the command @wheel_of_fortune is not working.

 
Last edited by a moderator:
only works with best emulator hercules master race we are best habilis prime transform no noob emulator
llyUQRI.png


evolutionbr said:
Compartible  with Rathena ?
No, sry, this may not be compatible with rAthena.

As this script was developed and released for Hercules community.

 
Last edited by a moderator:
Hello Habilis, how to make the requirement a TCG Card (7227) instead of Zeny or Points?

I tried to make it like this:

.Zeny_Cost = 1;

And replaced all the Zeny variable to 7227 but the TCG cards is not decreasing when spinning.

Thanks.

 
It is an item so these functions be of help to you

if(countitem(.RequiredItem_id) >= .RequiredItem_qty)


and

Code:
delitem(.RequiredItem_id, .RequiredItem_qty);
 
Last edited by a moderator:
Back
Top