[function potions]
sdialog d_poti_on
[plevel 1]
potions
[dialog d_poti_on]
300,200
page 0
resizepic 0 0 3600 300 300
dtext 55 20 1000 <serv.servname> Potions Menu
dtext 40 50 1000 Poison
gumppic 25 70 2443
dtext 40 110 1000 Explosion
gumppic 25 130 2443
dtext 40 170 1000 Cure
gumppic 25 190 2443
dtext 40 230 1000 Heal
gumppic 25 250 2443
dtext 200 50 1000 Refresh
gumppic 185 70 2443
dtext 200 110 1000 Nightsight
gumppic 185 130 2443
dtext 200 170 1000 Agility
gumppic 185 190 2443
dtext 200 230 1000 Strength
gumppic 185 250 2443
tilepic 13 50 3850
tilepic 8 170 3847
tilepic 20 110 3853
tilepic 6 230 3852
tilepic 163 50 3851
tilepic 177 110 3846
tilepic 177 170 3848
tilepic 170 230 3849
obj=<findlayer(21).uid>
for 0 <eval <obj.rescount>-1>
if (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_healgreat'))
local.healgreat +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_curegreat'))
local.curegreat +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_refreshtotal'))
local.refreshtotal +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_poisondeadly'))
local.poisondeadly +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_poison'))
local.poison +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_poisonless'))
local.poisonless +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_explosiongreat'))
local.explosiongreat +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_explosion'))
local.explosion +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_explosionless'))
local.explosionless +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_cure'))
local.cure +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_cureless'))
local.cureless +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_heal'))
local.heal +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_healless'))
local.healless +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_refreshtotal'))
local.refreshtotal +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_refresh'))
local.refresh +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_nightsight'))
local.nightsight +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_agility'))
local.agility +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_agilitygreat'))
local.agilitygreat +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_strengthgreat'))
local.strengthgreat +=1
elseif (strmatch('<obj.findcont.<eval <local._for>>.baseid>','i_potion_strength'))
local.strength +=1
endif
endfor
dtext 65 70 1000 <eval <local.poisondeadly>>
dtext 51 70 1000 <eval <local.poisondeadly>>,
dtext 37 70 1000 <eval <local.poisondeadly>>,
dtext 65 130 1000 <eval <local.explosiongreat>>
dtext 51 130 1000 <eval <local.explosion>>,
dtext 37 130 1000 <eval <local.explosionless>>,
dtext 65 190 1000 <eval <local.curegreat>>
dtext 51 190 1000 <eval <local.cure>>,
dtext 37 190 1000 <eval <local.cureless>>,
dtext 65 250 1000 <eval <local.healgreat>>
dtext 51 250 1000 <eval <local.heal>>,
dtext 37 250 1000 <eval <local.healless>>,
dtext 200 70 1000 <eval <local.refresh>>,
dtext 214 70 1000 <eval <local.refreshtotal>>
dtext 200 130 1000 <eval <local.nightsight>>
dtext 200 190 1000 <eval <local.agility>>,
dtext 214 190 1000 <eval <local.agilitygreat>>
dtext 214 250 1000 <eval <local.strengthgreat>>
dtext 200 250 1000 <eval <local.strength>>,
[dialog d_poti_on button]
onbutton 0
src.sysmessage @38,1,1 Islem iptal edildi.
Total votes: 0
Bulunamadı.
Off Topic 3 gün önce
Sunucular 5 gün önce
Sunucular 3 hafta önce
Ultima Online 1 ay önce
Sunucular 2 ay önce
Sunucular 3 ay önce
Sphere Scripting 3 ay önce
CS 1.6 4 ay önce
Sunucular 5 ay önce
Sunucular 5 ay önce
Sunucular 5 ay önce
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
2024-04-09 16:53
2024-04-06 18:20
Yorumlar (0)