UO-Dev Arama


Pratik bir kumar sistemi scripti

Yazar: Basic
Tarih: 29-07-2009 12:38


Paylaş : Paylaş

Kod:
[comment Kumar]
30 Mayıs 2009 tarihinde kodlanmıştır.

[defname kumar]
winamount 5000 //kazanırsa ne kadar alsın.
looseamount 5000 //kaybederse ne kadar kaybetsin
retry 5 // tekrar atmak için ne kadar beklesin

[function kumar]
if (<tag.rolled> > 0)
sysmessage @08a U must wait <ddef.retry> seconds to reroll.
return 1
endif

if (<gold> < <ddef.looseamount>)
sysmessage @08a U haven't got <ddef.looseamount> gold piece in your character.
return 1
endif

dorand 6
local.roll1u 1
local.roll1u 2
local.roll1u 3
local.roll1u 4
local.roll1u 5
local.roll1u 6
enddo

dorand 6
local.roll2u 1
local.roll2u 2
local.roll2u 3
local.roll2u 4
local.roll2u 5
local.roll2u 6
enddo

dorand 6
local.roll1c 1
local.roll1c 2
local.roll1c 3
local.roll1c 4
local.roll1c 5
local.roll1c 6
enddo

dorand 6
local.roll2c 1
local.roll2c 2
local.roll2c 3
local.roll2c 4
local.roll2c 5
local.roll2c 6
enddo

sysmessage @07a1 U rolled <dlocal.roll1u>,<dlocal.roll2u>
sysmessage @08a Computer rolled <dlocal.roll1c>,<dlocal.roll2c>

if (<<dlocal.roll1u>+<dlocal.roll2u>> > <<dlocal.roll1c>+<dlocal.roll2c>>)
sysmessage @07a1 U win, <ddef.winamount> gold piece
gold +=<ddef.winamount>
tag.rolled 1
timerf <ddef.retry>,tag.rolled 0
elseif (<<dlocal.roll1u>+<dlocal.roll2u>> < <<dlocal.roll1c>+<dlocal.roll2c>>)
sysmessage @07a1 U loose, <ddef.looseamount> gold piece
gold -=<ddef.looseamount>
tag.rolled 1
timerf <ddef.retry>,tag.rolled 0
elseif (<<dlocal.roll1u>+<dlocal.roll2u>> == <<dlocal.roll1c>+<dlocal.roll2c>>
sysmessage @465,1,1 U and Computer Tied!
endif



Yorumlar

1.   Gönderen deep.smyrna   05-12-2010 20:44    

Çok Kötü.

2.   Gönderen kargasa   07-12-2010 10:49    

neresi kötü kardeşim güzel yapmış adam.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : 7.00   
Oylar: 2 den itibaren 07-12-2010 16:06

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Guild sistemi0Mrs.xariyla04-03-2012
House sistemi0Mrs.xariyla04-03-2012
Maaş Sistemi0Kraagnar17-11-2011
Flash üyelik sistemi0Culum25-09-2011
Sorter Account Sistemi0Sorter23-07-2011


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,