UO-Dev Arama


Farklı bir quest sistemi

Yazar: Root
Tarih: 31-08-2009 14:05


Paylaş : Paylaş

Kod:
///////////////Avatars System/////////////////
////////////////////Root//////////////////////
//////////////////////////////////////////////


//////////////////////////////////////////////
/////////////////////npc's////////////////////


[CHARDEF c_avatar_fire]
DEFNAME=c_avatar_fire
ID=c_DAEMON_W_SWORD
SOUND=snd_MONSTER_DAEMON1
ICON=i_pet_dragon
NAME=Fire Avatar
CAN=MT_WALK|MT_RUN|MT_FLY|MT_SWIM
DAM=500
ARMOR=250
tevents e_Binek_koruma
tevents +e_no_poi
TEVENTS +e_no_spell

ON=@CREATE
BRAIN=BRAIN_MONSTER
COLOR=09d1
STR={3500}
INT={5000}
DEX={5000}
MAXHITS={3500}
MAXSTAM={5000}
MAXMANA={5000}
KARMA=-9999
FAME=9999

POISONING={300000}
MAGERY={500}
MAGICRESISTANCE={11310}
item=i_spawnsil

ON=@NPCRESTOCK
ITEM=i_spellbook
ADDSPELL=s_chain_lightning
ADDSPELL=s_harm
ADDSPELL=s_Poison
ADDSPELL=s_earthquake
ITEM=loot_avatar_fire

ON=@click
message @0790,,1 [<serv.name>]
message @1989,,1 <name>
return 1


[CHARDEF c_avatar_storm]
DEFNAME=c_avatar_storm
ID=c_DAEMON_W_SWORD
SOUND=snd_MONSTER_DAEMON1
ICON=i_pet_dragon
NAME=Storm Avatar
CAN=MT_WALK|MT_RUN|MT_FLY|MT_SWIM
DAM=500
ARMOR=250
tevents e_Binek_koruma
tevents +e_no_poi
TEVENTS +e_no_spell

ON=@CREATE
BRAIN=BRAIN_MONSTER
COLOR=0805
STR={3500}
INT={5000}
DEX={5000}
MAXHITS={3500}
MAXSTAM={5000}
MAXMANA={5000}
KARMA=-9999
FAME=9999

POISONING={300000}
MAGERY={500}
MAGICRESISTANCE={11310}
item=i_spawnsil

ON=@NPCRESTOCK
ITEM=i_spellbook
ADDSPELL=s_chain_lightning
ADDSPELL=s_harm
ADDSPELL=s_Poison
ADDSPELL=s_earthquake
ITEM=loot_avatar_storm

ON=@click
message @0790,,1 [<serv.name>]
message @0800 <name>
return 1


/////////////////////////////////////////////////////
////////////////////İtems////////////////////////////

[itemdef i_avatar_combine]
defname i_avatar_combine
name combine of avatar
id i_crystal_ball
resources 1 i_avatar_fire 1 i_avatar_storm
type t_script
weight 20

on=@create
color 066d

on=@dclick
if (<topobj.uid> != <src.uid>)
src.sysmessage Cantanizda olmali.
return 1
else
src.dialog d_avatar_combine
return 1
endif

[itemdef i_resisttime]
id=i_memory
type=t_eq_script
name=resisttime

on=@create
timer 86400

on=@timer
cont.events -e_resist_fire
cont.events -e_resist_storm
cont.events -e_resist_lord
remove
return 1

[itemdef i_avatar_fire]
NAME=box of fire avatar
ID=i_box_brass
TYPE=t_normal
weight 0.1


ON=@CREATE
COLOR 07aa
timer 86400

On=@timer
remove

ON=@CLICK
MESSAGE @68 [Fire Avatar]
message @0 a <name>
src.sysmessage @54 Lutfen cift tiklayiniz...
return 1

ON=@DCLICK
src.events +e_resist_fire
src.events -e_resist_storm
src.newitem i_resisttime
src.act.equip
src.cofuduk
src.sysmessage @0800 Fire Avatar Sizinle ...
remove
return 1


[itemdef i_avatar_storm]
NAME=Pandoras Box
ID=i_box_brass
TYPE=t_normal
weight 0.1


ON=@CREATE
COLOR 0805
timer 86400

On=@timer
remove

ON=@CLICK
MESSAGE @68 [Storm Avatar]
message @0 avatar of storm
src.sysmessage @54 Lutfen cift tiklayiniz...
return 1

ON=@DCLICK
src.events +e_resist_storm
src.events -e_resist_fire
src.newitem i_resisttime
src.act.equip
src.pofuduk
src.sysmessage @0800 Storm Avatar Sizinle ...
remove
return 1

[itemdef i_avatar_lord]
NAME=Pandoras Box
ID=i_box_brass
TYPE=t_normal
weight 0.1


ON=@CREATE
COLOR 066d
timer 86400

On=@timer
remove

ON=@CLICK
MESSAGE @68 [Lord Of Avatar]
message @0 avatar of lord
src.sysmessage @54 Lutfen cift tiklayiniz...
return 1

