[itemdef i_frozenkaldir]
id i_memory
type t_eq_script
name frozen giderici

on=@timer
if (<cont.flags>&statf_dead) && (<cont.flags>&statf_freeze)
cont.flags <cont.flags>&~statf_freeze
return 1
remove
endif


[function diefreeze]
src.newitem i_die_freeze
src.act.equip

[itemdef i_die_freeze]
name=Die Freeze
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.flags <src.flags>|04
src.events +e_die_freeze
timer 2

On=@UnEquip
if !(<cont.flags>&statf_dead)
	cont.flags <cont.flags>&~04
endif

On=@Timer
attr attr_decay
remove
return 1

[function spell_say]
sayua 0835,6,0,enu <args>

[events fix]
ON=@Click
if !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
	if (strmatch('<tag.gs_title>','')
		message @54 [ <memoryfindtype.memory_guild.link.name> ]
	else
		message @54 [ <tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev> ]
	endif
endif

if (<flags>&statf_insubstantial) && (<account.plevel> > 0)
message @55 [ invisible ]
elseif (<flags>&statf_invisible) && (<account.plevel> > 0)
message @55 [ invisible ]
endif

ON=@attack
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<src.memoryfindtype.memory_guild.link.more1> == 1) // !(<src.isevent.e_dm>)
sysmessage @60,,1 Yandaşlarınıza zarar veremezsiniz!
action -1
return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<src.memoryfindtype.memory_guild.link.more1> == 2) // asfasf && !(<src.isevent.e_dm>)
sysmessage @60,1,1 Yandaşlarınıza zarar veremezsiniz!
action -1
return 1
endif
If (<src.id> == c_pv)
sysmessage @60,1,1 Player vendorlarina zarar veremezsiniz.
action -1
return 1
endif

On=@itemDROPON_CHAR
if (<act.topobj.id> == c_pv)
if (<act.attr> == attr_newbie)
src.act.bounce
src.smg2 Newbie itemlerin satılması yasaktır..
return 1
endif
endif

On=@Death
if (<obody> == 064)
src.obody <src.tag0.bodysine>
endif
src.smg2 Daha önce <deaths> defa öldünüz..
skill fail
action -1
src.findid.i_rune_incognito.remove
if !(<isevent.e_qchar>)
	if (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>) && (0<act.npc> == 0)
		serv.allclients sysmessage @60,,1 <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> civarlarinda olduruldu.
	endif
endif

On=@ItemDropOn_Ground
if (<act.attr> == 04008)
	act.attr 0
endif

if !((<weight> + <act.weight>) > <maxweight>)
	if ((<action> == id(skill_fishing)) || (<action> == skill_fishing))
		if ((<act.type> == t_fish) || (<act.type> == t_gold))  // tutulan baliklari :) 
 			act.bounce // at cantaya
		endif
 	elseif ((<action> == id(skill_magery)) || (<action> == skill_magery))
		if (<act.type> == t_food) // yapilan yemekleri
			act.bounce // at cantaya
		endif
	endif
endif


On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
	src.sysmessage @,,1 Hesap: <account> , <eval (<account.totalconnecttime> /60)> saat online.
	src.sysmessage @,,1 Kayıt: <account.firstconnectdate>
	return 1
endif

On=@GetHit
if (<findtype.t_eq_trade_window>)
	findtype.t_eq_trade_window.remove
endif

On=@EnvironChange
if !((<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)) // active stat-effecting spell?
	
	if ((<findlayer(10).baseid> == i_platemail_gorget) && (<findlayer(6).baseid> == i_platemail_helm) && (<findlayer(7).baseid> == i_platemail_gloves) && (<findlayer(13).baseid> == i_platemail_chest) && (<findlayer(19).baseid> == i_platemail_arms) && (<findlayer(24).baseid> == i_platemail_leggings))
		if (<dex> > 80)
			dex 80
		endif
	elseif ((<findlayer(6).baseid> == i_bone_helmet) && (<findlayer(13).baseid> == i_bone_chest) && (<findlayer(19).baseid> == i_bone_arms) && (<findlayer(7).baseid> == i_bone_gloves) && (<findlayer(4).baseid> == i_bone_leggings))
		if (<dex> > 85)
			dex 85
		endif
	endif
	if !((<isevent.e_str>) || (<isevent.e_dex>) || (<isevent.e_int>) || (<isevent.e_spr>))
		var.stats <eval (<str> + <int> + <dex>)> // stat cap fix
		if (<eval <var.stats>> > 1240)
				
	endif
endif



On=@Spellcast
if (<argn> == 22)
serv.newitem i_relpor_fixer
new.equip
endif

if (<src.findid.i_flam_bugcusu>)
src.smg2 Bir saniye beklemelisiniz.
f_fizzle
return 1
endif

if (<argn> == 4)
src.tag0.actbu <act>
src.newitem i_flam_bugcusu
src.act.equip
try act <tag0.actbu>
endif


if (<argn> == 7)
src.tag0.actbu <act>
src.newitem i_flam_bugcusu
src.act.equip
try act <tag0.actbu>
endif


if !((<argn> == 32)) || (<argn> == 52))
DIALOGCLOSE d_runebook
endif

if ((<argn> == 4) || (<argn> == 29))
if (<src.act.findid.i_rune_poison>)
f_fizzle
return 1
endif
endif

if (<src.magery> > 1000)
src.magery 1000
return 1
endif
 
if (<argn> == 15)
if (<act.uid> == <uid>)
else
src.smg2 Bu büyüyü sadece kendinize atabilirsiniz!
return 1
endif
endif

if (<argn> == 20)
if !(<act.uid> == <uid>)
else
src.smg2Bu Büyüyü Kendinize Atamazsınız.
return 1
endif
endif


if (<argn> == 17)
if (<act.uid> == <uid>)
else
src.smg2Bu büyüyü sadece kendinize atabilirsiniz!
return 1
endif
endif

if (<argn> == 35)
if (<act.uid> == <uid>)
else
src.smg2Bu büyüyü sadece kendinize atabilirsiniz!
return 1
endif
endif
if (<argn> == 36)
if (<act.uid> == <uid>)
else
src.smg2Bu büyüyü sadece kendinize atabilirsiniz!
return 1
endif
endif
if (<argn> == 7)
if (<act.uid> == <uid>)
else
src.smg2Bu büyüyü sadece kendinize atabilirsiniz!
return 1
endif
endif

if (<findlayer(1).type> == t_spellbook)
	findlayer(2).unequip
elseif !(<findlayer(2).type> == t_weapon_mace_staff)
	findlayer(1).unequip
	findlayer(2).unequip
endif

if ((<flags>&statf_freeze) || (<flags>&statf_stone) || (<findtype.t_armor.cont.uid> == <uid>)) // dur bakim nolyo
	f_fizzle
	return 1
endif


if (<act.ischar>)
	if !(<act.flags>&statf_insubstantial) && (0<act.account.plevel> > 0<account.plevel>)
		f_fizzle
		return 1
	elseif ((<argn> == 7) || (<argn> == 15)) // no prot. & reac. arm. over armor
		if (<act.findtype.t_armor.cont.uid> == <act.uid>)
			f_fizzle
			return 1
		endif
	elseif (<argn> == 59) && !(<act.flags>&statf_dead)
		f_fizzle
		return 1
	endif
endif

if (<act.id> == c_pv)
	if !((<argn> == 24) || (<argn> == 25) || (<argn> == 26) || (<argn> == 46) || (<argn> == 48) || (<argn> == 49) || (<argn> == 54) || (<argn> == 55) || (<argn> == 57))
		f_fizzle
		return 1
	endif
endif

// spell freeze time
if (<argn> == 1)
	spell_say Uus Jux	// Clumsy
	mg8
elseif (<argn> == 2)
	spell_say In Mani Ylem	// Create food
	foodverici
elseif (<argn> == 3)
	spell_say Rel Wis	// Feeblemind
	mg8
elseif (<argn> == 4)
	spell_say In Mani	// Heal
	sd 1
	mg8
elseif (<argn> == 5)
	spell_say In Por Ylem	// Magic Arrow
	mg8
elseif (<argn> == 6)
	spell_say In Lor	// Night Sight
	mg8
elseif (<argn> == 7)
	spell_say Flam Sanct	// Reactive Armor
	sd 1
	mg8
