Viewing Item

#21576: Lucky_Scratch_Off

Item ID 21576 For Sale No
Identifier Lucky Scratch Off Credit Price Not For Sale
Name Lucky_Scratch_Off
NPC Buy 20 Weight 1
NPC Sell 10 Weapon Level 0
Range 0 Defense 0
Slots 0 Refineable No
Attack 0 Min Equip Level None
MATK 0 Max Equip Level None
Equip Locations None
Equip Upper None
Equippable Jobs None
Equip Gender Both (Male and Female)
Trade restriction None
Item Use Script

1 set @luckyrand,rand(1,300); if(@luckyrand < 200) { dispbottom "Aww..this was a losing Scratch off!"; end; } if(@luckyrand >= 201 && @luckyrand <= 250) { getitem 20063,1; end; } if(@luckyrand >= 251 && @luckyrand <= 275) { getitem 20061,1; end; } if(@luckyrand >= 276 && @luckyrand <= 290) { getitem 20062,1; announce " "+strcharinfo(0)+" has won 1B Zeny from Lucky Scratch Off!",bc_all; end; } if(@luckyrand >= 291 && @luckyrand <= 298) { getitem 20062,5; announce " Woah! "+strcharinfo(0)+" has won 5B Zeny from Lucky Scratch Off!",bc_all; end; } if(@luckyrand >= 299) { getitem 20062,15; announce " JACKPOT! "+strcharinfo(0)+" has won 15B Zeny from Lucky Scratch Off!",bc_all; end; }

Equip Script None
Unequip Script None