Sorunlar giderildi

Bu konu Xazrael tarafından düzenlendi(2007-12-19 00:04, 16 yıl önce)
itemb scriptinden RESOURCES2 ve i_sand_glass ları sil düzelir.:selektor
spheretables.scp den de:
on=@login
events +fix
f_player_login

on=@logout
events +fix
f_player_logout 
ekle büyü sorunu ortadan kalkar.
Koşarak büyü atma olayı düzelirmi? bi tane vardı i_sand_glass 4 demi ne oda
spheretables.scp de on=@login yok snrm sende

yoksa;
on=@login
events +fix
f_player_login

on=@logout
events +fix
f_player_logout

ekle scp ye.
warsa;
logine
events +fix
f_player_login

logouta da
events +fix
f_player_logout

ekle..

Mana dolma olayınıda sphere.ini den,
Regen1 kısmını bul
Regen1=20 yap.(Standart 20snrm.)
---
itemb scriptlerinden de RESOURCES2 ve i_sand_glass ları sil.
WARNING:Resource 'scripts/spheretables.scp' changed, resync.
WARNING:(spheretables.scp,56)'scripts/scripts.scp' not found...
WARNING:(spheretables.scp,57)'scripts/[email protected]' not found...
WARNING:(spheretables.scp,58)'scripts/events +fix.scp' not found...
WARNING:(spheretables.scp,59)'scripts/f_player_login.scp' not found...
WARNING:(spheretables.scp,61)'scripts/[email protected]' not found...
WARNING:(spheretables.scp,62)'scripts/events +fix.scp' not found...
WARNING:(spheretables.scp,63)'scripts/f_player_logout.scp' not found..