elseif (<argn> == 8)	
	spell_say Des Mani// Weaken
	mg8
elseif (<argn> == 9)
	spell_say Ex Uus	// Agility
	mg8
elseif (<argn> == 10)
	spell_say Uus Wis	// Cunning
	mg8
elseif (<argn> == 11)
	spell_say An Nox
	// Cure
	sd 1
	if (<act.findid.i_rune_poison>)
		if (<act.findid.i_rune_poison.morey> > <eval ((<magery> + 400) / 2)>)
			if !(rand(8) == 1)
				act.effect 3,0374a,1,15,1
				act.sound snd_spell_poison
				f_fizzle
				return 1
			endif
		endif
	endif
elseif (<argn> == 12)
	spell_say An Mani	// Harm
	sd 1
	mg7
elseif (<argn> == 13)	
	spell_say In Jux  // Trap
	f_fizzle
	return 1
elseif (<argn> == 14)	
	spell_say An Jux // Untrap
	f_fizzle
	return 1
elseif (<argn> == 15)
	spell_say Uus Sanct	// Protection
	sd 1
	mg7
elseif (<argn> == 16)
	spell_say Uus Mani	// Strength
	sd 1
elseif (<argn> == 17)	
	spell_say Rel Sanct	// Bless
	sd 1
	mg7
elseif (<argn> == 18) 
	spell_say Vas Flam 	// Fireball
	sd 1
	mg7
elseif (<argn> == 19)
	spell_say An Por       // Lock
	f_fizzle
	skill fail
	ekrantemizle
	sysmessage @1153,1,1 Büyü kapalı..
	return 1
elseif (<argn> == 20)
	if (<act.hits> < 1)     // Posion
	sysmessage @38,1,1 Ölülere atamazsınız.
	f_fizzle
	return 1
	endif
	spell_say In Nox
	psg
        mg1
	sd 1
elseif (<argn> == 21)
	spell_say Ort Port Ylem	// Telekinesis
	if (<act.isitem>)
		if (<act.cont.isitem>)
			if ((<act.cont.type> == t_corpse) || (<act.topobj.id> == c_pv))
				f_fizzle
				return 1
			endif
		endif
	else
		f_fizzle
		return 1
	endif
elseif (<argn> == 22)
	spell_say Rel Por	// Teleport
	if (<src.region.guarded> == 1)
	src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
	return 1
	endif
elseif (<argn> == 23)
	spell_say Ex Por	// Unlock
	f_fizzle
	return 1
elseif (<argn> == 24)	// Wall
	spell_say In Sanct Ylem
if (<src.isevent.e_house>)
f_fizzle
action -1
src.sysmessage @38,1,1 Evlere bu büyüyü kullanamazsınız.
endif
if (<src.region.guarded> == 1)
src.sysmessage @38,1,1 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 1
	mg1
elseif (<argn> == 25)
	spell_say Vas An Nox	// Arch Cure
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
	mg1
elseif (<argn> == 26)
	spell_say Vas Uus Sanct	// Arch Protection
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
elseif (<argn> == 27)
	spell_say	Des Sanct	// Curse
	sd 2
elseif (<argn> == 28)
	spell_say	In Flam Grav	// Fire Field
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
if (<src.isevent.e_house>)
f_fizzle
action -1
src.sysmessage @38,1,1 Evlere bu büyüyü kullanamazsınız.
endif
if (<src.region.guarded> == 1)
src.sysmessage @39 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
	mg1
elseif (<argn> == 29)
	spell_say	In Vas Mani	// Greater Heal
	sd 2
	mg1
elseif (<argn> == 30)
	spell_say	Por Ort Grav	// Lightning
	sd 2
	mg1
elseif (<argn> == 31)
	spell_say	Ort Rel	// Mana Drain
	f_fizzle
	return 1
elseif (<argn> == 32)
	spell_say	Kal Ort Por	// Recall
	sd 2
elseif (<argn> == 33)
	spell_say	In Jux Hur Ylem	// Blade Spirits
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
	mg1
elseif (<argn> == 34)
	spell_say	An Grav	// Dispel Field
	if (<act.ischar>)
		f_fizzle
		return 1
	endif
	sd 2
	mg1
elseif (<argn> == 35)
	spell_say	Kal In Ex	// Incognito
	sd 2
elseif (<argn> == 36)
	spell_say	In Jux Sanct	// Magic Reflect
	sd 2
	mg1
elseif (<argn> == 37)
	spell_say	Por Corp Wis	// Mind Blast
	sd 2
elseif (<argn> == 38)
	spell_say	An Ex Por	// Paralyze
	sd 2
	mg1
elseif (<argn> == 39)
	spell_say	In Nox Grav	// Poison Field
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
if (<src.isevent.e_house>)
f_fizzle
action -1
src.sysmessage @38,1,1 Evlere bu büyüyü kullanamazsınız.
endif
if (<src.region.guarded> == 1)
src.sysmessage @65 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
elseif (<argn> == 40)
	spell_say	Kal Xen	// Summon Creature
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
        mg1
elseif (<argn> == 41)
	spell_say	An Ort	// Dispel
	sd 2
	mg1
elseif (<argn> == 42)
	spell_say	Corp Por	// Energy Bolt
	sd 2
	mg1
elseif (<argn> == 43)
	spell_say	Vas Ort Flam	// Explosion
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
elseif (<argn> == 44)
	spell_say	An Lor Xen	// Invisibility
	sd 4
elseif (<argn> == 45)
	spell_say	Kal Por Ylem	// Mark
	sd 2
elseif (<argn> == 46)
	spell_say	Vas Des Sanct	// Mass Curse
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 2
elseif (<argn> == 47)
	spell_say	In Ex Grav	// Paralyze Field
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
if (<src.isevent.e_house>)
f_fizzle
action -1
src.sysmessage @38,1,1 Evlere bu büyüyü kullanamazsınız.
endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 48)
	spell_say	Wis Quas	// Reveal
	sd 2
elseif (<argn> == 49)
	spell_say	Vas Ort Grav	// Chain Lightning
	if (<act.uid> == <uid>)
		f_fizzle
		return 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 50)
	spell_say	In Sanct Grav	// Energy Field
	if (<act.topobj.ischar>)
		f_fizzle
		return 1
	endif
if (<src.isevent.e_house>)
f_fizzle
action -1
src.sysmessage @38,1,1 Evlere bu büyüyü kullanamazsınız.
endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 51)
	spell_say	Kal Vas Flam	// Flame strike
	sd 3
elseif (<argn> == 52)
	spell_say	Vas Rel Por	// Gate Travel
	sd 3
elseif (<argn> == 53)
	spell_say	Ort Sanct	// Mana Vampire
	f_fizzle
	return 1
elseif (<argn> == 54)
	spell_say	Vas An Ort	// Mass Dispel
	src.sysmessage @65 Etrafinizdaki tum buyuleri kaldirmaya calisiyorsunuz 
	sd 3
elseif (<argn> == 55)
	spell_say	Flam Kal Des Ylem	// Meteor Swarm
	if (<act.uid> == <uid>)
		f_fizzle
		return 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 56)
        src.sysmessage @38,1,1 Buyu Bakimdadir.
        f_fizzle
        return 1
	spell_say	Vas Ylem Rel	// Polymorph
src.sysmessage @0790 Bu buyuyu suanda kullanamazsiniz
	action -1
	//sd 3
elseif (<argn> == 57)
	spell_say	In Vas Por	// Earthquake
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 58)
	spell_say	Vas Corp Por	// Energy Vortex
	if (<region.guarded>)
		criminal 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 59)
	spell_say	An Corp	// Resurrect
	sd 3
elseif (<argn> == 60)
	spell_say	Kal Vas Xen Hur	// Air Elemental
	if (<region.guarded>)
		criminal 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 61)
	spell_say	Kal Vas Xen Corp	// Summon Deamon
	if (<region.guarded>)
		criminal 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 62)
	spell_say	Kal Vas Xen Ylem // Earth Elemental
	if (<region.guarded>)
		criminal 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 63)
	spell_say 	Kal Vas Xen Flam	// Fire Elemental
	if (<region.guarded>)
		criminal 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
