UO-Dev Arama


Oyuncular için gerekli eventsler

Yazar: Bilinmiyor
Tarih: 28-07-2009 14:47


Paylaş : Paylaş

Kod:
[events e_player]

On=@DClick
if (0<account.plevel> < 1)
return 1
elseif
return 0
endif

On=@GetHit
return 1

on=@hit
return 1

On=@ItemClick
if ((<act.attr>&attr_static)) // statiq itemlari belirt
act.message @54 [Sabit]
act.message @0481,1,1 [<act.name>]
return 1
endif
if ((<act.attr>&attr_invis)) // invisiple :D itemlari belirt
act.message @07a1 [Invisible]
act.message @049,,1 [<act.name>]
src.sysmessage @07a1 Bu Item Invis Elleme <src.name>.
return 1
endif
if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_axe)
if (<src.act.morez> > 0)
src.sysmessage @049,,1 Bu Silah Zehirli.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @049,,1 Bu Silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> Hasar AlmiS.
//return 0
else
//act.message @049,,1 Silahta Hasar Yok.
src.sysmessage @049,,1 Silahta Hasar Yok.
endif
endif

if (<act.topobj.id> == c_pv)
if (strmatch('<act.price>',''))
act.message @0842,1,1 [Satilamaz]
elseif (<act.price> <= 0)
act.message @0842,1,1 [satilik degil]
else
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
act.message @0842,1,1 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
else
act.message @0842,1,1 [<act.price> gp]
endif
else
act.message @0842,1,1 [<act.price> gp]
endif
endif
endif

if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @0842,1,1 [E$ya : <act.rescount>]
act.message @38,1,1 Inventory
return 1
else
if (<act.type> == t_container)
if !(<act.baseid> == i_strong_box)
if (<act.attr>&attr_move_never) && !(strmatch('<act.region.tag.owner>,'')) && (<act.region.type> == <region.type>)
act.message @0842,1,1 [Sabit]
endif
if (<act.baseid> == i_bones)
act.message @0842,1,1 [Loot: <act.rescount> Esya]
act.message @0842,1,1 <act.name>
elseif (<act.rescount> > 0)
act.message @0842,1,1 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
else
act.message @0842,1,1 <act.typedef.name>
endif
return 1
endif
endif
endif
if ((<act.topobj.uid> == <uid>)
if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow)) || (<act.type> == t_weapon_mace_sharp))
act.message @049,,1 [Dmg: <act.dam>] [Speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif
endif


if ((<act.topobj.uid> == <uid>)
if ((<act.type> == t_rune)
act.message @0842,1,1 <act.name>
return 1
endif
endif


if ((<act.topobj.uid> == <uid>)
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
act.message @0842,1,1 <act.name>
return 1
endif
endif

if ((<act.type> == t_shield) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
act.message @0842,1,1 <act.name>
act.message @049,,1 [Dmg: <act.dam>] [Speed: <eval (2000/<act.weight>)>]
return 1
endif
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_clothing)
act.message @0842,1,1 <act.name>
return 1
endif

On=@SkillStart
if ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
if (<targ.topobj.baseid> == c_pv)
skill fail
return 1
endif
endif


[EOF]



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Online Player Listesi0Walkova23-12-2011
Jadore | Player Versus Player0Robell03-12-2011
Player Komutları0Roes13-10-2011
Events Yapımı ve İf Sorgulama0^Qnd^09-09-2010
Player Vendor Gumps0Rowall01-09-2009


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ı,