//---------------------------------|
//[Scripting Coder = Static] |
//[Scripting Name = Blade Wars] |
//[Scripting History= 1-2 September|
//-----------------------------------------------|
//*Scripting Geliştirilip Yayınlana Bilir. |
//*Ultima Strike&Uo-Developer İçin Kodlanmıştır. |
//*Sistem Otodur. |
//-----------------------------------------------|
[Itemdef i_blade_1]
ID=i_cleaver_meat
Type=t_weapon_sword
Dam=1,10
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Cleaver]
Return 1
On=@Create
hitpoints=100
Color=0890
Return 1
Endif
//*****************Blade Two***************************//
[Itemdef i_blade_2]
ID=i_dagger
Type=t_weapon_fence
Dam=1,10
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Dagger]
Return 1
On=@Create
hitpoints=100
Color=0890
Return 1
Endif
//*****************Blade Three*************************//
[Itemdef i_blade_3]
ID=i_knife_butcher
Type=t_weapon_sword
Dam=1,10
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Butcher Knife]
Return 1
On=@Create
hitpoints=100
Color=0890
Return 1
Endif
//******************Blade four*********************************//
[Itemdef i_blade_4]
ID=i_knife_skinning
Type=t_weapon_fence
Dam=1,10
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Skinning Knife]
Return 1
On=@Create
hitpoints=100
Color=0890
Return 1
Endif
//******************Warrior Armor******************************//
[Itemdef i_warrior_heater]
ID=i_shield_heater
Type=t_shield
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Shield]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//******************Warrior Helm*****************************//
[Itemdef i_warrior_helm]
ID=i_helm_Nose
Type=t_armor
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Helm]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//*****************Warrior Gloves**************************//
[Itemdef i_warrior_gloves]
ID=i_platemail_gloves
Type=t_armor
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Gloves]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//********************Warrior Arms*************************//
[Itemdef i_warrior_arms]
ID=i_platemail_arms
Type=t_armor
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Arms]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//**********************Warrior Gorget********************//
[Itemdef i_warrior_gorget]
ID=i_platemail_gorget
Type=t_armor
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Gorget]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//**********************Warrior Chest*******************//
[Itemdef i_warrior_chest]
ID=i_platemail_chest
Type=t_armor
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Chest]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//*********************Warrior Leggings***************//
[Itemdef i_warrior_leggings]
ID=i_platemail_leggings
Type=t_armor
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Leggings]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//*********************Genel Boots***************//
[itemdef i_Blade_wars_boots]
ID=i_boots_calf
Type=t_clothing
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Blade Wars Boots]
Return 1
On=@Create
hitpoints=100
Color=01
Return 1
Endif
//*********************Warlock Helm*******************//
[Itemdef i_warlock_helm]
ID=i_helm_orc
Type=t_armor_leather
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Helm]
Return 1
On=@Create
hitpoints=100
Color=04a56
Return 1
Endif
//*********************Warlock Cape*******************//
[Itemdef i_warlock_cape]
ID=i_cape
Type=t_clothing
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Cape]
Return 1
On=@Create
hitpoints=100
Color=04a56
Return 1
Endif
//*********************Warlock Gloves****************//
[Itemdef i_warlock_gloves]
ID=i_studded_gloves
Type=t_armor_leather
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Gloves]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//********************Warlock Sleeves***************//
[Itemdef i_warlock_sleeves]
ID=i_studded_sleeves
Type=t_armor_leather
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Sleeves]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//**********************Warlock Gorget*************//
[Itemdef i_warlock_gorget]
ID=i_studded_gorget
Type=t_armor_leather
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Gorget]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//**********************Warlock Tunic*****************//
[Itemdef i_warlock_tunic]
ID=i_studded_tunic
Type=t_armor_leather
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Tunic]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//**********************Warlock Leggings*************//
[Itemdef i_warlock_leggings]
ID=i_studded_leggings
Type=t_armor_leather
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Leggings]
Return 1
On=@Create
hitpoints=100
Color=0980
Return 1
Endif
//**********************Warrior Battle Deed***********//
[itemdef i_warrior_battle]
ID=i_deed
Type=t_Deed
On=@Click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warrior Battle Deed]
Return 1
On=@Create
Color=0890
Return 1
On=@Dclick
Src.Newitem=i_blade_1
Src.Act.Bounce
REMOVE
Src.Newitem=i_blade_2
Src.Act.bounce
REMOVE
Src.Newitem=i_blade_wars_boots
Src.Act.Bounce
REMOVE
Src.Newitem=i_warrior_chest
Src.Act.Bounce
REMOVE
Src.Newitem=i_warrior_leggings
Src.Act.Bounce
REMOVE
Src.Newitem=i_warrior_gorget
Src.Act.Bounce
REMOVE
Src.Newitem=i_warrior_arms
Src.ACt.Bounce
REMOVE
Src.Newitem=i_warrior_gloves
Src.Act.Bounce
REMOVE
Src.Newitem=i_warrior_helm
Src.Act.Bounce
REMOVE
Src.Newitem=i_warrior_heater
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_heal1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_cure1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_bleed1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_refreshtotal
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_agilitygreat1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_Nightsight1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_bandage
src.act.amount 10
Src.Act.Bounce
REMOVE
Src.Newitem=i_pouch_trapped
src.act.amount 5
Src.Act.Bounce
Return 1
Endif
//****************************Warlock Battle Deed***************************//
[Itemdef i_warlock_battle]
ID=i_deed
Type=t_deed
On=@click
Message=@0985,,1 [<serv.name>]
Message=@0481,,1 [Warlock Battle Deed]
Return 1
On=@Create
Color=0980
Return1
Endif
On=@Dclick
Src.Newitem=i_warlock_helm
Src.Act.Bounce
REMOVE
Src.Newitem=i_warlock_cape
Src.Act.Bounce
REMOVE
Src.Newitem=i_warlock_gorget
Src.Act.Bounce
REMOVE
Src.Newitem=i_warlock_gloves
Src.Act.Bounce
REMOVE
Src.Newitem=i_warlock_tunic
Src.Act.Bounce
REMOVE
Src.Newitem=i_warlock_leggings
Src.Act.Bounce
REMOVE
Src.Newitem=i_warlock_sleeves
Src.Act.Bounce
REMOVE
Src.Newitem=i_blade_3
Src.Act.Bounce
REMOVE
Src.Newitem=i_blade_4
Src.Act.Bounce
REMOVE
Src.Newitem=i_blade_wars_boots
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_heal1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_cure1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_bleed1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_refreshtotal
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_agilitygreat1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_potion_Nightsight1
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_bandage
src.act.amount 10
Src.Act.Bounce
REMOVE
Src.Newitem=i_pouch_trapped
src.act.amount 5
Src.Act.Bounce
REMOVE
Src.Newitem=i_full_spellbook
src.act.bounce
Return 1
Endif
//***************************GATE&Events*****************************//
[events e_bladewars]
on=@logout
return 1
on=@death
src.go safe //[Ölen kişinin gideceği yer]
serv.allclients sysmessage @0785,,1 <src.name> Blade Wars'da Öldürüldü.
src.events -e_bladewars
src.events -e_warriorteam
src.events -e_warlockteam
src.findid.i_warrior_helm.remove
src.findid.i_warrior_leggings.remove
src.findid.i_warrior_chest.remove
src.findid.i_warrior_gorget.remove
src.findid.i_warrior_gloves.remove
src.findid.i_warrior_arms.remove
src.findid.i_warrior_heater.remove
src.findid.i_blade_wars_boots.remove
src.findid.i_blade_1.remove
src.findid.i_blade_2.remove
src.findid.i_potion_heal1.remove
src.findid.i_potion_cure1.remove
src.findid.i_potion_refreshtotal.remove
src.findid.i_potion_bleed1.remove
src.findid.i_pouch_trapped.remove
src.findid.i_potion_Nightsight1.remove
src.findid.i_potion_agilitygreat1.remove
src.findid.i_bandage.remove
src.findid.i_bottle_empty.remove
src.findid.i_warlock_helm.remove
src.findid.i_warlock_leggings.remove
src.findid.i_warlock_tunic.remove
src.findid.i_warlock_gorget.remove
src.findid.i_warlock_gloves.remove
src.findid.i_warlock_sleeves.remove
src.findid.i_warlock_cape.remove
src.findid.i_blade_3.remove
src.findid.i_blade_4.remove
return 1
on=@mount
src.sysmessage @0481,,1 Blade Wars'da bunu yapamazsiniz.
src.events +e_bladewars
return 1
on=@click
message @0985,,1 [Blade Wars]
message @0481,,1 <name>
return 1
on=@itemdclick
if (<act.baseid> == i_runebook)
sysmessage @0481,,1 Blade Wars'da bunu yapamazsiniz.
src.events +e_bladewars
return 1
on=@itempickup_ground
src.sysmessage @0481,,1 Blade Wars'da Bunu Yapamazsiniz.
src.events +e_bladewars
return 1
/////////////////////////////////////////////////////////////////////////////
[function Cantalarbanka]
findlayer(1).cont=<findlayer.layer_pack.uid>
findlayer(2).cont=<findlayer.layer_pack.uid>
findlayer(3).cont=<findlayer.layer_pack.uid>
findlayer(4).cont=<findlayer.layer_pack.uid>
findlayer(5).cont=<findlayer.layer_pack.uid>
findlayer(6).cont=<findlayer.layer_pack.uid>
findlayer(7).cont=<findlayer.layer_pack.uid>
findlayer(8).cont=<findlayer.layer_pack.uid>
findlayer(10).cont=<findlayer.layer_pack.uid>
findlayer(12).cont=<findlayer.layer_pack.uid>
findlayer(13).cont=<findlayer.layer_pack.uid>
findlayer(14).cont=<findlayer.layer_pack.uid>
findlayer(17).cont=<findlayer.layer_pack.uid>
findlayer(18).cont=<findlayer.layer_pack.uid>
findlayer(19).cont=<findlayer.layer_pack.uid>
findlayer(20).cont=<findlayer.layer_pack.uid>
findlayer(22).cont=<findlayer.layer_pack.uid>
findlayer(23).cont=<findlayer.layer_pack.uid>
findlayer(24).cont=<findlayer.layer_pack.uid>
findlayer(layer_pack).attr 0
findlayer(layer_pack).cont <findlayer(layer_bankbox)>
findlayer(layer_pack).empty
findlayer(layer_pack).dclick
bank
update
return 1
////////////////////////////////////////////////////////
[function binekolmazsaolmaz]
if (<findlayer.25>)
tag.binekid <findlayer.25.more1>
tag.binekkarma <uid.<findlayer.25.more2>.karma>
tag.binekfame <uid.<findlayer.25.more2>.fame>
tag.binekfood <uid.<findlayer.25.more2>.food>
tag.binekcolor <uid.<findlayer.25.more2>.color>
tag.binekname <findlayer.25.name>
serv.newitem i_binek_zeka
new.tag.name <tag.binekname>
new.tag.fame <tag.binekfame>
new.tag.karma <tag.binekkarma>
new.tag.food <tag.binekfood>
new.tag.binekid <tag.binekid>
new.color <tag.binekcolor>
new.cont <findlayer(29).uid>
new.more2 1
findlayer.25.remove
else
return 1
endif
[itemdef i_binek_zeka]
id i_deed
type t_normal
weight 20.0
name Kargo
on=@click
if (<more2>
message @0481,1 <name> - <tag.name>
return 1
else
message @0481,1 <name>
return 1
endif
on=@dclick
if (<more2>)
try src.newnpc <tag.binekid>
link <src.act.uid>
link.name <tag.name>
link.karma <tag.karma>
link.fame <tag.fame>
link.food <tag.food>
link.color <color>
link.memorydel <src.uid>
link.newitem i_memory
link.act.attr 04
link.act.more1 04
link.act.more2 <serv.time>
link.act.morep <link.p>
link.act.color memory_ipet
link.act.timer -1
link.act.link <src.uid>
link.act.cont <link.uid>
link.flags <link.flags>&statf_pet
link.update
link.anim 5
link.bark 3
link.message @1156 Iyi oyunlar..
remove
return 1
else
return1
endif
////////////////////////////oto additional packages//////////////////////////////////
[PLEVEL 7]
bladewars
[function bladewars]
serv.allclients sysmessage @0940,,1 [Auto BladeWars Message]
serv.allclients sysmessage @0481,,1 Blade Wars yapilacaktir, katilmak isteyenler Safe'de aktif hale gelmis gateden katilamilir en fazla 30 kişi.
serv.newitem i_blade_wars
new.p safe //[Yarışma gatesinin açılacağı yer(warlock-warrior gibi farklı olsun çif gate)]
serv.newitem i_blade_Wars_w
new.p 5576,1637 //[yarışma gatesinin açılacağı yer (warlock-warrior gibi farklı olsun çif gate)]
return 1
[itemdef i_blade_wars]
id i_moongate_blue
On=@Create
attr 010
color 0486
tag.giris 0
tag.giricek 30
timer 200
ON=@Click
message @,,1 <eval <tag.giris>> kisi.
message @95,,1 <name>
message @95,,1 Gate Kalkmasina Son:<timer> Saniye
message @0481,,1 [Warrior Team]
return 1
on=@dclick
src.massege @07e5 Basarak Gecebilirsin.
return 1
on=@step
dorand 1
src.go 5533,1212 //[yarışmanın yapılacağı yerin kordinatını yazınız.warrior]
enddo
src.events e_warriorteam
src.tag.nomovetill <eval (<serv.time> + 2500)>
src.events +e_bladewars
src.Cantalarbanka
src.binekolmazsaolmaz
src.hits <src.str>
src.stam <src.dex>
serv.newITEM i_warrior_Battle
new.attr 04
new.BOUNCE
serv.allclients sysmessage @0785,1,1 <src.name> Blade Wars'a Girdi
else
return 1
if (<eval <tag.giris>> == 29)
src.sysmessage @95,,1 Son kisi olarak girdiniz, tebrikler..
serv.allclients timerf 1,stac
serv.allclients sysmessage @0480,,1 [Auto Blade Wars Message]
serv.allclients sysmessage @0481,,1 Blade Wars yarismasina katilim sona erdi ve yarısma basladi, İyi oyunlar.
region.safe 0
src.bladewars2
tag.giris +=1
tag.giricek -=1
remove
return 1
endif
if (<eval <tag.giris>> < 30)
src.bladewars1
serv.allclients sysmessage @68 [Auto Blade Wars Message]
serv.allclients sysmessage @95,,1 Blade Wars yarismasi katilimlari icin son <eval(<timer>/60)> dakika <eval <timer>> saniye, veya <eval <tag.giricek>> kisi..
serv.allclients sysmessage @95,,1 Gate Safede
tag.giris +=1
tag.giricek -=1
return 1
endif
if (<eval <tag.giris>> == 29)
src.sysmessage @95,,1 Son kisi olarak girdiniz, tebrikler..
serv.allclients timerf 1,stac
serv.allclients sysmessage @68 [Auto Blade Wars Message]
serv.allclients sysmessage @95,,1 Blade Wars yarismasina katilim sona erdi ve yarısma basladi, İyi oyunlar.
region.safe 0
src.bladewars2
tag.giris +=1
tag.giricek -=1
remove
return 1
endif
ON=@timer
serv.allclients sysmessage @48,,1 Blade Wars yarismasina katilim sona erdi ve yarısma basladi, Iyi oyunlar.
serv.allclients timerf 1,stac
remove
return 1
[function bladewars1]
src.events e_bladewars
src.tag.hits 100
src.sysmessage @0940,,1 Yarismaya katildiniz, lutfen bekleyiniz..
return 1
[function stac]
src.nightsight 1
[function bladewars2]
src.tag.hits 100
return 1
on=@equip
if ((<src.body> == c_dragon_green)
src.sysmessage @38,,1 Hata: Dragon iken silah kullanamazsiniz.
unequip
return 1
endif
//////////////////////////////////////////////////////////////
[itemdef i_blade_wars_w]
id i_moongate_blue
On=@Create
attr 010
color 0980
tag.giris 0
tag.giricek 30
timer 200
ON=@Click
message @,,1 <eval <tag.giris>> kisi.
message @95,,1 <name>
message @95,,1 Gate Kalkmasina Son:<timer> Saniye
message @0481,,1 [Warlock Team]
return 1
on=@dclick
src.massege @07e5 Basarak Gecebilirsin.
return 1
on=@step
dorand 1
src.go 5533,1219 //[yarışmanın yapılacağı yerin kordinatını yazınız.warlock]
enddo
src.events e_warlockteam
src.tag.nomovetill <eval (<serv.time> + 2500)>
src.events +e_bladewars
src.Cantalarbanka
src.binekolmazsaolmaz
src.hits <src.str>
src.stam <src.dex>
serv.newITEM i_warlock_battle
new.attr 04
new.BOUNCE
serv.allclients sysmessage @0785,1,1 <src.name> Blade Wars'a Girdi
else
return 1
if (<eval <tag.giris>> == 29)
src.sysmessage @95,,1 Son kisi olarak girdiniz, tebrikler..
serv.allclients timerf 1,stac
serv.allclients sysmessage @0480,,1 [Auto Blade Wars Message]
serv.allclients sysmessage @0481,,1 Blade Wars yarismasina katilim sona erdi ve yarısma basladi, İyi oyunlar.
region.safe 0
src.bladewars2
tag.giris +=1
tag.giricek -=1
remove
return 1
endif
if (<eval <tag.giris>> < 30)
src.bladewars1
serv.allclients sysmessage @68 [Auto Blade Wars Message]
serv.allclients sysmessage @95,,1 Blade Wars yarismasi katilimlari icin son <eval(<timer>/60)> dakika <eval <timer>> saniye, veya <eval <tag.giricek>> kisi..
serv.allclients sysmessage @95,,1 Gate Safede
tag.giris +=1
tag.giricek -=1
return 1
endif
if (<eval <tag.giris>> == 29)
src.sysmessage @95,,1 Son kisi olarak girdiniz, tebrikler..
serv.allclients timerf 1,stac
serv.allclients sysmessage @68 [Auto Blade Wars Message]
serv.allclients sysmessage @95,,1 Blade Wars yarismasina katilim sona erdi ve yarısma basladi, İyi oyunlar.
region.safe 0
src.bladewars2
tag.giris +=1
tag.giricek -=1
remove
return 1
endif
ON=@timer
serv.allclients sysmessage @48,,1 Blade Wars yarismasina katilim sona erdi ve yarısma basladi, Iyi oyunlar.
serv.allclients timerf 1,stac
remove
return 1
[function bladewars1]
src.go 5394,1239
src.events e_bladewars
src.tag.hits 100
src.sysmessage @0940,,1 Yarismaya katildiniz, lutfen bekleyiniz..
return 1
[function stac]
src.nightsight 1
[function bladewars2]
src.tag.hits 100
return 1
on=@equip
if ((<src.body> == c_dragon_green)
src.sysmessage @38,,1 Hata: Dragon iken silah kullanamazsiniz.
unequip
return 1
endif
//********************Gruplar birbirine dalmasin önlemimizi alalım**********//
[events e_warlockteam]
On=@Attack
if <src.isevent.e_warlockteam>
src.sysmessage @07a1 Ayni Grup Uyeleri Birbirine Dalamaz.
return 1
endif
//*********************Warriorlara yapalim birde.**********************//
[events e_warriorteam]
On=@Attack
if <src.isevent.e_warriorteam>
src.sysmessage @07a1 Ayni Grup Uyeleri Birbirine Dalamaz.
return 1
endif
[eof]
Total votes: 0
Ultima Online 1 gün önce
Sphere Scripting 4 gün önce
Ultima Online 4 gün önce
Ultima Online 1 hafta önce
Duyurular 2 hafta önce
Sunucular 3 hafta önce
Ultima Online 3 hafta önce
Ultima Online 3 hafta önce
Ultima Online 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sunucular 1 ay önce
2024-10-31 22:47
2024-10-14 17:45
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
Yorumlar (0)