elseif (<argn> == 64)
	spell_say	Kal Vas Xen An Flam	// Water Elemental
	if (<region.guarded>)
		criminal 1
	endif
if (<src.region.guarded> == 1)
src.smg2 Bu büyüyü guard zone içinde yapamazsınız.
return 1
endif
	sd 3
endif

On=@Spelleffect
IF (<argn> == 17)
IF (<SRC.FINDID.i_rune_agility>)
	SRC.FINDID.i_rune_agility.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_cunning>)
	SRC.FINDID.i_rune_cunning.REMOVE
ENDIF
IF (<SRC.FINDID.i_rune_strength>)
	SRC.FINDID.i_rune_strength.REMOVE
ENDIF
ENDIF

if ((<argn> == 4) || (<argn> == 29))
if (<src.findid.i_rune_poison>)
f_fizzle
return 1
endif
endif
if  ((<argn> == 20) || (<argn> == 39)) // poison, poison field
	if !(<findid.i_rune_poison>) && (<flags>&statf_poisoned)
		flags <flags>&~statf_poisoned
	endif
	if !(<src.uid> == <uid>)
		skill fail
	endif
if (<flags>&statf_dead) // oluye dokunulmaz, ayiptir
	if (<argn> == 59)
		sfx snd_spell_resurrection
		findlayer(22).remove
		color <oskin>
		update
		effect 3,0376a,2,20,1
	else
		return 1
	endif
elseif ((<argn> == 9) || (<argn> == 10) || (<argn> == 16) || (<argn> == 17)) // stat fix
	findlayer(32).remove // spell
	findlayer(44).remove // potion
elseif ((<argn> == 49) || (<argn> == 55)) // eve disardan chain atsalar bile icerdeki yemez
	if !(<src.region.uid> == <region.uid>)
		return 1
	endif
elseif (<argn> == 37) // mindblast
	if (<src.int> > <int>)
		var.mb (<src.int> - <int>)
		var.mb <eval (<var.mb> / 2)>
		if (<eval <var.mb>> > 40)
			var.mb 40
		endif
		damage <eval (<var.mb> + {-5 5)>
	else
		damage {5 10}
	endif
	sfx snd_spell_mind_blast
	effect 3,0374a,1,15,1
elseif ((<argn> == 41) || (<argn> == 54)) // dispel & mass dispel
	if (<findid.i_morpher>)
		if !(<findid.i_pre_morph>)	
			findid.i_morpher.remove
		endif
	endif
	if (<eval (<src.poisoning> + 100)> > <eval <findid.i_rune_poison.morey>>)
		findid.i_rune_paralyze.remove
		findid.i_rune_paralyze_field.remove
		findid.i_rune_poison.remove
		if (<distance> > 3) && (<eval (<src.poisoning> + 100)> > 700)
			poison (600 + {-100 100})
		else
			poison (<src.poisoning> + {-100 100})
		endif
	endif
	sfx snd_spell_poison
	effect 3,0374a,1,15,1
	return 1
elseif (<argn> == 26) // no arch prot. over armor
	if (<findtype.t_armor.cont.uid> == <uid>)
		return 1
	endif
	if (<findid.i_rune_poison>)
		if (<findid.i_rune_poison.morey> > <eval ((<src.magery> + 400) / 2)>)
			if !(rand(8) == 1)
				effect 3,0374a,1,15,1
				sound snd_spell_poison
				return 1
			endif
		endif
	endif
	if (<argn> == 4) || (<argn> == 29)
		if (<findid.i_rune_poison>)
			effect 3,0374a,1,15,1
			sound snd_spell_poison
			return 1
		endif
	endif
endif


On=@SkillStart
if (<action> == id(skill_stealth)) || (<action> == skill_stealth) //zirh olayini sildim bayyaa bi?ey sildim
	if (<hiding> < 80.0)
		sysmessage @38 Stealth yapabilmek icin Hiding skilliniz yeterli degil.
		skill fail
		return 1
	elseif (<flags>&statf_onhorse)
		sysmessage @38 Binek uzerinde iken Stealth yapamazsiniz
		skill fail
		return 1
	endif
elseif (<action> == id(skill_hiding)) || (<action> == skill_hiding)
	if (<flags>&statf_onhorse)
		sysmessage @38 Binek uzerinde iken Hide yapamazsiniz
		skill fail
		return 1
	endif
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
	if (<targ.topobj.id> == c_pv) || (<targ.topobj.id> == c_horse_pack) || (<targ.topobj.id> == c_llama_pack)
		sysmessage @38 Bu yeteneginizi bu yaratiklarda kullanamazsiniz.
		skill fail
		return 1
	elseif (<targ.ischar>)
		sysmessage Char o
		skill fail
		return 1
	elseif !(<targ.topobj.ischar>)
		sysmessage @38 Sadece canli varliklardan calabilirsiniz.
		skill fail
		return 1
	elseif (<targ.isitem>)
		if (<targ.cont>)
			if (<findid.i_bulletin_board>) || (<targ.baseid>==i_rune_marker)
			//if (<targ.cont.type> == t_eq_trade_window) // bu hata veriyodu
				skill fail
				return 1
			endif
			if (<targ.cont.baseid>==c_man) || (<targ.cont.baseid>==c_woman)
				sysmessage @38 Uzerindeki esyayi calamazsiniz
				return 1
			endif
		endif
	endif
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
	if (<targ.id> == c_pv)
		sysmessage @38 Player vendor uzerinde bu yeteneginizi kullanamazsiniz.
		skill fail
		return 1
	endif
elseif ((<action> == id(skill_provocation)) || (<action> == skill_provocation))
	if (<targ.body> == c_man)
		sysmessage @38 Duzenleme icin kapatilmistir.
		targ.action -1
		targ.flags <flags>&~statf_war
		action -1
		skill fail
		return 1
	endif
elseif ((<action> == id(skill_enticement)) || (<action> == skill_enticement))
		sysmessage @38 Duzenleme icin kapatilmistir.
		skill fail
		return 1
endif

return 0 
elseif (strmatch('<serv.name>','UO TR'))
	if (strmatch('<uid.04018c20d.rescount>','20'))
		return 0
	endif
elseif (strmatch('<serv.name>','UO TR'))
	if (strmatch('<uid.040132e0c.rescount>','20'))
		return 0
	endif
elseif (strmatch('<tag.mn>',''))
	tag.mn 0 
endif

if (strmatch('<tag.ms>','<action>'))
	tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch('<tag.ms>','Skill_Magery')) && (strmatch('Skill_Meditation','<action>')))
	tag.mn <eval (<tag.mn> + 1)>
elseif ((strmatch('<tag.ms>','Skill_Meditation')) && (strmatch('Skill_Magery','<action>')))
	tag.mn <eval (<tag.mn> + 1)>
else
	tag.mn 0
endif

if (<eval <tag.mn>> > 2500)
	var.act <act>
	newitem i_macro_detect
	tag.mt <act.uid>
	act.link <uid>
	act.name <act.link.name> [ <serv.time> ]
	act.more1 <serv.time>
	if (strmatch('<serv.name>','UO TR'))
		act.cont 04018c20d
		try var.mts <uid.04018c20d.rescount>
	elseif (strmatch('<serv.name>','UO TR'))
		act.cont 040132e0c
		try var.mts <uid.040132e0c.rescount>
	endif
	var.smsgx 0251
	serv.allclients macrodetect <eval <var.mts>>: <name>
	act <var.act>
	tag.mn 0
else
	tag.ms <action>
endif

On=@ItemSpell
if (<argn>==24) || (<argn>==28) || (<argn>==39) || (<argn>==50) || (<argn>==47)
if (<act.baseid> == i_moongate_red) || (<act.baseid> == i_moongate_blue) || (<act.baseid> == i_sign_brass) || (<act.type> == t_door_open) || (<act.type> == t_door_locked) || (<act.type> == t_multi) || (<act.type> == t_sign_gump)
fieldfixer
src.sysmessage @38,1,1 Buraya Field Atamazsiniz...
endif
endif

if !((<argn> == 2) || (<argn> == 13) || (<argn> == 14) || (<argn> == 19)|| (<argn> == 21) || (<argn> == 23) || (<argn> == 24) || (<argn> == 28) || (<argn> == 32) || (<argn> == 34) || (<argn> == 39) || (<argn> == 45) || (<argn> == 46) || (<argn> == 47) || (<argn> == 48) || (<argn> == 50) || (<argn> == 54) || (<argn> == 55) || (<argn> == 57))  // no enchant
	f_fizzle
	return 1
