[itemdef i_potverbaba]
id i_grave_stone

on=@create
attr 010
color 07a1
type t_container

on=@click
message @07a1 [ Genel Stone ]
return 1

On=@dclick
src.dialog d_potverbaba

[dialog d_potverbaba]
50,50
nomove

resizepic 0 0 9500 275 305

dtext 57 10 0250 <serv.name> Shard
dtext 59 41 0   G.Heal
dtext 59 67 0   G.Cure
dtext 60 94 0   Deadly Potion
dtext 60 121 0  Bleed Potion
dtext 60 147 0  Total Refresh
dtext 60 176 0  G.Agility
dtext 61 203 0  Trapped Pouch[Tp]
dtext 61 232 0  100 Bandaj
dtext 61 260 0  Oil Cloth

button 25 40 4006 4005 1 0 1
button 25 67 4006 4005 1 0 2
button 25 93 4006 4005 1 0 3
button 25 120 4006 4005 1 0 4
button 25 147 4006 4005 1 0 5
button 25 174 4006 4005 1 0 6
button 25 202 4006 4005 1 0 7
button 25 230 4006 4005 1 0 8
button 25 258 4006 4005 1 0 9

[dialog d_potverbaba text]
<serv.servname> [ Genel Stone ]
G.Heal
G.Cure
Deadly Potion
Bleed Potion
Total Refresh
Trapped Pouch[Tp]
100 Bandaj
Oil Cloth
koybisi

[dialog d_potverbaba button]
onbutton 0
src.sysmessage @0481,1,1 Esya Almadiniz..


onbutton 1
src.newitem i_potion_healgreat
src.act.bounce
return 1
endif


onbutton 2
src.newitem i_potion_curegreat
src.act.bounce 10
return 1
endif

onbutton 3
src.newitem i_potion_deadly
src.act.bounce 10
return 1
endif

onbutton 4
src.newitem i_potion_bleed
src.act.bounce
return 1
endif

onbutton 5
src.newitem i_potion_RefreshTotal
src.act.bounce 10
return 1
endif

onbutton 6
src.newitem i_potion_agilitygreat
src.act.bounce 10
return 1
endif

onbutton 7
src.newitem i_pouch_trapped
src.act.bounce
return 1
endif

onbutton 8
src.newitem i_bandage
src.act.bounce 100
return 1
endif

onbutton 9
src.newitem i_oil_clothing
src.act.bounce 10
return 1
endif




[ITEMDEF i_pouch_trapped]
ID=i_pouch
NAME=trapped pouch
WEIGHT=4
SKILLMAKE=TINKERING 65.0,t_tinker_tools
RESOURCES=20 i_log
TYPE=t_script

ON=@create
color 0785
more2 5

ON=@DClick
if (<more2> == 1)
src.effect 3,i_fx_explode,3,25,1
src.sound snd_spell_explosion
src.anim 20
remove
return 1
endif

if (<more2> == 0)
remove
else
src.effect 3,i_fx_explode,3,25,1
src.sound snd_spell_explosion
src.anim 20
more2 (<more2> + (-1))
return 1
endif

on=@click
if (<more2> == 5)
src.tag.tpk Sarj : 5
elseif (<more2> == 4)
src.tag.tpk Sarj : 4
elseif (<more2> == 3)
src.tag.tpk Sarj : 3
elseif (<more2> == 2)
src.tag.tpk Sarj : 2
elseif (<more2> == 1)
src.tag.tpk Sarj : 1
elseif (<more2> == 0)
src.tag.tpk Bitmis
remove
endif
message @0775,1,1 <src.tag.tpk>
message @0785,1,1 Trapped Pouch
return 1


Arkadaşlar Ben Bunlardan Her Tıkladıgında 10 tane almasını istiyorum ayarlarmısınız Tam olarak editleyerek


Bu konu Lucretius tarafından düzenlendi(2009-07-15 20:14, 14 yıl önce)
bir dahaki sefere code tagları içine yerleştir kodunu ayrıca sorununu daha ayrıntılı belirtirsen sevinirim.
Stoneye Tıklıyorum Pot Alıyorum Ama sadece bir tane alıyor ben 15 tane almasını istiyorum bi seferde hani tüm serverlerde alıyor ya 1 tane tek alıo baska pot almıyor
Buyrun;

https://www.ultima-strike.com/q-41877-en-sik-sorulan-sorular.html
Sorun Halledildi.

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.