ON=@DCLICK
src.events +e_resist_lord
src.events -e_resist_fire
src.events -e_resist_storm
src.newitem i_resisttime
src.act.equip
src.cofuduk
src.pofuduk
src.sysmessage @0800 Lord Of Avatar Sizinle ...
remove
return 1

//////////////////////////////////////////////////
////////////////////Templates/////////////////////
[TEMPLATE loot_avatar_storm]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Gladiator
ITEM=RANDOM_WEAPON_power
item=i_avatar_storm
item=i_avatar_combine,R3

[TEMPLATE loot_avatar_fire]
CATEGORY=Item Templates
SUBSECTION=Monster Loot Templates
DESCRIPTION=Gladiator
ITEM=RANDOM_WEAPON_power
item=i_avatar_fire
item=i_avatar_combine,R3

//////////////////////////////////////////////////
////////////////////Events////////////////////////


[events e_resist_fire]
On=@SpellEffect
if (<argn> == 5) || (<argn> == 28) || (<argn> == 43) || (<argn> == 51)
sayu * Resist Fire *
return 1
endif
//inpor,explosion,firefield,kalvas yemez

On=@click
message @0810 [Fire Avatar]

[events e_resist_storm]
On=@SpellEffect
if (<argn> == 8) || (<argn> == 30) || (<argn> == 49)
sayu * Resist Storm *
return 1
endif
//desmani,lightning,chain lightning

On=@click
message @0810 [Storm Avatar]

[events e_resist_lord]
On=@SpellEffect
if (<argn> == 8) || (<argn> == 12) || (<argn> == 30) || (<argn> == 43) || (<argn> == 51)
sayu * Resist Avatar's *
return 1
endif
//desmani,anmani,lightning,explosion,kal vas flam

On=@click
message @0810 [Lord Of Avatar]

[events e_no_spell]
On=@SpellEffect
if (<argn> == 47) || (<argn> == 39) || (<argn> == 5) || (<argn> == 1) || (<argn> == 3) || (<argn> == 8)) || (<argn> == 43)|| (<argn> == 51)
sayu * Etkilenmez *
return 1
endif

[events e_no_poi]
On=@SpellEffect
if (<argn> == 20)
sayu * Etkilenmez *
return 1
endif

[Events e_Binek_koruma]
on=@gethit
if (<hits> < 20)
sayu * Kendini İyileştirir
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
hits=(<hits> + 75)
endif
if (<act.baseid>=c_vortex)
sayu * Büyü Etkisini Kaldırır *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_blade_spirit)
sayu * Büyü Etkisini Kaldırır *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_daemon)
sayu * Büyü Etkisini Kaldırır *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_bear_polar)
sayu * Büyü Etkisini Kaldırır *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif

//////////////////////////////////////////////////
////////////////////Effect////////////////////////

[plevel 7]
cofuduk

[function cofuduk]
src.newitem 03709
src.sound 0207
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move n 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move s 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move e 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move w 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move near 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move sw 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move nw 1
src.newitem 03709
src.act.p <src.p>
src.act.timer 1
src.act.attr attr_decay
src.act.move se 1

[plevel 7]
pofuduk

[function pofuduk]
src.newitem i_fx_smoke
src.act.color 0800
src.sound 0203
src.act.p <src.p>
src.act.timer 2
src.act.attr attr_decay

src.newitem i_fx_smoke
src.act.color 0800
src.sound 0203
src.act.p <src.p>
src.act.timer 2
src.act.attr attr_decay
src.act.move n 1

src.newitem i_fx_smoke
src.act.color 0800
src.sound 0203
src.act.p <src.p>
src.act.timer 2
src.act.attr attr_decay
src.act.move s 1

src.newitem i_fx_smoke
src.act.color 0800
src.sound 0203
src.act.p <src.p>
src.act.timer 2
src.act.attr attr_decay
src.act.move e 1

src.newitem i_fx_smoke
src.act.color 0800
src.sound 0203
src.act.p <src.p>
src.act.timer 2
src.act.attr attr_decay
src.act.move w 1


//////////////////////////////////////////////////
////////////////////Dialogs///////////////////////

[dialog d_avatar_combine]
150,75

resizepic 0 0 5120 280 110
resizepic 10 10 3000 260 90

dtext 70 20 0821 Lord of Avatar!
dtext 20 40 0821 Yapmak istediginize eminmisiniz ?
dtext 35 70 0821 Evet!
button 20 73 1210 1209 1 0 1

[dialog d_avatar_combine button]
on=1

if !(<restest 1 i_avatar_fire>) || !(<restest 1 i_avatar_storm>)
src.sysmessage @68 Fire ve Storm Avatar yaninizda olmali.
return 1
else
findid.i_avatar_fire.remove
findid.i_avatar_storm.remove
findid.i_avatar_combine.remove
src.newitem i_avatar_lord
src.act.bounce
endif

[eof]
Download : Avatar Sistemi
Boyut: mb - Hit : 69



Yorumlar

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

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : 10.00   
Oylar: 1 den itibaren 01-09-2009 00:04

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Guild sistemi0Mrs.xariyla04-03-2012
House sistemi0Mrs.xariyla04-03-2012
Maaş Sistemi0Kraagnar17-11-2011
Flash üyelik sistemi0Culum25-09-2011
Sorter Account Sistemi0Sorter23-07-2011


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