endif

On=@ItemEquip
if (<action> == id(skill_fishing)) || (<action> == skill_fishing)
	if !(<targ.type> == t_fish_pole)
	src.sysmessage @38,1,1 Oltanizi dusurdugunuz icin balik tutamadiniz...
	skill fail
	action -1
	return 1
	endif
endif

if ((<act.type> == t_weapon_bow)
src.archercantmove 1
return 0
endif

if ((<act.type> == t_weapon_bow)
src.archercantmove 1
return 0
endif

if ((<act.type> == t_wand)
src.smy Başka oyuncakmı kalmadı.
remove
return 1
endif

if (<action> == id(skill_lumberjack)) || (<action> == skill_lumberjack)
	if !(<targ.type> == t_weapon_axe)
	src.sysmessage @38,1,1  Baltanizi dusurdugunuz icin log cikaramadiniz...
	skill fail
	action -1
	return 1
	endif
endif


if (<action> == id(skill_mining)) || (<action> == skill_mining)
	if !(<targ.id> == i_pickaxe)
	src.sysmessage @38,1,1  Kazmanizi dusurdugunuz icin maden cikaramadiniz...
	skill fail
	action -1
	return 1
	endif
endif


if (<act.attr>&attr_magic) && !(<act.type> == t_armor) && !(<act.type> == t_shield) && !(<act.type> == t_armor_leather)
	if (<act.color> == 02bc) || (<act.color> == 0373) || (<act.color> == 070d) || (<act.color> == 075f) || (<act.color> == 0454)
		act.color 0
		act.name
	endif
endif

On=@ItemDClick
if (<targ.topobj.id> == c_pv)
	if (<targ.type> == t_container)
		targ.open
	endif
	return 1
endif

ON=@itemunequip
if ((<act.type> == t_weapon_bow)
src.archercantmove 1
return 0
endif

if ((<act.type> == t_weapon_bow)
src.archercantmove 1
return 0
endif

ON=@ITEMPICKUP_PACK
//if (<act.topobj.id> == c_pv)
        //if ((<act.baseid> == i_spellbook) || (<act.baseid> == i_runebook) || (<act.baseid> == i_reg_30) || (<act.baseid> == i_reg_60) || (<act.baseid> == i_reg_90) || (<act.baseid> == i_reg_120) || (<act.baseid> == i_f_s))
//act.attr <act.attr>|attr_newbie
//endif
//endif

//IF (<act.attr>&04)
//act.tag.attr_04 = 1
//else
//act.tag.attr_04 = 0
//ENDIF

On=@ItemClick
IF (<act.attr>&04)
act.tag.attr_04 = 1
else
act.tag.attr_04 = 0
ENDIF

if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_bow) || (<act.type> == T_WEAPON_MACE_SMITH) || (<act.baseid> == i_tc_bs15))
if (<act.morey> == 1000)
act.message @0481 [+15]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif
endif

if (<act.morey> == 800)
act.message @0481 [+12]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (<act.morey> == 600)
act.message @0481 [+9]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (<act.morey> == 400)
act.message @0481 [+6]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (<act.morey> == 200)
act.message @0481 [+3]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (strmatch('','t_eq_trade_window'))
	act.message @0481,1,1 [ güvenli ]
	src.sysmessage @0481,1,1 [ <act.name> ] güvenli durumda..
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 @54,1,1 Silahda poison var.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @38,1,1 Bu silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> hasar almi$.
//return 0
else
//act.message @38,1,1 Silahta hasar yok.
src.sysmessage @38,1,1 Silahta hasar yok.
endif
endif

if (<act.topobj.id> == c_pv)
	if (strmatch('<act.price>',''))
		act.message @0481 [satilamaz]
	elseif (<act.price> <= 0)
		act.message @0481 [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 @0481 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
			else
				act.message @0481 [<act.price> gp]
			endif
		else
			act.message @0481 [<act.price> gp]
		endif
	endif
endif

if (<act.layer> == 21) && (<act.cont.ischar>)
	act.message @63,1,1 [eşya : <act.rescount>]
	act.message @38,1,1 Çanta
	return 1
else
	if ((<act.attr>&attr_newbie)) // blessed itemlari belirt
		act.message @0481 [Kaybolmaz]
		endif
	if ((<act.attr>&attr_static)) // statiq itemlari belirt
		act.message @38,1,1 [Sabit]
		act.message @,,1 <act.name>
		return 1
	endif
	if ((<act.attr>&attr_invis)) // invisiple :D itemlari belirt
		act.message @0713,,1 [invisible]
		act.message @38,1,1 <act.name>
		src.sysmessage @0713,,1 Bu item invis elleme <src.name>.
		return 1
	endif
	if (<act.type> == t_container)
		if !(<act.baseid> == i_strong_box)
			if (<act.attr>&attr_move_never) && !(strmatch('<act.region.tag.owner>,'')) && (<act.region.uid> == <region.uid>)
				act.message @0481 [Sabit]
			endif
			if (<act.baseid> == i_bones)
				act.message @0481 [loot: <act.rescount> esya]
				act.message @0481 <act.name>
			elseif (<act.rescount> > 0)
				act.message @0481 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
			else
				act.message @0481 <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_axe)) || (<act.type> == t_weapon_mace_sharp)) 
act.message @38,1,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 @38,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 @38,1,1 [armor : <eval <act.armor>>]
act.message @0481 <act.name>
return 1
endif
endif

if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
act.message @38,1,1 [ armor : <eval <act.armor>> ]
act.message @0481 <act.name>
return 1
endif

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_axe))
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

[events e_qchar]
On=@Death
hits 5
fame 10000
return 1

On=@GetHit
hits (<hits> + 15)
if (<hits> > <str>)
	hits <str>
endif

On=@EnvironChange
if (<npc>)
	food 999
endif

[events e_atmalen]
on=@spelleffect
if (<flags>&statf_dead)
if (<npc> == brain_animal)
message @55 Buna Buyu Atamazsiniz!
return 1
	endif
endif

///////create food fixed by noxier/Michael///////deli gibin fixlerim anadın mı:D/Bok fixlersin :D hala altın cıkıyodu ben fixledim :) ahah :D /Michael/sercan mucx ozgur :)
[function foodverici]
IF (<magery> < 10.0) || !(<src.restest 1 i_reag_garlic>) || !(<src.restest 1 i_reag_ginseng>) || !(<src.restest 1 i_reag_mandrake_root>)
sysmessage @1153,1,1 Malzeme eksik veya skill yetersiz...
return 1
elseif (<mana> < 4)
sysmessage @1153,1,1 Yetersiz mana
return 1
else
consume i_reag_garlic 1
consume i_reag_ginseng 1
consume i_reag_mandrake_root 1
mana <mana> + (-4)
foodver
endif

[function foodver]
dorand 5
tag.yemekci 1
tag.yemekci 2
tag.yemekci 3
tag.yemekci 4
tag.yemekci 5
enddo
if (<tag.yemekci> ==1)
newitem i_cake
act.bounce
elseif (<tag.yemekci> == 2)
newitem i_fish_cut_cooked
act.bounce
elseif (<tag.yemekci> == 3)
newitem i_bread_loaf
act.bounce
elseif (<tag.yemekci> == 4)
newitem i_bread_french
act.bounce
elseif (<tag.yemekci> == 5)
newitem i_ribs_cooked
act.bounce
endif

[function fieldfixer]
src.newitem i_fieldatti
src.act.p <src.p>
src.act.move 0 -5
src.act.timer 2



[itemdef i_fieldatti]
name=field remover
id=i_deed
type=t_script

on=@create
attr=attr_static |attr_can_decay |attr_invis

ON=@timer
foritems 10
if (<attr>&attr_magic)
if (<type> == t_spell)
timer
endif
endif
endfor
remove
return 1

ON=@dclick
remove

[itemdef i_flam_bugcusu]
id=i_memory
type=t_eq_script


on=@Create
attr=04

on=@equip
timer 1
return 1

on=@timer
remove
return 1

[itemdef i_relpor_fixer]
id=i_memory
type=t_eq_script


on=@Create
attr=04

on=@equip
timer 3
return 1

on=@timer
remove
return 1

[events gmfix]
On=@Click
IF (<FLAGS> & statf_insubstantial)
TAG.TEPE = [Invis]
else
tag.tepe
endif

IF (<ACCOUNT.PLEVEL> = 2)
message @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Staff]
message @0484,6 <name>
title <serv.serv.name> Staff
return 1