:( Niye görmüyor fixi ya Hm yanlış yere yazdım sanırsam
ii de sen benim dediklerimi okumuyorsun.f_player_logout.scp' events +fix.scp' 'scripts/[email protected]' f_player_login.scp' events +fix.scp' diye bişey yok çünki..

Su spheretables.scp ni buraya koyda ben editleyim..
Acele edersen iyi olur.
ben script seçtigi yerin altına yazmışım ondan okumaya çalışmış böle script varmı diye sonra başka yere yazdım ama gene olmdı

//****************************************************************************
//SPHERE by : Menasoft 1997-2006
//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.
//****************************************************************************
// NOTE: This is loaded 2nd after SPHERE.INI watch out for order of dependancies ! (keyword DEFNAME)
VERSION=0.56

[RESOURCES]
// sphere.ini and spheretable.scp are automatic.
// All the other scripts we want to load.
D:/56 AYAR/spherex/scripts/sphere_defs.scp
D:/56 AYAR/spherex/scripts/sphere_types.scp
D:/56 AYAR/spherex/scripts/sphere_book.scp
D:/56 AYAR/spherex/scripts/sphere_backward_compatibility.scp
D:/56 AYAR/spherex/scripts/sphere_events_human.scp
D:/56 AYAR/spherex/scripts/sphere_events_npcs.scp
D:/56 AYAR/spherex/scripts/npcs/
D:/56 AYAR/spherex/scripts/sphere_admin.scp
D:/56 AYAR/spherex/scripts/sphere_dialog.scp
D:/56 AYAR/spherex/scripts/items/sphere_item_resources.scp
D:/56 AYAR/spherex/scripts/items/
D:/56 AYAR/spherex/scripts/sphere_region.scp
// ----------------------------------
D:/56 AYAR/spherex/scripts/maps/sphere_map0.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map0_ml.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map1.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map2.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map3.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map4.scp
D:/56 AYAR/spherex/scripts/maps/sphere_map_points0.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map_points0_ml.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map_points1.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map_points2.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map_points3.scp
// D:/56 AYAR/spherex/scripts/maps/sphere_map_points4.scp
// -----------------------------------
D:/56 AYAR/spherex/scripts/sphere_menu.scp
D:/56 AYAR/spherex/scripts/sphere_name.scp
D:/56 AYAR/spherex/scripts/sphere_skillmenu.scp
D:/56 AYAR/spherex/scripts/sphere_spawns.scp
D:/56 AYAR/spherex/scripts/sphere_speech.scp
D:/56 AYAR/spherex/scripts/sphere_skills.scp
D:/56 AYAR/spherex/scripts/sphere_spells.scp
D:/56 AYAR/spherex/scripts/sphere_newb.scp
D:/56 AYAR/spherex/scripts/sphere_template.scp
D:/56 AYAR/spherex/scripts/sphere_template_loot.scp
D:/56 AYAR/spherex/scripts/sphere_template_vend.scp
D:/56 AYAR/spherex/scripts/sphere_triggers.scp
D:/56 AYAR/spherex/scripts/sphere_serv_triggers.scp
D:/56 AYAR/spherex/scripts/speech/
D:/56 AYAR/spherex/scripts

[FAME]
0,2000,6000
Anonymous
Known
Famous

[KARMA]
-10000,-6000,-2000,2001,6001
Wicked
Belligerent
Neutral
Kindly
Goodhearted

[NOTOTITLES] // NotoTitles[5*11]
// highest karma
Trustworthy
Estimable
Great
Glorious
Glorious

Honest
Commendable
Famed
Illustrious
Illustrious

Good
Honorable
Admirable
Noble
Noble

Kind
Respectable
Proper
Eminent
Eminent

Fair
Upstanding
Reputable
Distinguished
Distinguished

<none>
Notable
Prominent
Renowned
Renowned

Rude
Disreputable
Notorious
Imfamous
Dishonored

Unsavory
Dishonorable
Ignoble
Sinister
Sinister

Scoundrel
Malicious
Vile
Villainous
Dark

Despicable
Dastardly
Wicked
Evil
Evil

Outcast
Wretched
Nefarious
Dread
Dread


[RUNES]
An
Bet
Corp
Des
Ex
Flam
Grav
Hur
In
Jux
Kal
Lor
Mani
Nox
Ort
Por
Quas
Rel
Sanct
Tym
Uus
Vas
Wis
Xen
Ylem
Zan

on=@login
events +fix
f_player_login

on=@logout
events +fix
f_player_logout

[PLEVEL 1]	// extra player commands.
AFK
WHERE
HUNGRY
CAST
TELE
SUICIDE
SELF
LAST
HELP
PASSWORD
EMAIL
HelpPage


[PLEVEL 2]	// extra counselor commands.
ANIM
DETAIL
SLEEP
UNDERWEAR
BARK
FIX
RESEND
INFO
ADMIN
PAGE
GO
GOUID
GOCHAR
GOSOCK
GOCLI
XGO
JAIL
FORGIVE

[PLEVEL 3]
CHARLIST

[PLEVEL 4]
BADSPAWN
SAVE
LINK
TILE
NUKE
GOTYPE
GONAME

[PLEVEL 6]
ACCOUNT
SETPRIV
DIALOG
BLOCKIP
TOME
EXTRACT
UNEXTRACT
EXPORT
IMPORT
SERV.CLEARVARS

[PLEVEL 7]
SRC
OBJ
NEW
DB
FILE
TRY
TRYP
TRYSRC
TRYSRV
PLEVEL



[EOF]

56b de on=@login kısmı spheretables'e deil sphereskills'e koyulmalı
loginin altına f_player_login i ekle commands.scp de f_player_login kısmına
if !(<isevent.fix>)
	events +fix
endif
ekle
Allah allah bende öle degil.Bende sorun yok?
ayriyetten f_player_login die bi functionu yoksa eklemesininde bi manası olmaz.
Neyse hadi ii geceler.Ben kaçar.
Commands a kırmızı olan yeri ekledim bi fazlalık eksiklik varsa söylermisn
[function f_player_login] // playerlar boyle login oluyor
if (0<account.plevel> > 1)
skillclass 1
var.smsgx 0482
smsgx <serv.name> staff'a hosgeldiniz, <account>!
f_staff_login
return 1
else
account.plevel
if !(<isevent.fix>)
events +fix
endif

// DIALOG D_yenilikler
events +fix
events +e_death_announce
endif
Birde Sphereskillse
on=@login
events +fix
f_player_login

on=@logout
events +fix
f_player_logout

Bunu yazdım
Ne yazıkki delirecem hala aynı :S yanlış yeremi yazıyorum
Boosterx ilginden ötürü teşekkür ederim iyi geceler
burda araya girip bi düzeltme yapiyim;

o spheretables veya 56b de sphere_skills.scp ye @login ekleme diye bir olay yoktur arkadaşlar o @login kısmını gidip scriptin ortasına veya sonuna eklerseniz hiçbir işe yaramaz [skillclass 0] ın altına ekliyceksiniz..
Nixdorf senin dedigini yaptım skillclass ın altına yazdım şimdi büyü attıgımda spherede
04:50:ERROR:(fix.scp,382)Undefined keyword 'sd'
04:50:ERROR:(fix.scp,383)Undefined keyword 'mg3'
Bu hatayı veriyor önceden tek yazı yazıyordu büyü atarken misal In Sanet Ylem artık 2 tane Üst Alt Olarak çıkıyor da fixdemi hata var şimdide :S
tamam işte şimdi adama fix eventi vermişsin..

herhangi bi scp packten magery.scp yi al onun içinde sd fonksiyonu filan vardır.. o zaman problemin çözülücek.. he bide sphere.ini den büyü adlarını kapat sadece fix.scp den olan çalışsın.
Nixdorf ya olmadı gene :( hata vermiyor artık spherede ama gene freezesiz atıyor büyüleri
Magery
// ----------------------------
// MAGERY.SCP - MAGERY VE FREEZETIME SISTEMI 
// SON GUNCELLENME TARIHI: 31 Mart 2002 - faust
// ----------------------------
VERSION=0.55

//------------------
// freezetime - eq items
//------------------

[function patla]
if !(<src.flags>&statf_insubstantial) 
src.invis 1 

src.newitem i_fx_explode 
src.act.color 06f1 
src.sound 0203 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move n 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move s 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move e 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move w 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move near 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move sw 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move nw 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move se 2 

//**2. tur 


src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.sound 0207 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move n 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move s 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move e 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move w 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move near 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move sw 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move nw 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move se 3 

//**3.tur 
src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.sound 0207 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move n 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move s 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move e 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move w 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move near 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move sw 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move nw 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move se 4 


else 
src.invis 0 

src.newitem i_fx_explode 
src.act.color 06f1 
src.sound 0203 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move n 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move s 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move e 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move w 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move near 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move sw 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move nw 2 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move se 2 

//**2. tur 


src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.sound 0207 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move n 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move s 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move e 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move w 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move near 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move sw 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move nw 3 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move se 3 

//**3.tur 
src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.sound 0207 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move n 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move s 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move e 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move w 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move near 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move sw 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move nw 4 

src.newitem i_fx_glow_spike 
src.act.color 06f1 
src.act.p <src.p> 
src.act.timer 2 
src.act.attr attr_decay 
src.act.move se 4 

else
endif

[itemdef i_magerylvl]
name=magery gain
id=i_memory
type=t_eq_script
weight=0
layer=layer_special

On=@Create
attr attr_invis|attr_decay

On=@Equip
timer 6
	
On=@Timer
if (<cont.int> < 60)
	if (rand(15) == 1)
		cont.int (<cont.int> + 1)
	endif
elseif (<cont.int> < 100)
	if (rand(25) == 1)
		cont.int (<cont.int> + 1)
	endif
endif

// Level 1
if (<more1> == 1)
	if (rand(3) == 1)
		cont.magery (<cont.magery> + 1)
	endif
// Level 2
elseif (<more1> == 2)
	if (rand(5) == 1)
		cont.magery (<cont.magery> + 1)
	endif
// Level 3
elseif (<more1> == 3)
	if (rand(10) == 1)
		cont.magery (<cont.magery> + 1)
	endif
// Level 4
elseif (<more1> == 4)
	if (rand(15) == 1)
		cont.magery (<cont.magery> + 1)
	endif
// Level 5
elseif (<more1> == 5)
	if (rand(20) == 1)
		cont.magery (<cont.magery> + 1)
	endif
// Level 6
elseif (<more1> == 6)
	if (rand(25) == 1)
		cont.magery (<cont.magery> + 1)
	endif
	
// Level 7
elseif (<more1> == 7)
	if (rand(30) == 1)
		cont.magery (<cont.magery> + 1)
	endif
// Level 8
elseif (<more1> == 8)
	if (rand(35) == 1)
		cont.magery (<cont.magery> + 1)
	endif
endif
attr attr_decay
remove
return 1

[itemdef i_evallvl]
name=eval intel gain
id=i_memory
type=t_eq_script
weight=0
layer=layer_special

On=@Create
attr attr_invis|attr_decay

On=@Equip
timer 6
	
On=@Timer
// Level 1
if (<more1> == 1)
	if (rand(2) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 2
elseif (<more1> == 2)
	if (rand(3) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 3
elseif (<more1> == 3)
	if (rand(5) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 4
elseif (<more1> == 4)
	if (rand(10) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 5
elseif (<more1> == 5)
	if (rand(15) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 6
elseif (<more1> == 6)
	if (rand(20) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 7
elseif (<more1> == 7)
	if (rand(25) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
// Level 8
elseif (<more1> == 8)
	if (rand(30) == 1)
		cont.evaluatingintel (<cont.evaluatingintel> + 1)
	endif
endif
attr attr_decay
remove
return 1

[itemdef i_poisonlvl]
name=poison gain
id=i_memory
type=t_eq_script
weight=0
layer=layer_special

On=@Create
attr attr_invis|attr_decay

On=@Equip
timer 3
	
On=@Timer
if (<more1> == 1)
	cont.poisoning (<cont.poisoning> + 1)
elseif (<more1> == 2)
	cont.poisoning (<cont.poisoning> + 2)
elseif (<more1> == 3)
	cont.poisoning (<cont.poisoning> + 3)
elseif (<more1> == 4)
	cont.poisoning (<cont.poisoning> + 4)
elseif (<more1> == 5)
	cont.poisoning (<cont.poisoning> + 5)
elseif (<more1> == 6)
	cont.poisoning (<cont.poisoning> + 6)
elseif (<more1> == 7)
	cont.poisoning (<cont.poisoning> + 7)
elseif (<more1> == 8)
	cont.poisoning (<cont.poisoning> + 8)
endif
attr attr_decay
remove
return 1

[itemdef i_spdelay_woman] // bunnar adamda kaliodu (timer -1) fixlendi uzulmeyin
name=magery delay (woman)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_woman_nomove
if (<more1>)
	timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
	cont.body c_woman
	cont.obody c_woman
endif

On=@Timer
remove
return 1
		
[itemdef i_spdelay_man]
name=magery delay (man)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_man_nomove
if (<more1>)
	timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
	cont.body c_man
	cont.obody c_man
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_man_fst]
name=magery delay (fst_man)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
src.body c_man_fst_nomove
if (<more1>)
	timer <more1>
endif

On=@UnEquip
if !(<cont.flags>&statf_dead)
	cont.body c_man_fst
	cont.obody c_man_fst
endif

On=@Timer
remove
return 1

[itemdef i_spdelay_unisex] // unicornlarla seks anlaminda
name=magery delay (unisex)
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
cont.flags <cont.flags>|04 // paralarim lan adami uniseksmi$
if (<more1>)
	timer <more1>
endif

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

On=@Timer
remove
return 1

//------------------
// freeze body's
//------------------

[chardef c_man_nomove] 
id c_man 
can mt_usehands // newly added
foodtype 15 t_food, t_fruit

On=@GetHit 
body c_man
obody c_man

[chardef c_man_fst_nomove] 
id c_man 
can mt_usehands // newly added
foodtype 15 t_food, t_fruit

On=@GetHit
body c_man_fst
obody c_man_fst

[chardef c_woman_nomove] 
id c_woman 
can mt_usehands|mt_female
foodtype 15 t_food, t_fruit

On=@GetHit 
body c_woman
obody c_woman

//------------------
// freezetime control functionz
//------------------

[function sd]
if !((<findid.i_spdelay_man>) || (<findid.i_spdelay_woman>) || (<findid.i_spdelay_unisex>))
	if (strmatch('<account>','Blaxoul'))
		var.m <act.uid>
		newitem i_spdelay_man_fst
		act.more1 <args>
		act.equip
		act <var.m>
	elseif (<body> == c_man)
		var.m <act.uid>
		newitem i_spdelay_man
		act.more1 <args>
		act.equip
		act <var.m>
	elseif (<body> == c_woman)
		var.m <act.uid>
		newitem i_spdelay_woman
		act.more1 <args>
		act.equip
		act <var.m>
	else
		var.m <act.uid>
		newitem i_spdelay_unisex
		act.more1 <args>
		act.equip
		act <var.m>
	endif
if (<findid.i_spdelay_man>)
findid.i_spdelay_man.remove
elseif (<findid.i_spdelay_woman>)
findid.i_spdelay_woman.remove
elseif (<findid.i_spdelay_unisex>)
findid.i_spdelay_unisex.remove
endif
endif

//------------------
// magery control functionz
//------------------

// Level 1
[function mg1]
if (<magery> < 30.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 1
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 30.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 1
	act.equip
	act <var.m2>
endif

// Level 2
[function mg2]
if (<magery> < 40.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 2
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 40.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 2
	act.equip
	act <var.m2>
endif

// Level 3
[function mg3]
if (<magery> < 50.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 3
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 50.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 3
	act.equip
	act <var.m2>
endif

// Level 4
[function mg4]
if (<magery> < 60.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 4
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 60.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 4
	act.equip
	act <var.m2>
endif

// Level 5
[function mg5]
if (<magery> < 70.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 5
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 70.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 5
	act.equip
	act <var.m2>
endif

// Level 6
[function mg6]
if (<magery> < 80.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 6
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 80.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 6
	act.equip
	act <var.m2>
endif

// Level 7
[function mg7]
if (<magery> < 90.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 7
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 90.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 7
	act.equip
	act <var.m2>
endif

// Level 8
[function mg8]
if (<magery> < 100.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 8
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 100.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 8
	act.equip
	act <var.m2>
endif

//------------------
// poison functionz
//------------------

[function psg]
if (<magery> < 50.0) && ((<skilllock[25]> == 0) && (<skilltotal> < 15000.0))
	findid.i_magerylvl.remove
	var.m2 <act.uid>	
	newitem i_magerylvl
	act.more1 3
	act.equip
	act <var.m2>
endif

if (<evaluatingintel> < 50.0) && ((<skilllock[16]> == 0) && (<skilltotal> < 15000.0))
	findid.i_evallvl.remove
	var.m2 <act.uid>	
	newitem i_evallvl
	act.more1 3
	act.equip
	act <var.m2>
endif


if (<poisoning> < 100.0) && ((<skilllock[30]> == 0) && (<skilltotal> < 15000.0))
	findid.i_poisonlvl.remove
	var.m2 <act.uid>	
	newitem i_poisonlvl

	if (<src.poisoning> < 30.0)
		if (rand(5) == 1)
			act.more1 8
		endif
	elseif (<src.poisoning> > 29.9) && (<src.poisoning> < 40.0)
		if (rand(15) == 1)
			act.more1 4
		endif
	elseif (<src.poisoning> > 39.9) && (<src.poisoning> < 50.0)
		if (rand(20) == 1)
			act.more1 3
		endif
	elseif (<src.poisoning> > 49.9) && (<src.poisoning> < 60.0)
		if (rand(21) == 1)
			act.more1 2
		endif
	elseif (<src.poisoning> > 59.9) && (<src.poisoning> < 70.0)
		if (rand(22) == 1)
			act.more1 1
		endif
	elseif (<src.poisoning> > 69.9) && (<src.poisoning> < 80.0)
		if (rand(25) == 1)
			act.more1 1
		endif
	elseif (<src.poisoning> > 79.9) && (<src.poisoning> < 90.0)
		if (rand(40) == 1)
			act.more1 1
		endif
	elseif (<src.poisoning> > 89.9)
		if (rand(60) == 1)
			act.more1 1
		endif
	else
		act.more1 9
	endif
	act.equip
	act <var.m2>
endif


//------------------
// breakspell functionz
//------------------

// Circle 1
[function breakspell1]
f_fizzle

// Circle 2
[function breakspell2]
f_fizzle
if (<src.mana> > 20)
	src.mana (<src.mana> - {8 10})
else
	src.mana 0
endif

// Circle 3
[function breakspell3]
f_fizzle
if (<src.mana> > 25)
	src.mana (<src.mana> - {10 15})
else
	src.mana 0
endif

// Circle 4
[function breakspell4]
f_fizzle
if (<src.mana> > 30)
	src.mana (<src.mana> - {15 20})
else
	src.mana 0
endif

// Circle 5
[function breakspell5]
f_fizzle
if (<src.mana> > 35)
	src.mana (<src.mana> - {20 25})
else
	src.mana 0
endif

// Circle 6
[function breakspell6]
f_fizzle
if (<src.mana> > 40)
	src.mana (<src.mana> - {25 30})
else
	src.mana 0
endif

// Circle 7
[function breakspell7]
f_fizzle
if (<src.mana> > 45)
	src.mana (<src.mana> - {30 35})
else
	src.mana 0
endif

// Circle 8
[function breakspell8]
f_fizzle
if (<src.mana> > 50)
	src.mana (<src.mana> - {35 40})
else
	src.mana 0
endif

//------------------
// spell: explosion
//------------------

[itemdef i_spelleffect_explosion]
name=[explosion spelleffect]
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
cont.sayu explosion
timer 2

On=@Timer
cont.effect 3,i_fx_explode,6,15,1
cont.sfx snd_spell_explosion

if (<cont.hitpoints> > 32)
	cont.hits=(<cont.hits> - {25 30})
	cont.damage 1
else
	cont.hits=0
endif

attr attr_decay
remove
return 1

//------------------
// spell: polymorph
//------------------

[function plym]
if (<findid.i_pre_morph>)
	findid.i_pre_morph.remove
	f_fizzle
endif

if !(<findid.i_morpher>)
	newitem i_pre_morph
	act.more <args>
	act.equip
	newitem i_morpher
	act.more <body>
	act.equip
else
	findid.i_morpher.timer {285 320}
	newitem i_pre_morph
	act.more <args>
	act.equip
endif

[itemdef i_pre_morph]
name=[casting polymorph]
id=i_gold
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
timer 4
cont.spell_say Vas Ylem Rel
cont.anim 17
cont.sd 3
cont.events +e_breakpoly

On=@UnEquip
cont.events -e_breakpoly
cont.consume 1 i_reag_spider_silk
cont.consume 1 i_reag_blood_moss
cont.consume 1 i_reag_mandrake_root
cont.consume 1 i_reag_sulfur_ash

On=@Timer
attr attr_decay
if (<cont.mana> < 40)
	cont.f_fizzle
else
	cont.mana (<cont.mana> - 40)
	cont.sfx snd_spell_polymorph
	cont.body <more>
	cont.update
endif
remove
return 1

[itemdef i_morpher]
name=Polymorph
id=i_rune_polymorph
type=t_eq_script
weight=0
layer=layer_special

On=@Equip
timer {285 320}
cont.events +e_poly

On=@UnEquip
cont.events -e_poly
cont.body <more>
cont.update

On=@Timer
attr attr_decay
remove
return 1

[events e_poly]
On=@Death
findid.i_morpher.remove

[events e_breakpoly]
On=@SpellCast
findid.i_pre_morph.remove
findid.i_morpher.remove
f_fizzle

On=@GetHit
findid.i_pre_morph.remove
findid.i_morpher.remove
f_fizzle

On=@Hit
findid.i_pre_morph.remove
findid.i_morpher.remove
f_fizzle

On=@Death
findid.i_pre_morph.remove
findid.i_morpher.remove

On=@SkillStart
findid.i_pre_morph.remove
findid.i_morpher.remove
f_fizzle

[EOF]
Sphere_Skills
//****************************************************************************
//SPHERE by : Menasoft ©1997-2006
//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=10000,4000,600
INT=10000,4000,600
DEX=10000,4000,600


[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.

disconnect

[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=300
SKILLSUM=10000.0
STR=100
INT=100
DEX=100
Alchemy=100.0
Anatomy=100.0
AnimalLore=100.0
ItemId=100.0
ArmsLore=100.0
Parrying=100.0
Begging=100.0
Blacksmithing=100.0
Bowcraft=100.0
Peacemaking=100.0
Camping=100.0
Carpentry=100.0
Cartography=100.0
Cooking=100.0
DetectingHidden=100.0
Enticement=100.0
EvaluatingIntel=100.0
Healing=100.0
Fishing=100.0
Forensics=100.0
Herding=100.0
Hiding=100.0
Provocation=100.0
Inscription=100.0
LockPicking=100.0
Magery=100.0
MagicResistance=100.0
Tactics=100.0
Snooping=100.0
Musicianship=100.0
Poisoning=100.0
Archery=100.0
SpiritSpeak=100.0
Stealing=100.0
Tailoring=100.0
Taming=100.0
TasteId=100.0
Tinkering=100.0
Tracking=100.0
Veterinary=100.0
Swordsmanship=100.0
Macefighting=100.0
Fencing=100.0
Wrestling=100.0
Lumberjacking=100.0
Mining=100.0
Meditation=100.0
Stealth=100.0
RemoveTrap=100.0
Necromancy=100.0
Focus=100.0
Chivalry=100.0
Bushido=100.0
Ninjitsu=100.0
Spellweaving=100.0
on=@login
events +fix
f_player_login
on=@Logout
events +fix
f_player_logout
disconnect

[EOF]
Commands
[PLEVEL 1]
DISARM
INGOTS
HUNGRY
ORES
REGS
STAT
SKILLDUSUR
staff
stun
inslast
blacklast
carplast
bowlast
alchlast
tinklast
tailast
charsil
frozen
Sifre
unvansec
bandaj
komutlar
healic
cureic
bleedic
refreshic
komutlarim
makelast
yolla

[PLEVEL 2]
SINFO
star
AFK
WHERE
BANKSELF
ADMIN
CAST
GETIR
XGO
GO
INVIS
PG
S
SA
SUICIDE
TELE
STONE
XSTONE
INVUL
set
duyur

[PLEVEL 3]
NOT
SICIL

[PLEVEL 4]
STATIC
SUMMON
EDIT
INFO
TWEAK
hapis af
add

[PLEVEL 5]
ALLCLIENTS
REGION
SECTOR
JFORGIVE
privshow
nuke

[PLEVEL 6]
save
PASSWORD
kick
dupe

[PLEVEL 7]
remove 1
PAGE
PAGE KICK
PAGE K
PAGE BAN
PAGE B
EVENTS
SHOW
TAGLIST
GMPAGE
xkills
fixmixx
serv


[function frozen]
if (<src.hits> == 0)
if !(0<src.findid.i_stuck.more>>0)
if (<src.flags> <src.flags>|04)
src.flags <src.flags>&~04
src.sysmessage @0481 Frozenliginiz giderildi.
else
src.sysmessage @0481 Frozen hatasi bulunmuyor veya Ölü degilsiniz.
return 1
endif
endif
endif

[function davaro]
src.go britain

[function sa]
staffadmin

[function star]
src.go star

[function sgo] // server-wide
serv.allclients sgo2 <ARGS>
src.go <args>

[function sgo2]
if (<account.plevel> > 1 ) && (<account.plevel> < 6 )
go <args>
endif

[function scome] // server-wide
serv.allclients scome2 <ARGS>

[function scome2]
if (<account.plevel> > 1 ) && (<account.plevel> < 6 )
summonto
endif

[function editchk]
region.allclients editchk2

[function editchk2]
if ((<skilltotal> > 800.0) && (0<account.plevel> < 2))
serv.allclients findid.i_staff_chat.cont.sysmessage @0482,,1 *** Warning: character '<name>' skill total over 800.0 (<skilltotal>)
serv.allclients findid.i_staff_chat.cont.sysmessage @0482,,1 *** 'Skill total' check complete.
endif

[function sysmessageua] 
var.act <act>
var.p <p>
newitem i_memory
act.p 6000 2000
var.regfla <act.region.flags>
act.region.flags <region.flags>
p 6000 2000
act.sayua <eval <var.sysmessageua>> 0 0 1 <args> 
p <var.p>
act.region.flags <var.regfla>
act.remove
act <var.act>

[function f_disc]
newitem i_insta_disconnecter
src.act.equip

[itemdef i_insta_disconnecter]
name Instant Disconnecter
id i_memory
type t_eq_script
weight 0
layer layer_special

On=@Create
attr attr_invis|attr_decay

On=@Equip
timer 3 

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

[function f_fizzle]
effect 3,i_fx_smoke_small,3,40,1
sound 92
if (<mana> > 8)
mana (<mana> - {5 8})
findid.i_spdelay_unisex.remove
findid.i_spdelay_man.remove
findid.i_spdelay_woman.remove
else
findid.i_spdelay_unisex.remove
findid.i_spdelay_man.remove
findid.i_spdelay_woman.remove
mana 1
endif
if (<findid.i_magerylvl>)
findid.i_magerylvl.remove
endif
if (<findid.i_evallvl>)
findid.i_evallvl.remove
endif
if (<findid.i_poisonlvl>)
findid.i_poisonlvl.remove
endif

[function f_player_login] // playerlar boyle login oluyor
if (0<account.plevel> > 1)
skillclass 1
var.smsgx 0482
smsgx <serv.name> staff'a hosgeldiniz, <account>!
f_staff_login
return 1
else
account.plevel
if !(<isevent.fix>)
events +fix
endif

// DIALOG D_yenilikler
events +fix
events +e_death_announce
endif
[plevel 2]
staffname

[function staffname]
src.events gmfix
src.events e_gmfix
src.events +e_gmfix
src.events +gmfix
src.sysmessage Staff Event'ini Aldiniz

elseif !(strmatch('<src.clientversion>','2.0.3'))
var.smsgx 0482
smsgx *** <serv.name>'ya girebilmek icin yeni clienti kullanmalisiniz...
smsgx *** Sitemizden clienti cekebilirsiniz.
f_disc
return 1
endif
title
detail 0

if (<necromancy> > 0) && (<necromancy> < 50.1)
necromancy
endif

if ((<skilltotal> > 800.0) && (0<account.plevel> < 2))
src.go jail
serv.allclients findid.i_staff_chat.cont.sysmessage @0481,,1 *** Warning: character '<name>' skill total over 800.0 (<skilltotal>)
serv.allclients findid.i_staff_chat.cont.sysmessage @0482,,1 *** Warning: character '<name>' skill total over 800.0 (<skilltotal>)
endif


tag.hungry
tag.affet
tag.af
tag.aff
tag.bagn
tag.questp
tag.umcn
tag.umc
tag.msk
tag.mco
tag.bear
tag.af
tag.aff
tag.nysnowball
tag.vendorella

if !(<isevent.fix>)
events +fix
endif


[function f_player_logout] // playerlar boyle logout oluyor
if (<findid.i_rune_incognito>)
findid.i_rune_incognito.remove
endif

if (<region.guarded>) && !(<region.flags>®ion_flag_insta_logout) && (<hits> < <str>) && !(<flags>&statf_dead)
if (<memoryfindtype.memory_town>) || (<memoryfindtype.memory_guild.link.align> > 0)
hits 1
endif
endif



[function countstaff]
if (<ACCOUNT.PLEVEL>==2)
VAR.GMS=<eval <VAR.GMS>+1>
elseif (<ACCOUNT.PLEVEL>==3)
VAR.GMS=<eval <VAR.GMS>+1>
elseif (<ACCOUNT.PLEVEL>==4)
VAR.GMS=<eval <VAR.GMS>+1>
elseif (<ACCOUNT.PLEVEL>==5)
VAR.GMS=<eval <VAR.GMS>+1>
elseif (<ACCOUNT.PLEVEL>==6)
VAR.GMS=<eval <VAR.GMS>+1>
elseif (<ACCOUNT.PLEVEL>==7)
VAR.GMS=<eval <VAR.GMS>+1>
endif
if (<GM>)
VAR.GMS=<eval <VAR.GMS> >
endif
return 1

[function staff]
VAR.PLEVEL2=0
VAR.PLEVEL3=0
VAR.PLEVEL4=0
VAR.PLEVEL5=0
VAR.PLEVEL6=0
VAR.PLEVEL7=0
VAR.GMS=0
serv.allclients countstaff
src.SYSmessage @0481,,1 Serverimizda <eval <VAR.GMS>+1> Yetkili Online.

[function smsgx] 
var.act <act>
var.p <p>
newitem i_memory
act.p 6000 2000
var.regfla <act.region.flags>
act.region.flags <region.flags>
p 6000 2000
act.sayua <eval <var.smsgx>> 0 0 1 <args>
p <var.p>
act.region.flags <var.regfla>
act.remove
act <var.act>

[plevel 02}
a
[function a]
add <args>
return 1

[eof]

Fix
[function da]
serv.allclients sysmessage @54,1,1 Holygun Duyuru
serv.allclients sysmessage @1153,1,1 <args>

[events e_death_announce]
On=@Death
if !(<isevent.e_qchar>)
if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>) && (0<act.npc> == 0)
serv.allclients sysmessage <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> civarlarinda olduruldu.
endif
endif


[function spell_say]
if (0< <src.account.plevel> < 2)
sayua 1153,6,6,eng, <args>
else
return 1
endif

[events e_death_announce]
On=@Death
if !(<isevent.e_qchar>)
	if (<fame> > 9900) && (<memoryfindtype.memory_harmedby>) && (<act.ischar>) && (<act.uid> != <uid>)
		serv.allclients sysmessage @077a <sex Lord/Lady> <name>, <act.name> tarafindan <region.name> civarlarinda olduruldu.
	endif
endif

[events fix]
On=@Attack
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<src.memoryfindtype.memory_guild.link.more1> == 1)
sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<src.memoryfindtype.memory_guild.link.more1> == 2)
sysmessage @54,,1 Yandaslariniza zarar veremezsiniz.
return 1
endif
If (<src.id> == c_pv)
sysmessage @54 Player vendorlarina zarar veremezsiniz.
return 1
endif

if (strmatch('<src.id>','c_hakem'))
smg Buna saldiramazsin...
return 1
endif

On=@HitTry
if (<memoryfindtype.memory_guild.link.more1> == 1) && (<act.memoryfindtype.memory_guild.link.more1> == 1)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
elseif (<memoryfindtype.memory_guild.link.more1> == 2) && (<act.memoryfindtype.memory_guild.link.more1> == 2)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
endif
If (<src.npc> == brain_vendor) || (<src.npc> == brain_banker) || (<src.npc> == brain_animal_trainer) || (<src.npc> == brain_healer)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Elseif (<Src.Uid> == <Uid>)
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Elseif (<Src.Flags>&(statf_stone|statf_invul|statf_hidden|statf_invisible))
Src.Action = -1
Src.Flags = <SRC.FLAGS> & ~statf_war
Return 1
Endif

On=@Logout
src.action -1
return 1



On=@Profile
if (<src.uid> == <uid>) || (0<src.account.plevel> > 2)
	src.sysmessage @0481,,1 Kullanici Adi: <account>,
	src.sysmessage @0481,,1 Online Sureniz: <eval (<account.totalconnecttime> / 60)>s
	src.sysmessage @0481,,1 Kayit Tarihi: <account.firstconnectdate>
	if (strmatch('<src.uid.04009a3fa.tag.<account>_vet>','01'))
		src.sysmessage Veteran: odul verilmis.
	endif
	src.sysmessage @0481,,1 Karakter: <eval (<age> / 86400)> gun once dogmus.
endif

On=@Death
if (<kills> > 99999999999)
	f_statloss
endif

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

On=@EnvironChange
if !(<memoryfindtype.memory_guild.link.align>) || (<kills> > 5)
	if (<findlayer(2).baseid> == i_shield_chaos) || (<findlayer(2).baseid> == i_shield_order)
		//findlayer(2).unequip
	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_str>) || (<isevent.e_dex>) || (<isevent.e_int>) || (<isevent.e_spr>))
		var.stats <eval (<str> + <int> + <dex>)> // stat cap fix
		if (<eval <var.stats>> > 225)
			statcapdex
		endif
	endif
endif


On=@SpellCast

dialogclose d_runebook

if (<act.id> == c_hakem)
	f_fizzle
	return 1
endif

if !(<act.uid> == <uid>) && (<act.region.guarded> == 1) && (<region.guarded> == 1)
	if (<memoryfindtype.memory_guild.link.align> == 1) // order
		if (<act.memoryfindtype.memory_guild.link.align> == 1)
			f_fizzle
			return 1 //vurmayi engelle
		endif
	endif
	if (<memoryfindtype.memory_guild.link.align> == 2)
		if (<act.memoryfindtype.memory_guild.link.align> == 2)
			f_fizzle
			return 1
		endif
	endif
	endif


if (<argn> == 47) // para field of stone town fix
	if (<src.region.DEFNAME>&a_townBritain) 
	src.sysmessage @38 burada bu buyuyu 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) || (<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> == 25) || (<argn> == 26) || (<argn> == 46) || (<argn> == 48) || (<argn> == 49) || (<argn> == 54) || (<argn> == 55) || (<argn> == 57))
		f_fizzle
		return 1
	endif
endif

if (<findid.i_bandajvar>)
	f_fizzle
	src.sysmessage @0481,,1 Bandaj kullanirken buyu yapamazsiniz...
return 1
endif

if (<argn> == 1) // Clumsy
spell_say Uus Jux
mg1
elseif (<argn> == 2) // Create food
spell_say In Mani Ylem
mg1
elseif (<argn> == 3) // Feeblemind
spell_say Rel Wis
mg1
elseif (<argn> == 4) // Heal
spell_say In Mani
// spellfreeze 1
sd 1
mg1
elseif (<argn> == 5) // Magic Arrow
spell_say In Por Ylem
mg1
elseif (<argn> == 6) // Night Sight
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say In Lor
mg1
elseif (<argn> == 7) // Reactive Armor
if (<act.serial>==<targ.serial>)
spell_say Flam Sanct
// spellfreeze 1
sd 1
mg8
else
skill fail
ekranitemizle
sysmessage @1153 Bu buyuyu sadece kendi uzerinizde kullanabilirsiniz...
return 1
endif
elseif (<argn> == 8) // Weaken
spell_say Des Mani
mg1
elseif (<argn> == 9) // Agility
spell_say Ex Uus
mg2
elseif (<argn> == 10) // Cunning
spell_say Uus Wis
mg2
elseif (<argn> == 11) // Cure
spell_say An Nox
// spellfreeze 1
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
mg2
elseif (<argn> == 12) // Harm
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say An Mani
// spellfreeze 1
sd 1
mg2
elseif (<argn> == 13) // Trap
spell_say In Jux
f_fizzle
return 1
elseif (<argn> == 14) // Untrap
spell_say An Jux
f_fizzle
return 1
elseif (<argn> == 15) // Protection
if (<act.serial>==<targ.serial>)
spell_say Uus Sanct
// spellfreeze 1
sd 1
mg7
else
skill fail
ekranitemizle
sysmessage @1153 Bu buyuyu sadece kendi uzerinizde kullanabilirsiniz...
return 1
endif
elseif (<argn> == 16) // Strength
spell_say Uus Mani
// spellfreeze 1
sd 1
mg2
elseif (<argn> == 17) // Bless
if (<act.serial>==<targ.serial>)
spell_say Rel Sanct
// spellfreeze 1
sd 1
mg3
else
skill fail
ekranitemizle
sysmessage @1153 Bu buyuyu sadece kendi uzerinizde kullanabilirsiniz...
return 1
endif
elseif (<argn> == 18) // Fireball
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say Vas Flam
// spellfreeze 1
sd 1
mg3
elseif (<argn> == 19) // Lock
spell_say An Por
f_fizzle
return 1
elseif (<argn> == 20) // Poison
if (<src.region.safe> == 1)
src.sysmessage @0481,,1 Bu buyuyu safe zone icinde yapamazsiniz.
f_fizzle
return 1
elseif (<act.hits> == 0)
f_fizzle
src.sysmessage @0481,,1 Olulere poison atamazsiniz.
skill fail
return 1
elseif (<src.targ.findid.i_rune_summon_creature>
f_fizzle
src.sysmessage @0481,,1 Buyu ile yaratilmis cisimlere poison atamazsiniz.
skill fail
return 1
elseif (<src.act.topobj.stone> == 1)
src.sysmessage @0481,,1 Bu buyuyu stone haldeki ki$ilere atamazsiniz.
f_fizzle
return 1
else
spell_say In Nox
// spellfreeze 1
psg
sd 1
endif
elseif (<argn> == 21) // Telekinesis
spell_say Ort Por Ylem
// spellfreeze 1
sd 1
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
mg3
elseif (<argn> == 22) // Teleport
spell_say Rel Por
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 2
mg3
elseif (<argn> == 23) // Unlock
spell_say Ex Por
f_fizzle
return 1
elseif (<argn> == 24) // Wall
spell_say In Sanct Ylem
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 1
sd 1
mg3
elseif (<argn> == 25) // Arch Cure
spell_say Vas An Nox
// spellfreeze 2
sd 2
mg4
elseif (<argn> == 26) // Arch Protection
spell_say Vas Uus Sanct
// spellfreeze 2
sd 2
mg4
elseif (<argn> == 27) // Curse
spell_say Des Sanct
// spellfreeze 2
sd 2
mg4
elseif (<argn> == 28) // Fire Field
spell_say In Flam Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 1
mg4
sd 2
elseif (<argn> == 29) // Greater Heal
spell_say In Vas Mani
// spellfreeze 1
sd 2
mg4
elseif (<argn> == 30) // Lightning
spell_say Por Ort Grav
// spellfreeze 1
sd 2
mg4
elseif (<argn> == 31) // Mana Drain
spell_say Ort Rel
// spellfreeze 1
return 1
elseif (<argn> == 32) // Recall
spell_say Kal Ort Por
// spellfreeze 2
sd 2
mg4
elseif (<argn> == 33) // Blade Spirits
spell_say In Jux Hur Ylem
// spellfreeze 2
sd 2
mg5
elseif (<argn> == 34) // Dispel Field
spell_say An Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
if (<act.ischar>)
f_fizzle
return 1
endif
// spellfreeze 2
sd 2
mg5
elseif (<argn> == 35) // Incognito
spell_say Kal In Ex
// spellfreeze 2
sd 2
mg5
elseif (<argn> == 36) // Magic Reflect
if (<act.serial>==<targ.serial>)
spell_say In Jux Sanct
// spellfreeze 2
sd 1
mg8
else
skill fail
ekranitemizle
sysmessage @1153 Bu buyuyu sadece kendi uzerinizde kullanabilirsiniz...
return 1
endif
elseif (<argn> == 37) // Mind Blast
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say Por Corp Wis
// spellfreeze 2
sd 2
mg5
elseif (<argn> == 38) // Paralyze
spell_say An Ex Por
// spellfreeze 2
sd 2
mg5
elseif (<argn> == 39) // Poison Field
spell_say In Nox Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
// spellfreeze 2
sd 2
mg5
elseif (<argn> == 40) // Summon Creature
spell_say Kal Xen 
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 2
mg5
sd 2
elseif (<argn> == 41) // Dispel
spell_say An Ort
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 2
sd 2
mg6
elseif (<argn> == 42) // Energy Bolt
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say Corp Por
// spellfreeze 2
sd 2
mg6
elseif (<argn> == 43) // Explosion
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say Vas Ort Flam
// spellfreeze 2
sd 2
mg6
elseif (<argn> == 44) // Invisibility
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say An Lor Xen
// spellfreeze 2
sd 2
mg6
if (<findid.i_anlorfix>)
f_fizzle
src.sysmessage @0481,,1 Gate kapanmadan bu buyuyu kullanamazsiniz...
return 1
endif
elseif (<argn> == 45) // Mark
spell_say Kal Por Ylem
// spellfreeze 2
sd 2
mg6
elseif (<argn> == 46) // Mass Curse
spell_say Vas Des Sanct
// spellfreeze 2
sd 2
mg6
elseif (<argn> == 47) // Paralyze Field
spell_say In Ex Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
// spellfreeze 2
sd 3
mg6
elseif (<argn> == 48) // Reveal
spell_say Wis Quas
// spellfreeze 2
sd 2
mg6
elseif (<argn> == 49) // Chain Lightning
spell_say Vas Ort Grav
if (<act.uid> == <uid>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg7
elseif (<argn> == 50) // Energy Field
spell_say In Sanct Grav
if (<act.topobj.ischar>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
if (<act.topobj.ischar>)
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg7
elseif (<argn> == 51) // Flame strike
if (<src.restest i_spdelay_man>) || (<src.restest i_spdelay_woman>)
skill fail
src.sysmessage @045 Su anda baska bir buyu yapmaktasiniz
return 1
endif

spell_say Kal Vas Flam
// spellfreeze 3
sd 3
mg7
elseif (<argn> == 52) // Gate Travel
spell_say Vas Rel Por
// spellfreeze 3
sd 3
mg7
elseif (<argn> == 53) // Mana Vampire
spell_say Ort Sanct
// spellfreeze 3
f_fizzle
return 1
elseif (<argn> == 54) // Mass Dispel
spell_say Vas An Ort
//if (<act.topobj.ischar>)
//f_fizzle
//return 1
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3 
mg7
elseif (<argn> == 55) // Meteor Swarm
spell_say Flam Kal Des Ylem
if (<act.uid> == <uid>)
f_fizzle
return 1
elseif (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 2
sd 3
mg7
elseif (<argn> == 56) // Polymorph
src.skill fail
sd 3
mg3
elseif (<argn> == 57) // Earthquake
spell_say In Vas Por
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 58) // Energy Vortex
spell_say Vas Corp Por
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 59) // Resurrect
spell_say An Corp
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 60) // Air Elemental
spell_say Kal Vas Xen Hur
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 61) // Summon Deamon
spell_say Kal Vas Xen Corp
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 62) // Earth Elemental
spell_say Kal Vas Xen Ylem
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 63) // Fire Elemental
spell_say Kal Vas Xen Flam
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg8
elseif (<argn> == 64) // Water Elemental
spell_say Kal Vas Xen An Flam
if (<src.region.guarded> == 1) && !(<isgm>)
src.sysmessage @0481,,1 Bu buyuyu guard zone icinde yapamazsiniz
f_fizzle
return 1
endif
// spellfreeze 3
sd 3
mg8
endif

On=@SpellEffect
if (<flags>&statf_dead) // oluye dokunulmaz, ayiptir
	if (<argn> == 59)
		sfx snd_spell_resurrection
	findlayer(22).remove
***

Bu konu Slothere tarafından düzenlendi(2008-02-17 20:36, 16 yıl önce)



Üye Ol veya Giriş Yap

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