Balık tutarken % lik ihtimalle item kazanmasını istiyorum %5 16 elmas %10 32 demir %15 64 altın gibi kazandığındada ne kazandığını belirten bir altta mesaj gelsin
on fishing state of caught fish:
cancel event
chance of 60%:
give a leather boots name "çöp" to player
send "Çöp tuttun!" to player
chance of 40%:
give a diamond name "elmas" to player
send "elmas tuttun!" to player
on fishing:
if "%fishing state%" is "CAUGHT_FISH":
chance of 15%:
give 16 of diamond to player
send "&5Balık Tutarken 16 Elmas Kazandın!" to player
stop
else chance of 10%:
give 32 of iron ingot to player
send "&5Balık Tutarken 32 Demir Külçesi Kazandın!" to player
stop
chance of 15%:
give 64 of gold ingot to player
send "&5Balık Tutarken 64 Altın Külçesi Kazandın!" to player
stop