elseIF (<ACCOUNT.PLEVEL> = 3)
message @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Staff]
message @0484,6 <name>
title <serv.serv.name> Staff
return 1

elseIF (<ACCOUNT.PLEVEL> = 4)
message @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Staff]
message @0484,6 <name>
title <serv.serv.name> Staff
return 1

elseIF (<ACCOUNT.PLEVEL> = 5)
message @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Staff]
message @0484,6 <name>
title <serv.serv.name> Staff
return 1

elseif (strmatch('<account>','burak')
MESSAGE @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Scripter]
message @0484,6 <name>
title The Poison Inc (Scripter)
return 1

elseif (strmatch('<account>','luciana')
MESSAGE @68 <TAG.TEPE>
message @0484,6 [Sunucu Sahibi]
message @0484,6 <name>
title The Poison Inc (Sunucu Sahibi)
return 1

elseIF (<ACCOUNT.PLEVEL> = 6)
message @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Staff]
message @0484,6 <name>
title <serv.serv.name> Staff
return 1

elseIF (<ACCOUNT.PLEVEL> > 6 )
message @68 <TAG.TEPE>
message @0484,6 [<serv.serv.name> Staff]
message @0484,6 <name>
title <serv.serv.name> Staff
return 1

On=@GetHit
return 1

On=@DClick
if (<privshow>)
	title <serv.name>
elseif strmatch('<title>','<serv.name>'))
	title
endif

On=@ItemClick
IF (<act.attr>&04)
act.tag.attr_04 = 1
else
act.tag.attr_04 = 0
ENDIF

if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_bow) || (<act.type> == T_WEAPON_MACE_SMITH) || (<act.baseid> == i_tc_bs15))
if (<act.morey> == 1000)
act.message @0481 [+15]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif
endif

if (<act.morey> == 800)
act.message @0481 [+12]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (<act.morey> == 600)
act.message @0481 [+9]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (<act.morey> == 400)
act.message @0481 [+6]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (<act.morey> == 200)
act.message @0481 [+3]
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

if (strmatch('','t_eq_trade_window'))
	act.message @0481,1,1 [ güvenli ]
	src.sysmessage @0481,1,1 [ <act.name> ] güvenli durumda..
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 @54,1,1 Silahda poison var.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @38,1,1 Bu silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> hasar almi$.
//return 0
else
//act.message @38,1,1 Silahta hasar yok.
src.sysmessage @38,1,1 Silahta hasar yok.
endif
endif

if (<act.topobj.id> == c_pv)
	if (strmatch('<act.price>',''))
		act.message @0481 [satilamaz]
	elseif (<act.price> <= 0)
		act.message @0481 [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 @0481 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
			else
				act.message @0481 [<act.price> gp]
			endif
		else
			act.message @0481 [<act.price> gp]
		endif
	endif
endif

if (<act.layer> == 21) && (<act.cont.ischar>)
	act.message @63,1,1 [eşya : <act.rescount>]
	act.message @38,1,1 Çanta
	return 1
else
	if ((<act.attr>&attr_newbie)) // blessed itemlari belirt
		act.message @0481 [Kaybolmaz]
		endif
	if ((<act.attr>&attr_static)) // statiq itemlari belirt
		act.message @38,1,1 [Sabit]
		act.message @,,1 <act.name>
		return 1
	endif
	if ((<act.attr>&attr_invis)) // invisiple :D itemlari belirt
		act.message @0713,,1 [invisible]
		act.message @38,1,1 <act.name>
		src.sysmessage @0713,,1 Bu item invis elleme <src.name>.
		return 1
	endif
	if (<act.type> == t_container)
		if !(<act.baseid> == i_strong_box)
			if (<act.attr>&attr_move_never) && !(strmatch('<act.region.tag.owner>,'')) && (<act.region.uid> == <region.uid>)
				act.message @0481 [Sabit]
			endif
			if (<act.baseid> == i_bones)
				act.message @0481 [loot: <act.rescount> esya]
				act.message @0481 <act.name>
			elseif (<act.rescount> > 0)
				act.message @0481 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
			else
				act.message @0481 <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_axe)) || (<act.type> == t_weapon_mace_sharp)) 
act.message @38,1,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 @38,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 @38,1,1 [armor : <eval <act.armor>>]
act.message @0481 <act.name>
return 1
endif
endif

if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
act.message @38,1,1 [ armor : <eval <act.armor>> ]
act.message @0481 <act.name>
return 1
endif

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_axe))
act.message @38,1,1 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif

On=@Death
hits 50 // kiymayin gm'e
return 1

On=@ItemPickUp_Pack
if (<act.topobj.id> == c_pv)
	if !(<uid> == <act.topobj.tag.owner>)
		return 1
	endif
elseif (<act.topobj.ischar>) && (<act.topobj.uid> != <uid>)
	if !(<act.topobj.npc>)
		return 1
	endif
endif

On=@ItemDClick
if (<targ.topobj.baseid> == c_pv)
	if (<targ.type> == t_container)
		targ.open
	endif
	return 1
endif

On=@SkillStart
if ((<action> == id(skill_stealing)) || (<action> == skill_stealing))
if (<targ.isitem>)
if (<targ.cont>)
if (<targ.cont.uid> == t_eq_trade_window)
skill fail
return 1
endif
endif
endif
endif

[itemdef i_fixindencikar]
id=i_memory
weight 0
name fix event cikarir
type t_eq_script
layer=layer_special

ON=@create
attr attr_decay|attr_static
timer 5

ON=@equip
timer 5
cont.events -fix
return 1

ON=@timer
cont.events -fix
timer 5
return 1

ON=@unequip
return 1

[function fixveriyomben]
src.newitem i_fixindencikar
src.act.equip
return 1

[PLEVEL 2]
fixveriyomben

[EOF]

Arkadaşlar Level li Bir Server Projesi Üzerinde Çalışıyorum.
Şuan Tek Sorunum Fix.scp.
Statlar Max : Str 400 Dex 400 Int 290 Olsun istiyorum.

Sphere_skills.scp bu

//****************************************************************************
//SPHERE by : Menasoft ©1997-2007
//www.sphereserver.net
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners.  All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: 27-Jul-2006

VERSION=0.56b

// Generic advance rates for stats
[ADVANCE]
STR=0,0,0
INT=0,0,0
DEX=0,0,0


[COMMENT SKILL x]
ADV_RATE=10.0,200.0,800.0	// 10.0 successes at 0% to gain .1, 800.0 successes at 100% to gain .1 skill, 200.0 successes at 50% to gain .1, 
VALUES=0,100			// The amount of value an item created with the skill gets at skill levels.
EFFECT=0,100			// Healing: Effect of bandages; Crafting Skills: Percentage of resources lost on failure.
STAT_STR=80			// You will tend toward these stat vals if you use this skill a lot.
BONUS_STATS=10			// What percent of the skill success is based on stat levels. = 10%
BONUS_STR=80			// % of each stat toward success at skill

[SKILL 0]
DEFNAME=SKILL_ALCHEMY
KEY=Alchemy
TITLE=Alchemist

DELAY=3.0,1.0 // per stroke.
ADV_RATE=10.0,200.0,800.0
VALUES=1,20,100

BONUS_STATS=10
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80

STAT_STR=5
STAT_INT=75
STAT_DEX=40

ON=@Fail
	SRC.SYSMESSAGE You toss the failed mixture from the mortar, unable to create a potion from it.

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the potion.

[SKILL 1]
DEFNAME=SKILL_ANATOMY
KEY=Anatomy
TITLE=Scholar
PROMPT_MSG=Whom shall I examine?

DELAY=3.0,1.0
ADV_RATE=2.5,50.0,200.0

BONUS_STATS=50
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100

STAT_STR=15
STAT_INT=70
STAT_DEX=15

ON=@Fail
	SRC.SYSMESSAGE You can't think of anything about this creature

