|
İçerde : 1 misafir, 0 üye : ---
|
[itemdef i_stat_stone]
id=i_grave_stone
name=Stat Stone
defname=i_staT_stone
on=@click
message @033,,1 [<serv.name>]
message @07a1 <name>
return 1
on=@dclick
src.dialog d_statstone
return 1
on=@create
color=077a
return 1
[dialog d_statstone
0,0
nomove
resizepic 300 200 5100 290 270
resizepic 310 210 3500 270 250
dtext 390 233 0 Str
dtext 390 283 0 Dex
dtext 390 353 0 Int
button 420 233 251 250 1 0 1
button 450 233 253 252 1 0 2
button 420 283 251 250 1 0 3
button 450 283 253 252 1 0 4
button 420 353 251 250 1 0 5
button 450 353 253 252 1 0 6
[dialog d_statstone BUTTON]
on=1
if (<src.str> = 100)
src.sysmessage @044,,1 Statlar 100den fazla olamaz.
elseif (<eval <src.dex>+<src.str>+<src.int>> == 225)
src.sysmessage @44,,1 Stat Toplamı En Fazla 225 Olabilir.
else
src.str +=1
src.dialog d_statstone
endif
on=2
if (<src.str> = 25)
src.sysmessage @044,,1 Statlar en az 25'e Dusurebılır.
else
src.str -=1
src.dialog d_statstone
endif
on=3
if (<src.dex> = 100)
src.sysmessage @044,,1 Statlar 100den fazla olamaz.
elseif (<eval <src.dex>+<src.str>+<src.int>> == 225)
src.sysmessage @44,,1 Stat Toplamı En Fazla 225 Olabilir.
else
src.dex +=1
src.dialog d_statstone
endif
on=4
if (<src.dex> = 25)
src.sysmessage @044,,1 Statlar en az 25'e Dusurebılır.
else
src.dex -=1
src.dialog d_statstone
endif
on=5
if (<src.int> = 100)
src.sysmessage @044,,1 Statlar 100den fazla olamaz.
elseif (<eval <src.dex>+<src.str>+<src.int>> == 225)
src.sysmessage @44,,1 Stat Toplamı En Fazla 225 Olabilir.
else
src.int +=1
src.dialog d_statstone
endif
on=6
if (<src.int> = 25)
src.sysmessage @044,,1 Statlar en az 25'e Dusurebılır.
else
src.int -=1
src.dialog d_statstone
endif
[eof]
[itemdef i_stat_stone]
id=i_grave_stone
name=Stat Stone
defname=i_staT_stone
on=@click
message @033,,1 [<serv.name>]
message @07a1 <name>
return 1
on=@dclick
if (<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)
src.sysmessage Statları etkileyen büyülerin etkisi altındayken bu işlemi yapamazsınız.
return 1
endif
src.dialog d_statstone
return 1
on=@create
color=077a
return 1
[dialog d_statstone
0,0
nomove
resizepic 300 200 5100 290 270
resizepic 310 210 3500 270 250
dtext 390 233 0 Str
dtext 390 283 0 Dex
dtext 390 353 0 Int
button 420 233 251 250 1 0 1
button 450 233 253 252 1 0 2
button 420 283 251 250 1 0 3
button 450 283 253 252 1 0 4
button 420 353 251 250 1 0 5
button 450 353 253 252 1 0 6
[dialog d_statstone BUTTON]
on=1
if (<src.str> = 100)
src.sysmessage @044,,1 Statlar 100den fazla olamaz.
elseif (<eval <src.dex>+<src.str>+<src.int>> == 225)
src.sysmessage @44,,1 Stat Toplamı En Fazla 225 Olabilir.
else
src.str +=1
src.dialog d_statstone
endif
on=2
if (<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)
src.sysmessage Statları etkileyen büyülerin etkisi altındayken bu işlemi yapamazsınız.
return 1
endif
if (<src.str> = 25)
src.sysmessage @044,,1 Statlar en az 25'e Dusurebılır.
else
src.str -=1
src.dialog d_statstone
endif
on=3
if (<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)
src.sysmessage Statları etkileyen büyülerin etkisi altındayken bu işlemi yapamazsınız.
return 1
endif
if (<src.dex> = 100)
src.sysmessage @044,,1 Statlar 100den fazla olamaz.
elseif (<eval <src.dex>+<src.str>+<src.int>> == 225)
src.sysmessage @44,,1 Stat Toplamı En Fazla 225 Olabilir.
else
src.dex +=1
src.dialog d_statstone
endif
on=4
if (<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)
src.sysmessage Statları etkileyen büyülerin etkisi altındayken bu işlemi yapamazsınız.
return 1
endif
if (<src.dex> = 25)
src.sysmessage @044,,1 Statlar en az 25'e Dusurebılır.
else
src.dex -=1
src.dialog d_statstone
endif
on=5
if (<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)
src.sysmessage Statları etkileyen büyülerin etkisi altındayken bu işlemi yapamazsınız.
return 1
endif
if (<src.int> = 100)
src.sysmessage @044,,1 Statlar 100den fazla olamaz.
elseif (<eval <src.dex>+<src.str>+<src.int>> == 225)
src.sysmessage @44,,1 Stat Toplamı En Fazla 225 Olabilir.
else
src.int +=1
src.dialog d_statstone
endif
on=6
if (<src.int> = 25)
src.sysmessage @044,,1 Statlar en az 25'e Dusurebılır.
else
src.int -=1
src.dialog d_statstone
endif
[eof]
[plevel 1]
statres
[function statres]
if !strmatch('<src.region.name>','safealan') //safe alanın ismini yaz
src.sysmessage bu komutu sadece safe alanda kullanabilirsin[br]
return 1
endif
spelleffect s_dispel 100.0
skylord51 :
Ben size yarın müsait olduğum bi saatte pm atayım hallederiz.
|