[function bee_say ]
sayua 0036,6,0,enu <args> //Sayua'dan kaynakli client hatalarini engeller
return 1
[function bee2_say ]
sayua 0026,6,0,enu <args> //Ayni islevi kirmizi rekte yapiyor
return 1
[events fix]
on=@SkillMakeItem
if (<act.type>==t_potion)
if (<src.tag0.keging>==1)
if (<uid.<tag0.kegyap>.morex> >= 250)
src.sysmessage @03c1,6,1 Bu keg tamamen dolmus.
src.tag0.keging=0
src.tag0.kegyap=0
return 1
endif
if !(<src.tag0.makekeg>==<act.baseid>)
src.sysmessage @03c1,6,1 Yapmaya calistiginiz potion sectiginiz potionla es deger degil.
src.tag0.keging=0
src.tag0.kegyap=0
return 1
endif
try uid.<src.tag0.kegyap>.tag.potion=<src.tag0.makekeg>
try uid.<src.tag0.kegyap>.name=a <serv.itemdef.<src.tag0.makekeg>.name> keg
try uid.<src.tag0.kegyap>.morex=<uid.<src.tag0.kegyap>.morex>+1
act.remove
timerf 2,src.makelast
src.makelast
SRC.SOUND=snd_Z_END_LIQUID
src.say ç
src.say ç
src.say ç
src.sysmessage @03c1,6,1,1 Yaptiginiz iksiri ficiya bosalttiniz. Ficida suan : <eval <uid.<src.tag0.kegyap>.morex>> kadar iksir var.
return 1
endif
endif
//if !(<src.canmake <act.baseid>>)
//src.sysmessage @03c1,6,1 Bu esyayi yapacak malzemeniz yok.
//src.needs <act.baseid>
//return 1
//endif
src.tag0.lastitem=<act.baseid>
//src.needs <act.baseid>
on=@SkillGain
if (<argn3> > 100.0)
//src.sysmessage <argn3>
if (<src.<argn1>> > 99.9) && <src.<argn1>> < <argn3>
if (rand(100)<30)
src.<argn1> += 1
endif
return 1
endif
endif
on=@mount
argo.findid.i_binekfix.timer -1
if (<argo.findid.i_rune_poison>) || (<argo.findid.i_rune_poison_field>)
argo.findid.i_rune_poison.remove
argo.findid.i_rune_poison_field.remove
endif
On=@dismount
argo.findid.i_binekfix.timer 180
on=@kill
src.fame +=10
if <src.guild> && <argo.isplayer>
if (<argo.fame> <= 2500)
ref1=<src.guild>
ref1.tag0.guildpoints +=1
endif
endif
on=@login
src.statkontrol
detail 0
src.isimsorgu
src.food 99
src.ctag.pindogrulandi 0
if (<serv.clients> > <eval <var.maxclients>>)
var.maxclients <serv.clients>
endif
on=@spellselect
if (<meditation> > 99.8) && (<magery> > 99.8) && (<evaluatingintel> > 99.8)
argn2 -= <eval <serv.spell.<argn1>.manause>/2>
endif
on=@dclick
if (<src.uid> == <uid>)
if (<src.flags>&statf_war)
src.flags <src.flags>&~statf_war
src.update
endif
endif
On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
src.sysmessage @039,,1 Online Sure: <eval (<account.totalconnecttime> / 60)> saat
//src.sysmessage @065,1,1 Kayit: <account.firstconnectdate>
//src.sysmessage @027,1,1 Karakter: <eval (<age> / 86400)> gun once dogmus.
//src.sysmessage @027,1,1 Karakter : <eval (<age> / 60)/60> saat once dogmus.
endif
On=@Death
if (<act.isplayer>) && (<src.fame> > 2000)
serv.b @044,,1 <name>, <src.act.name> tarafından <region.name> civarlarında öldürülmüştür.
act.fame +=300
endif
src.target
src.sysmessage @0790,,1 .safe yazarak Reslenebilirsiniz..
if !(<isevent.e_qchar>)
if (<memoryfindtype.memory_harmedby>) && (<act.isplayer>) && (<act.uid> != <uid>) // && (0<act.npc> == 0)
if !(0<tag.lastpvp> == 0<act.uid>)
if (<fame> > 4999)
tag.famefark= <eval (<fame>-<act.fame>)>
tag.puandegisim=0
if (<fame> > <act.fame>)
tag.puandegisim = <eval (<tag.famefark>/1000)>
endif
endif
endif
tag.lastpvp=<act.uid>
endif
endif
if (<src.hits> == 0)
if !(0<src.findid.i_stuck.more>>0)
if (<src.flags>|04)
src.flags <src.flags>&~04
endif
endif
endif
src.tag.killer <act.uid>
on=@itemequip
if <act.baseid>==i_torch
act.remove
return 1
endif
On=@ItemDClick
if <act.baseid>==i_torch
act.remove
return 1
endif
if (<act.type>==t_container)
if ((<act.attr>&attr_newbie)||(<act.attr>&attr_static)||(<act.attr>&attr_move_never))
if (<act.topobj.uid>==<src.uid>)
if !(<act.cont>==<src.uid>)
if (0<act.cont.layer>==021)
if (<act.cont.cont.uid>==<src.uid>)
endif
endif
endif
endif
endif
endif
if (<targ.topobj.id> == c_player_v)
if (<targ.type> == t_container)
targ.open
endif
return 1
endif
local.kurulmaz 0
if (strmatch("t_multi*","<serv.itemdef.<act.more1>.type>"))
foritems 10
if (<baseid> == i_Antihouse)
local.kurulmaz 1
endif
endfor
endif
if (<local.kurulmaz> == 1)
src.sysmessage @07a1,1,1 Bu Alana ev kuramazsınız.
return 1
endif
On=@GetHit
if (<findtype.t_eq_trade_window>)
findtype.t_eq_trade_window.remove
endif
On=@EnvironChange
//////////
// açliktan kimse olmesin
/////////
//if ((<body> == c_man) || (<body> == c_woman)) // yimmeeah
// if !((<findid.i_jailcik>) || (<flags>&statf_stone))
// if (<food> == 2)
// sayua 045f,0,0,0 * acliktan basi doner *
// elseif (<food> == 1)
// sayua 045f,0,0,0 * acliktan olmek uzeredir *
// elseif (<food> == 0)
// sayua 045f,0,0,0 * acliktan olur *
// newitem i_starver
// act.equip
// endif
// endif
//endif
if !((<findlayer(32)> || <findlayer(44)> || <findlayer(47)>)) // active stat-effecting spell?
stchk
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_spr>)
var.stats <eval (<str> + <int> + <dex>)> // stat cap fix
if (<eval <var.stats>> > 225)
stchk
endif
endif
endif
On=@SpellCast
if (<argn> == 7) || (<argn> == 36) || (<argn> == 35) || (<argn> == 17) || (<argn> == 15)
if (<act.uid> == <uid>)
else
src.sysh_trk Bu buyuyu sadece kendinize atabilirsiniz.
return 1
endif
endif
if (<src.isevent.e_healing>)
src.sysmessage @38,,1 Bandaj Basarken Buyu atamazsiniz.
return 1
endif
if (<src.findid.i_resledinbekle>)
src.sysmessage @38,,1 Suanda Olmaz!
return 1
endif
if (<act.ischar>)
if (<act.flags>&statf_stone) || (<act.region.safe>)
act.action -1
sysmessage @50 Safe zonedaki kisilere buyu atamazsiniz!
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) // dur bakim nolyo
f_fizzle
return 1
endif
if (<findtype.t_armor.cont.uid> == <uid>)
f_fizzle
skill fail
action -1
return 1
endif
if (<act.ischar>)
if !(<act.flags>&statf_insubstantial) && (0<act.account.plevel> > 0<account.plevel>)
if !(<act.account.plevel>==7)
f_fizzle
return 1
endif
// 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_player_v)
if !((<argn> == 25) || (<argn> == 26) || (<argn> == 46) || (<argn> == 48) || (<argn> == 49) || (<argn> == 54) || (<argn> == 55) || (<argn> == 57))
f_fizzle
return 1
endif
endif
//if (<argn> == 7)
//if (<act.uid> == <uid>)
//else
//sysmessage @38,,1 Sadece kendinize atabilirsiniz.
//return 1
//endif
//endif
if (<argn> == 1)
if <src.tag0.atabilir> == 1
else
src.sysmessage @38,,1 Malesef
return 1
endif
endif
// spell freeze time
if (<argn> == 1)
spell_say Uus Jux // Clumsy
mg1
elseif (<argn> == 2)
spell_say In Mani Ylem // Create food
mg1
elseif (<argn> == 3)
spell_say Rel Wis // Feeblemind
mg1
elseif (<argn> == 4)
spell_say In Mani // Heal
if (<act.findid.i_rune_poison>)
f_fizzle
src.sysmessage @38,,1 Uzerinizde Poison Varken Bunu Kullanamazsiniz.
return 1
if (<act.findid.i_bleeding>)
f_fizzle
src.sysmessage @38,,1 Yaraliyken Bunu Kullanamazsiniz.
return 1
if (<act.findid.i_bleeding2>)
f_fizzle
src.sysmessage @38,,1 Yaraliyken Bunu Kullanamazsiniz.
return 1
endif
endif
endif
// spellfreeze 1
sd 1
mg1
elseif (<argn> == 5)
spell_say In Por Ylem // Magic Arrow
mg1
elseif (<argn> == 6)
spell_say In Lor // Night Sight
mg1
elseif (<argn> == 7)
spell_say Flam Sanct // Reactive Armor
sd 1
mg1
elseif (<argn> == 8)
spell_say Des Mani // Weaken
mg1
elseif (<argn> == 9)
spell_say Ex Uus // Agility
mg1
elseif (<argn> == 10)
spell_say Uus Wis // Cunning
mg1
elseif (<argn> == 11)
spell_say An Nox
// Cure
sd 1
mg3
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
mg1
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
mg1
elseif (<argn> == 16)
spell_say Uus Mani // Strength
sd 1
mg1
elseif (<argn> == 17)
spell_say Rel Sanct // Bless
sd 1
mg2
elseif (<argn> == 18)
spell_say Vas Flam // Fireball
sd 1
mg2
elseif (<argn> == 19)
spell_say An Por // Lock
f_fizzle
skill fail
sysh_trk Büyü kapalı.
return 1
elseif (<argn> == 20)
if (<act.hits> < 1) // Posion
sysh_trk Ölülere büyü atamazsınız.
f_fizzle
return 1
endif
spell_say In Nox
psg
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_player_v))
f_fizzle
return 1
endif
endif
else
f_fizzle
return 1
endif
elseif (<argn> == 22)
spell_say Rel Por // Teleport
mg2
elseif (<argn> == 23)
spell_say Ex Por // Unlock
f_fizzle
return 1
elseif (<argn> == 24) // Wall of stone
spell_say In Sanct Ylem
sd 1
mg2
elseif (<argn> == 25)
spell_say Vas An Nox // Arch Cure
if (<src.region.guarded> == 1)
src.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 2
mg3
elseif (<argn> == 26)
spell_say Vas Uus Sanct // Arch Protection
if (<src.region.guarded> == 1)
src.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 2
mg3
elseif (<argn> == 27)
spell_say Des Sanct // Curse
sd 2
mg3
elseif (<argn> == 28)
spell_say In Flam Grav // Fire Field
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 2
mg4
elseif (<argn> == 29)
spell_say In Vas Mani // Greater Heal
if (<act.findid.i_rune_poison>)
f_fizzle
src.sysmessage @38,,1 Uzerinizde Poison Varken Bunu Kullanamazsiniz.
return 1
endif
sd 2
mg4
elseif (<argn> == 30)
spell_say Por Ort Grav // Lightning
sd 2
mg4
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.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 2
mg5
elseif (<argn> == 34)
spell_say An Grav // Dispel Field
if (<act.ischar>)
f_fizzle
return 1
endif
sd 2
mg5
elseif (<argn> == 35)
spell_say Kal In Ex // Incognito
sd 2
mg5
elseif (<argn> == 36)
spell_say In Jux Sanct // Magic Reflect
sd 2
mg5
elseif (<argn> == 37)
spell_say Por Corp Wis // Mind Blast
sd 2
mg5
elseif (<argn> == 38)
spell_say An Ex Por // Paralyze
sd 2
mg5
elseif (<argn> == 39)
spell_say In Nox Grav // Poison Field
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
mg5
sd 2
elseif (<argn> == 40)
spell_say Kal Xen // Summon Creature
if (<src.region.guarded> == 1)
src.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 2
mg5
elseif (<argn> == 41)
spell_say An Ort // Dispel
sd 2
mg6
elseif (<argn> == 42)
spell_say Corp Por // Energy Bolt
sd 2
mg6
elseif (<argn> == 43)
spell_say Vas Ort Flam // Explosion
if (<src.region.guarded> == 1)
src.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 2
mg6
elseif (<argn> == 44)
spell_say An Lor Xen // Invisibility
sd 4
mg6
elseif (<argn> == 45)
spell_say Kal Por Ylem // Mark
sd 2
mg5
elseif (<argn> == 46)
spell_say Vas Des Sanct // Mass Curse
if (<src.region.guarded> == 1)
src.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 2
mg6
elseif (<argn> == 47)
spell_say In Ex Grav // Paralyze Field
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 3
mg6
elseif (<argn> == 48)
spell_say Wis Quas // Reveal
sd 2
mg6
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.sysh_trk Bu büyüyü guard zone içinde yapamazsınız
return 1
endif
sd 3
mg7
elseif (<argn> == 50)
spell_say In Sanct Grav // Energy Field
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
sd 3
mg7
elseif (<argn> == 51)
spell_say Kal Vas Flam // Flame strike
sd 3
mg7
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.sys_trk Etrafınızdaki tüm büyüleri kaldırmaya çalışıyorsunuz.
sd 3
mg7
elseif (<argn> == 55)
spell_say Flam Kal Des Ylem // Meteor Swarm
if (<act.uid> == <uid>)
f_fizzle
return 1
endif
sd 3
mg7
elseif (<argn> == 56)
src.sysh_trk Kullanıma kapalıdır.
return 1
spell_say Vas Ylem Rel // Polymorph
elseif (<argn> == 57)
spell_say In Vas Por // Earthquake
sd 3
mg8
elseif (<argn> == 58)
spell_say Vas Corp Por // Energy Vortex
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 59)
spell_say An Corp // Resurrect
sd 3
mg8
elseif (<argn> == 60)
spell_say Kal Vas Xen Hur // Air Elemental
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 61)
spell_say Kal Vas Xen Corp // Summon Deamon
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 62)
spell_say Kal Vas Xen Ylem // Earth Elemental
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 63)
spell_say Kal Vas Xen Flam // Fire Elemental
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
elseif (<argn> == 64)
spell_say Kal Vas Xen An Flam // Water Elemental
if (<region.guarded>)
criminal 1
endif
sd 3
mg8
endif
if (<src.findid.i_rb_delay> || (<src.findid.i_rb_delay2>))
src.sysmessage @38,,1 Runebook kullanirken buyu atamazsiniz.
return 1
endif
On=@SpellEffect
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
elif (<argn> == 37) // mindblast
if (<src.int> > <int>)
local.mb (<src.int> - <int>)
local.mb <eval (<local.mb> / 2)>
if (<eval <local.mb>> > 40)
local.mb 40
endif
damage <eval (<local.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
elseif ((<argn> == 38) || (<argn> == 47)) // paralyze & paralyze field
if (<findid.i_tp>)
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 20
findid.i_tp.remove
return 1
elseif !(<src.uid> == <uid>)
findid.i_tp.remove
damage 1
endif
elseif ((<argn> == 20) || (<argn> == 39)) // poison, poison field
if !(<findid.i_rune_poison>) && (<flags>&statf_poisoned)
flags <flags>&~statf_poisoned
endif
if (<src.poisoning> == 120.0)
findid.i_rune_poison.morey += 50.0
endif
if !(<src.uid> == <uid>)
skill fail
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> == 38) || (<argn> == 47)) // paralyze & paralyze field
elseif (<argn> == 26) // no arch prot. over armor
if (<findtype.t_armor.cont.uid> == <uid>)
return 1
endif
elseif (<argn> == 25) // arch cure
if (<memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
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
elseif (<argn> == 4) || (<argn> == 29) || (<argn> == 11)
if (<memoryfindtype.memory_town>) && !(<src.memoryfindtype.memory_town>)
src.sysmessage @03b2,,1, Faction uyelerini iyilestiremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.align> > 0) && !(<src.memoryfindtype.memory_guild.link.align>)
src.sysmessage @03b2,,1, Order/Chaos uyelerini iyilestiremezsiniz.
return 1
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
//ACTDIFF += 50
if (<action> == id(skill_stealth)) || (<action> == skill_stealth)
if (<hiding> < 80.0)
sysmessage @025 Yetersiz hiding.
skill fail
return 1
elseif (<eval (<ac> * 100)> > <eval (<stealth> + 200)>)
sysmessage @025,1,1 Asiri zirhlisiniz.
skill fail
return 1
elseif (<flags>&statf_onhorse)
sysmessage @025,1,1 Binek uzerindesiniz.
skill fail
return 1
endif
endif
if (<action> == id(skill_hiding)) || (<action> == skill_hiding)
if (<eval (<ac> * 10)> > <eval (<hiding> + 200)>)
sysmessage @025,1,1 Asiri zirhlisiniz.
skill fail
return 1
elseif ((<action> == id(skill_herding)) || (<action> == skill_herding))
if (<targ.id> == c_player_v)
skill fail
return 1
elseif ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
if (<targ.topobj.id> == c_player_v)
skill fail
return 1
elseif !(<targ.topobj.ischar>)
sysmessage @0803 Sadece canli varliklardan calabilirsiniz.
skill fail
return 1
elseif !(<targ.isitem>)
sysmessage @0803 Sadece cantalarin icinden calabilirsiniz.
skill fail
return 1
elseif (<targ.layer> == layer_hand1) || (<targ.layer> == layer_hand2)
sysmessage @0803 Adamin elinden calamazsiniz.
skill fail
return 1
elseif !(<targ.cont.layer> == layer_pack)
sysmessage @0803 Sadece cantalarin iclerinden calabilirsiniz.
skill fail
return 1
elseif (0<uid.<targ.uid>.cont>)
elseif (<uid.<uid.<targ.uid>.cont.uid>.ischar>)
sysmessage @0803 Sadece cantalarin icinden calabilirsiniz.
skill fail
return 1
endif
if !(<uid.<uid.<targ.uid>.cont.uid>.type> == t_container)
sysmessage @0803 Sadece cantalarin icinden calabilirsiniz.
skill fail
return 1
endif
if (<targ.cont>)
if (<targ.cont.uid> == t_eq_trade_window)
skill fail
return 1
endif
endif
endif
endif
endif
On=@Click
if !(<findid.i_rune_incognito>) && (<memoryfindtype.memory_guild>)
if (strmatch('<tag.gs_title>',''))
if (<memoryfindtype.memory_guild.link.align> == 1)
message @1153 [<memoryfindtype.memory_guild.link.name> , Order]
elseif (<memoryfindtype.memory_guild.link.align> == 2)
message @1153 [<memoryfindtype.memory_guild.link.name> , Chaos]
else
message @1153 [<memoryfindtype.memory_guild.link.name>]
endif
else
if (<memoryfindtype.memory_guild.link.align> == 1)
message @03b2,,1, [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
elseif (<memoryfindtype.memory_guild.link.align> == 2)
message @03b2,,1, [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
else
message @03b2,,1, [<tag.gs_title>, <memoryfindtype.memory_guild.link.abbrev>]
endif
endif
endif
On=@ItemSpell
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=@ItemClick
if (<act.topobj.id> == c_player_v)
if !(<act.value> == 0)
if (strmatch('<act.price>',''))
act.message @38,,1 [satilamaz]
elseif (<act.price> <= 0)
act.message @38,,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 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
else
act.message @0790,,1 [<act.price> Bilet]
endif
else
act.message @0790,,1 [<act.price> Bilet]
endif
endif
endif
endif
if (<act.layer> == 21) && (<act.cont.ischar>)
act.message Inventory
if (<act.cont>==<uid>)
act.message @0481,,1 [<eval <rescount i_tp>> Tp] [<eval <rescount i_bandage>> bandaj]
act.message @0481,,1 [<eval <rescount i_potion_HealGreat>+<rescount i_potion_Heal>> heal] [<eval <rescount i_potion_cureGreat>+<rescount i_potion_cure>> cure]
endif
return 1
else
if (<act.attr>&attr_newbie) // blessed itemlari belirt
act.message @38,,1 [newbified]
endif
if (<act.type> == t_container)
//if !(<act.baseid> == i_strong_box)
//if ((<act.attr>&attr_move_never) && !(strmatch('<act.region.tag0.owner>','0')) && (<act.region.type> == <region.type>))
// act.message [sabit]
//endif
if (<act.baseid> == i_bones)
act.message @0 [loot: <act.rescount> esya]
act.message @0 <act.name>
//elseif (<act.rescount> > 0)
act.message @0 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
else
act.message @0 <act.typedef.name>
endif
if !(<act.topobj.id> == c_player_v)
return 1
endif
//endif
endif
endif
if ((<act.topobj.uid> == <uid>))
if (<act.type> == t_weapon_xbow)
act.message @790 [bolts: <eval <rescount <act.tdata3>>>]
elseif (<act.type> == t_weapon_bow)
act.message @790 [arrows: <eval <rescount <act.tdata3>>>]
endif
endif
On=@ItemPickUp_Pack
if (<act.topobj.id> == c_player_v)
if !(<uid> == <act.topobj.tag.owner>)
return 1
endif
endif
if !(0<act.cont.layer>) && (<findtype.t_eq_trade_window>)
sysmessage @0481,1,1 Geri almak için trade penceresini kapatin.
return 1
endif
if (<act.attr>&attr_move_never) || (<act.attr>==0401a)
return 1
endif
On=@ItemDropOn_Ground
if (<act.attr> == 04008) || (<act.attr> == 04018)
act.attr 0
endif
if !((<weight> + <act.weight>) > <maxweight>)
if ((<action> == id(skill_fishing)) || (<action> == skill_fishing))
if (<act.type> == t_fish) // 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
endif
// end of main fixes
if !(<isevent.fix>)
if (<act.attr>&attr_newbie) // blessed itemlari belirt
act.message @0 [newbified]
endif
on=@CharClick
if (<act.TAG0.GMCREATE> == 1)
return 0
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
[itemdef i_bandajvar]
ID=i_memory
TYPE=t_eq_script
NAME=bandajvar
On=@Create
attr attr_decay|attr_newbie
On=@Equip
timer 2
On=@Timer
remove
return 1
[function getuid]
try uid.<args>.bounce=<src>
[EOF]
Bakın Fakat büyüyü Yapnca Üzerinde Yazı Yazmıyor Ve Kal Vas Flam Atarken Mesela 1 Sn Duraksıyor Lütfen yardımcı Olunuz