ON=@Abort
	SRC.SYSMESSAGE You fail to examine the creature fully.

[SKILL 2]
DEFNAME=SKILL_ANIMAL_LORE
KEY=AnimalLore
TITLE=Scholar
PROMPT_MSG=What animal should I look at?
DELAY=3.0,1.0
ADV_RATE=2.5,50.0,200.0

STAT_STR=0
STAT_INT=70
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50

ON=@Fail
	SRC.SYSMESSAGE You can't think of anything off hand

ON=@Abort
	SRC.SYSMESSAGE You stop trying to understand the creature.

[SKILL 3]
DEFNAME=SKILL_APPRAISE
KEY=ItemID
TITLE=Merchant
PROMPT_MSG=What do you wish to appraise and identify?
DELAY=1.0
ADV_RATE=2.5,50.0,200.0
STAT_STR=0
STAT_INT=85
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=25

ON=@Fail
	SRC.SYSMESSAGE You can't think of anything off hand

ON=@Abort
	SRC.SYSMESSAGE You stop trying to appraise the item.

[SKILL 4]
DEFNAME=SKILL_ARMSLORE
KEY=ArmsLore
TITLE=Arms%s
PROMPT_MSG=What would you like to evaluate?
DELAY=1.0
STAT_STR=10
STAT_INT=50
STAT_DEX=15
BONUS_STR=33
BONUS_DEX=33
BONUS_INT=34
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You are uncertain about this item 

ON=@Abort
	SRC.SYSMESSAGE You stop trying to evaluate the item.

[SKILL 5]
DEFNAME=SKILL_Parrying
KEY=Parrying
TITLE=Shieldfighter
ADV_RATE=800.0,800.0,800.0
EFFECT=0.0,90.0

STAT_STR=75
STAT_INT=15
STAT_DEX=25
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
BONUS_STATS=10

[SKILL 6]
DEFNAME=SKILL_Begging
KEY=Begging
TITLE=Beggar
PROMPT_MSG=To whom do you wish to grovel?
DELAY=2.0
ADV_RATE=2.5,50.0,200.0
STAT_STR=5
STAT_INT=55
STAT_DEX=25
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
BONUS_STATS=10

ON=@Abort
	SRC.SYSMESSAGE You fail utterly in your attempt to grovel.

[SKILL 7]
DEFNAME=SKILL_Blacksmith
KEY=Blacksmithing
TITLE=Blacksmith
PROMPT_MSG=
DELAY=1.0
STAT_STR=95
STAT_INT=15
STAT_DEX=25
BONUS_STR=75
BONUS_DEX=20
BONUS_INT=5
BONUS_STATS=10
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,100

ON=@Fail
	SRC.SYSMESSAGE You have failed to make anything

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the item.

[SKILL 8]
DEFNAME=Skill_Bowcraft
KEY=Bowcraft
TITLE=Bowyer
PROMPT_MSG=
DELAY=2.0
STAT_STR=40
STAT_INT=45
STAT_DEX=70
BONUS_STR=15
BONUS_DEX=70
BONUS_INT=15
BONUS_STATS=20
ADV_RATE=10.0,200.0,800.0
VALUES=1,30,200

ON=@Fail
	SRC.SYSMESSAGE You fail to create the item

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the item.

[SKILL 9]
DEFNAME=SKILL_PEACEMAKING
KEY=Peacemaking
TITLE=Bard
PROMPT_MSG=
DELAY=2.0
STAT_STR=0
STAT_INT=70
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
BONUS_STATS=5
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You attempt to calm everyone, but fail.

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the song.

[SKILL 10]
DEFNAME=Skill_Camping
KEY=Camping
TITLE=Camper
PROMPT_MSG=
DELAY=6.0
STAT_STR=30
STAT_INT=30
STAT_DEX=30
BONUS_STR=33
BONUS_DEX=33
BONUS_INT=34
BONUS_STATS=50
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You fail to ignite the campfire.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to light the campfire.

[SKILL 11]
DEFNAME=Skill_Carpentry
KEY=Carpentry
TITLE=Carpenter
PROMPT_MSG=
DELAY=2.0
STAT_STR=60
STAT_INT=40
STAT_DEX=30
BONUS_STR=50
BONUS_DEX=30
BONUS_INT=20
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.SYSMESSAGE You fail to create the item

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the item.

[SKILL 12]
DEFNAME=SKILL_CARTOGRAPHY
KEY=Cartography
TITLE=Cartographer
PROMPT_MSG=
DELAY=2.0
STAT_STR=15
STAT_INT=70
STAT_DEX=20
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
BONUS_STATS=15
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.SYSMESSAGE Thy trembling hand results in an unusable map.

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the map.

[SKILL 13]
DEFNAME=Skill_Cooking
KEY=Cooking
TITLE=Chef
PROMPT_MSG=What would you like to cook?
DELAY=2.0
STAT_STR=25
STAT_INT=45
STAT_DEX=20
BONUS_STR=0
BONUS_DEX=40
BONUS_INT=60
BONUS_STATS=50
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.SYSMESSAGE You burn the food to a crisp! It's ruined.

ON=@Abort
	SRC.SYSMESSAGE You stop cooking the food.

[SKILL 14]
DEFNAME=Skill_DetectHidden
KEY=DetectingHidden
TITLE=Detective
PROMPT_MSG=
DELAY=3.0,2.0
STAT_STR=15
STAT_INT=60
STAT_DEX=20
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You can see nothing hidden there.

ON=@Abort
	SRC.SYSMESSAGE You stop looking for anything hidden.

[SKILL 15]
DEFNAME=Skill_Enticement
KEY=Enticement
TITLE=Bard
PROMPT_MSG=Whom do you wish to entice?
DELAY=2.0
STAT_STR=15
STAT_INT=70
STAT_DEX=50
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
BONUS_STATS=5
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE Your music fails to attract anyone.

ON=@Abort
	SRC.SYSMESSAGE You fail to complete the song.

[SKILL 16]
DEFNAME=Skill_EvalInt
KEY=EvaluatingIntel
TITLE=Scholar
PROMPT_MSG=Select char to inspect.
DELAY=1.0
STAT_STR=5
STAT_INT=60
STAT_DEX=10
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You cannot seem to judge the creature correctly.

ON=@Abort
	SRC.SYSMESSAGE You fail to inspect the creature completely.

[SKILL 17]
DEFNAME=Skill_Healing
KEY=Healing
TITLE=Healer
PROMPT_MSG=Who will you use the bandages on?
DELAY=3.0,1.0
EFFECT=2.0,20.0
ADV_RATE=10.0,100.0,250.0
STAT_STR=10
STAT_INT=90
STAT_DEX=10
BONUS_STATS=20
BONUS_STR=0
BONUS_DEX=30
BONUS_INT=70

ON=@Fail
	SRC.SYSMESSAGE You apply the bandages, but they barely help.

ON=@Abort
	SRC.SYSMESSAGE You stop applying the bandages.

[SKILL 18]
DEFNAME=Skill_Fishing
KEY=Fishing
TITLE=Fisher%s
PROMPT_MSG=What water do you want to fish in?
DELAY=2.0
STAT_STR=40
STAT_INT=30
STAT_DEX=40
BONUS_STR=10
BONUS_DEX=90
BONUS_INT=0
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0
VALUES=1,30,200

ON=@Fail
	SRC.SYSMESSAGE You fish a while, but fail to catch anything.

ON=@Abort
	SRC.SYSMESSAGE You pull your line back in and stop fishing.

[SKILL 19]
DEFNAME=Skill_Forensics
KEY=Forensics
TITLE=Scholar
PROMPT_MSG=What corpse would you like to examine?
DELAY=1.0
STAT_STR=10
STAT_INT=60
STAT_DEX=25
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You can tell nothing about the corpse.

ON=@Abort
	SRC.SYSMESSAGE You decide you'd rather not look at that.

[SKILL 20]
DEFNAME=Skill_Herding
KEY=Herding
TITLE=Shepherd
PROMPT_MSG=
DELAY=2.0
STAT_STR=50
STAT_INT=50
STAT_DEX=50
BONUS_STR=25
BONUS_DEX=45
BONUS_INT=30
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You don't seem to be able to persuade that to move.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to persuade that to move.


[SKILL 21]
DEFNAME=Skill_Hiding
KEY=Hiding
TITLE=Rogue
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You can't seem to hide here.

ON=@Abort
	SRC.SYSMESSAGE You stop trying to hide.

[SKILL 22]
DEFNAME=SKILL_PROVOCATION
KEY=Provocation
TITLE=Bard
PROMPT_MSG=Whom do you wish to incite?
DELAY=3.0
STAT_STR=20
STAT_INT=60
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=90
BONUS_INT=10
BONUS_STATS=5
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE Your music fails to incite enough anger.

ON=@Abort
	SRC.SYSMESSAGE You decide not to incite anything for now.

[SKILL 23]
DEFNAME=Skill_Inscription
KEY=Inscription
TITLE=Scribe
PROMPT_MSG=
DELAY=3.0
STAT_STR=15
STAT_INT=100
STAT_DEX=15
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=10
ADV_RATE=10.0,200.0,800.0
VALUES=1,30,200

ON=@Fail
	SRC.SYSMESSAGE You fail to inscribe the scroll, and the scroll is ruined.
	SRC.CONSUME 1 i_scroll_blank

ON=@Abort
	SRC.SYSMESSAGE You scribble on the scroll a bit, but fail to finish it.

[SKILL 24]
DEFNAME=Skill_LockPick
KEY=LockPicking
TITLE=Locksmith
PROMPT_MSG=What do you want to pick?
DELAY=3.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You are unable to pick the lock.

ON=@Abort
	SRC.SYSMESSAGE You stop trying to pick the lock.

[SKILL 25]
DEFNAME=Skill_Magery
KEY=Magery
TITLE=Mage
PROMPT_MSG=
STAT_STR=20
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=15
ADV_RATE=10.0,200.0,800.0
VALUES=1,20,80
//DELAY=1.0 // based on skill and difficulty.

ON=@Fail
	SRC.SYSMESSAGE The spell fizzles.

ON=@Abort
	SRC.SYSMESSAGE You stop casting the spell.

[SKILL 26]
DEFNAME=Skill_MagicResist
KEY=MagicResistance
TITLE=Resistor
PROMPT_MSG=
EFFECT=0.0,90.0
STAT_STR=40
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50
ADV_RATE=10.0,200.0,800.0

[SKILL 27]
DEFNAME=Skill_Tactics
KEY=Tactics
TITLE=Warrior
STAT_STR=60
STAT_INT=40
STAT_DEX=70
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 28]
DEFNAME=Skill_Snooping
KEY=Snooping
TITLE=Pickpocket
PROMPT_MSG=
DELAY=2.0
STAT_STR=30
STAT_INT=50
STAT_DEX=60
BONUS_STR=0
BONUS_DEX=100
BONUS_INT=0
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You fail to peek into the container.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to peek into the container.

[SKILL 29]
DEFNAME=Skill_Musicianship
KEY=Musicianship
TITLE=Bard
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=50
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
BONUS_STATS=10
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You play poorly, and there is no effect.

ON=@Abort
	SRC.SYSMESSAGE You put down your instrument.

[SKILL 30]
DEFNAME=SKILL_POISONING
KEY=Poisoning
TITLE=Assassin
PROMPT_MSG=To what do you wish to apply the poison?
DELAY=2.0
STAT_STR=15
STAT_INT=40
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=20
BONUS_INT=80
BONUS_STATS=20
ADV_RATE=2.5,50.0,200.0
VALUES=1,30,200

ON=@Fail
	SRC.SYSMESSAGE You fail to apply a sufficient dose of poison to it.

ON=@Abort
	SRC.SYSMESSAGE You decide not to poison anything for now.

[SKILL 31]
DEFNAME=Skill_Archery
KEY=Archery
TITLE=Archer
PROMPT_MSG=
DELAY=2.0,0.1
STAT_STR=40
STAT_INT=30
STAT_DEX=70
BONUS_STR=0
BONUS_DEX=95
BONUS_INT=5
BONUS_STATS=10
ADV_RATE=10.0,200.0,800.0

[SKILL 32]
DEFNAME=SKILL_SPIRITSPEAK
KEY=SpiritSpeak
TITLE=Medium
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=70
STAT_DEX=30
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You fail your attempt at contacting the netherworld.

ON=@Abort
	SRC.SYSMESSAGE You stop trying to commune with the netherworld.

[SKILL 33]
DEFNAME=Skill_Stealing
KEY=Stealing
TITLE=Thief
PROMPT_MSG=Which item will you attempt to steal?
DELAY=2.5
STAT_STR=40
STAT_INT=50
STAT_DEX=100
BONUS_STR=0
BONUS_DEX=100
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.SYSMESSAGE You fail to steal the item.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to steal the item.

[SKILL 34]
DEFNAME=Skill_Tailoring
KEY=Tailoring
TITLE=Tailor
PROMPT_MSG=
DELAY=3.0
STAT_STR=30
STAT_INT=30
STAT_DEX=60
BONUS_STR=5
BONUS_DEX=75
BONUS_INT=20
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.SYSMESSAGE Tailoring failed. Some of the cloth is ruined.

ON=@Abort
	SRC.SYSMESSAGE You decide not to sew anymore for now.

[SKILL 35]
DEFNAME=Skill_Taming
KEY=Taming
TITLE=Animal Tamer
PROMPT_MSG=Tame which animal?
DELAY=2.0
STAT_STR=30
STAT_INT=40
STAT_DEX=60
BONUS_STR=30
BONUS_DEX=10
BONUS_INT=60
BONUS_STATS=20
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.SYSMESSAGE You fail to tame the creature.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to tame the creature.

[SKILL 36]
DEFNAME=skill_tasteid
KEY=TasteID
TITLE=Food Taster
PROMPT_MSG=What would you like to taste?
DELAY=1.0
STAT_STR=25
STAT_INT=50
STAT_DEX=15
BONUS_STR=20
BONUS_DEX=0
BONUS_INT=80
BONUS_STATS=50
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You cannot discern anything about this substance.

ON=@Abort
	SRC.SYSMESSAGE You decide against tasting anything.

[SKILL 37]
DEFNAME=Skill_Tinkering
KEY=Tinkering
TITLE=Tinker
PROMPT_MSG=
DELAY=3.0
STAT_STR=30
STAT_INT=100
STAT_DEX=50
BONUS_STR=20
BONUS_DEX=20
BONUS_INT=60
BONUS_STATS=10
ADV_RATE=2.5,50.0,200.0
VALUES=1,20,80

ON=@Fail
	SRC.SYSMESSAGE Tinkering failed.

ON=@Abort
	SRC.SYSMESSAGE You stop trying to make anything.

[SKILL 38]
DEFNAME=Skill_Tracking
KEY=Tracking
TITLE=Ranger
PROMPT_MSG=
DELAY=4.0
STAT_STR=25
STAT_INT=50
STAT_DEX=50
BONUS_STR=0
BONUS_DEX=50
BONUS_INT=50
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE Tracking failed.

ON=@Abort
	SRC.SYSMESSAGE You stop tracking.

[SKILL 39]
DEFNAME=Skill_Vet
KEY=Veterinary
TITLE=Veterinarian
PROMPT_MSG=What animal would you like to heal?
DELAY=2.0
STAT_STR=30
STAT_INT=50
STAT_DEX=40
BONUS_STR=20
BONUS_DEX=20
BONUS_INT=60
BONUS_STATS=20
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.SYSMESSAGE You apply the bandages, but they barely help.

ON=@Abort
	SRC.SYSMESSAGE You stop applying the bandages.
	
[SKILL 40]
DEFNAME=Skill_Swordsmanship
KEY=Swordsmanship
TITLE=Swords%s
PROMPT_MSG=
STAT_STR=75
STAT_INT=40
STAT_DEX=75
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 41]
DEFNAME=Skill_Macefighting
KEY=Macefighting
TITLE=Macefighter
PROMPT_MSG=
STAT_STR=100
STAT_INT=35
STAT_DEX=55
BONUS_STR=80
BONUS_DEX=20
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 42]
DEFNAME=Skill_Fencing
KEY=Fencing
TITLE=Fencer
PROMPT_MSG=
STAT_STR=55
STAT_INT=60
STAT_DEX=95
BONUS_STR=20
BONUS_DEX=80
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 43]
DEFNAME=Skill_Wrestling
KEY=Wrestling
TITLE=Wrestler
PROMPT_MSG=
STAT_STR=100
STAT_INT=30
STAT_DEX=75
BONUS_STR=50
BONUS_DEX=50
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=8.5,120.0,680.0

[SKILL 44]
DEFNAME=SKILL_LUMBERJACK
KEY=Lumberjacking
TITLE=Lumberjack
PROMPT_MSG=
DELAY=1.0
STAT_STR=85
STAT_INT=30
STAT_DEX=45
BONUS_STR=90
BONUS_DEX=10
BONUS_INT=0
BONUS_STATS=20
ADV_RATE=2.5,50.0,200.0
VALUES=1,10,50

ON=@Fail
	SRC.SYSMESSAGE You hack at the tree for a while, but fail to produce any useable wood.

ON=@Abort
	SRC.SYSMESSAGE You decide not to chop wood for now.

[SKILL 45]
DEFNAME=SKILL_MINING
KEY=Mining
TITLE=Miner
PROMPT_MSG=Where would you like to mine?
DELAY=1.0
STAT_STR=85
STAT_INT=30
STAT_DEX=45
BONUS_STR=70
BONUS_DEX=30
BONUS_INT=0
BONUS_STATS=20
ADV_RATE=2.5,50.0,200.0
VALUES=1,10,80

ON=@Fail
	SRC.SYSMESSAGE You loosen some rocks but fail to find any useable ore.

ON=@Abort
	SRC.SYSMESSAGE You decide not to mine for now.

[SKILL 46]
DEFNAME=SKILL_MEDITATION
KEY=Meditation
TITLE=Stoic
DELAY=2.0,1.0
STAT_STR=10
STAT_INT=100
STAT_DEX=10
BONUS_STR=5
BONUS_DEX=90
BONUS_INT=5
BONUS_STATS=20
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.SYSMESSAGE You lose your concentration.

ON=@Abort
	SRC.SYSMESSAGE You stop concentrating.

[SKILL 47]
DEFNAME=SKILL_STEALTH
KEY=Stealth
TITLE=Rogue
PROMPT_MSG=
DELAY=2.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
BONUS_STATS=25
ADV_RATE=10.0,200.0,800.0

ON=@Fail
	SRC.SYSMESSAGE You can't seem to hide here.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to hide here.

[SKILL 48]
DEFNAME=SKILL_REMOVE_TRAP
KEY=RemoveTrap
TITLE=Jack
PROMPT_MSG=Select the trap to disarm
DELAY=7.0,3.0,2.0
STAT_STR=20
STAT_INT=60
STAT_DEX=90
BONUS_STR=0
BONUS_DEX=80
BONUS_INT=20
BONUS_STATS=25
ADV_RATE=2.5,50.0,200.0

ON=@Fail
	SRC.SYSMESSAGE You fail to disarm the trap.

ON=@Abort
	SRC.SYSMESSAGE You give up trying to disarm the trap.

[SKILL 49]
DEFNAME=SKILL_Necromancy
KEY=Necromancy
TITLE=Necromancer
STAT_STR=20
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=15
ADV_RATE=10.0,200.0,800.0
// VALUES=1,10,80

ON=@Fail
	SRC.SYSMESSAGE The spell fizzles.

ON=@Abort
	SRC.SYSMESSAGE You stop casting the spell.
	
[SKILL 50]
DEFNAME=SKILL_Focus
KEY=Focus
TITLE=Stoic
STAT_STR=10
STAT_INT=100
STAT_DEX=10
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=0
BONUS_STATS=0
ADV_RATE=10.0,200.0,800.0

[SKILL 51]
DEFNAME=SKILL_CHIVALRY
KEY=Chivalry
TITLE=Paladin
STAT_STR=100
STAT_INT=35
STAT_DEX=55
BONUS_STR=80
BONUS_DEX=20
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 52]
DEFNAME=SKILL_BUSHIDO
KEY=Bushido
TITLE=Samurai
STAT_STR=55
STAT_INT=60
STAT_DEX=95
BONUS_STR=20
BONUS_DEX=80
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 53]
DEFNAME=SKILL_NINJITSU
KEY=Ninjitsu
TITLE=Ninja
STAT_STR=55
STAT_INT=60
STAT_DEX=95
BONUS_STR=20
BONUS_DEX=80
BONUS_INT=0
BONUS_STATS=10
ADV_RATE=10.0,150.0,600.0

[SKILL 54]
DEFNAME=SKILL_SPELLWEAVING
KEY=Spellweaving
TITLE=Arcanist
STAT_STR=20
STAT_INT=70
STAT_DEX=30
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50
ADV_RATE=2.5,50.0,200.0

[SKILLCLASS 0]
// undeclared class.
// max skills for players of this skill class. 
// might want this to be all 50.0 to make people declare a class?
DEFNAME=Class_undeclared
NAME=undeclared
// EVENTS=e_ClassUndeclared
STATSUM=1240
SKILLSUM=20000.0
STR=400
INT=290
DEX=400
Alchemy=400.0
Anatomy=400.0
AnimalLore=400.0
ItemId=400.0
ArmsLore=400.0
Parrying=400.0
Begging=400.0
Blacksmithing=400.0
Bowcraft=400.0
Peacemaking=400.0
Camping=400.0
Carpentry=400.0
Cartography=400.0
Cooking=400.0
DetectingHidden=400.0
Enticement=400.0
EvaluatingIntel=400.0
Healing=400.0
Fishing=400.0
Forensics=400.0
Herding=400.0
Hiding=400.0
Provocation=400.0
Inscription=400.0
LockPicking=400.0
Magery=400.0
MagicResistance=400.0
Tactics=400.0
Snooping=400.0
Musicianship=400.0
Poisoning=400.0
Archery=400.0
SpiritSpeak=400.0
Stealing=400.0
Tailoring=400.0
Taming=400.0
TasteId=400.0
Tinkering=400.0
Tracking=400.0
Veterinary=400.0
Swordsmanship=400.0
Macefighting=400.0
Fencing=400.0
Wrestling=400.0
Lumberjacking=400.0
Mining=400.0
Meditation=400.0
Stealth=400.0
RemoveTrap=400.0
Necromancy=400.0
Focus=400.0
Chivalry=400.0
Bushido=400.0
Ninjitsu=400.0
Spellweaving=400.0

On=@EnvironChange
if !(<isevent.fix>)
	events +fix
endif

on=@login
if (0<account.plevel> > 1)
src.nightsight 1
src.slogin
src.sysmessage @0810 Sylon UO'ya Hosgeldiniz <src.name>
endif

if (0<account.plevel> < 2)
src.account.plevel 1
src.nightsight 1
src.plogin
src.sysmessage @0810 Sylon UO'ya Hosgeldiniz <src.name>
endif

[itemdef i_dusuruyorum]
name logggg
id i_memory
type t_eq_script 
weight 0 
layer layer_special 

On=@Create 
attr attr_invis|attr_decay 

On=@Equip 
timer 60

On=@Timer 
if (<cont> 
cont.disconnect 
endif 
remove 
return 1

[function slogin]
if (<src.tag0.girs> == 1)
return 1
else
src.tag0.girs 1
src.go star chamber
src.invis 1
src.events +e_nexiel
src.nightsight 1
src.sysmessage @58,1,1 <src.Name> Hosgeldiniz..
return 1
endif

[EOF]

Fakat Player Charla .level yazdıktan bir süre sonra Statlarım 0 lanıyor.

Yardımcı oLabilirseniz Sevinirim.
İşin içinden çıkamadım / 56b..
Expert
34.0001
bir gerçeğimi açıklıyım bu işi beceremediğim için levelli server açmamıştım =) inşallah çözer ve benle paylaşırsın :D
:)

KeLL Ben Bu Sorunu Çözeceğim Biliyorum.
Elbette Çözülür.
Böyle ufak şeylerden dolayı bıraktığına Üzüldüm.
omod kullandığın için o sorunlar. Şu an acil çıkmam lazım gelince özelden çözeriz.
Tamam Özgür Zaten Sabahta Söylicektim Sana Unutmuşum.
Gelince Msn e Girersen Sevinirim.

Üye Ol veya Giriş Yap

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