|
On=@Login
src.events fixsphere_skills.scp icindeki yere eklersen sorun düzelicektir.
//*************************************
// YAZAR: Basic & xwerswoodx
// YAPIM: Hamit Devecioğlu (c)2003-2009
// TARİH: 15.08.2009
// SAAT : 15:53
// KONU : Fix Script
//*************************************
VERSION=0.56b
//**********
//xwerswoodx
//**********
[Events e_fix]
on=@spellcast //Magery + Staff ve Spellbook elden düşmesin.
if !(<src.findlayer(2).type>==t_weapon_mace_staff)
src.findlayer(2).bounce
if !(<src.findlayer(1).type>==t_spellbook)
src.findlayer(1).bounce
endif
endif
//*****
//Basic
//*****
if (<argn> == 12)
src.spellfreeze 2
elif (<argn> == 20)
src.spellfreeze 2
elif (<argn> == 7)
src.spellfreeze 1
elif (<argn> == 29)
src.spellfreeze 3
elif (<argn> == 11)
src.spellfreeze 2
elif (<argn> == 44)
src.spellfreeze 3
elif (<argn> == 4)
src.spellfreeze 2
elif (<argn> == 22)
src.spellfreeze 1
else
src.spellfreeze (<dargn3> / 6)
endif
//**************************
//Bundan sonrası: xwerswoodx
//**************************
On=@SpellEffect //Oto tp
If (<argn> == 38) || (<argn> == 47)
if (<findid.i_pouch_trapped>)
if (<findid.i_pouch_trapped.more2> > 1)
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 2
findid.i_pouch_trapped.more2 -=1
return 1
else
effect 3,i_fx_explode,3,25,1
sound snd_spell_explosion
damage 2
findid.i_pouch_trapped.remove
return 1
endif
elseif !(<src.uid> == <uid>)
findid.i_rune_poison.remove
endif
endif
On=@itemclick //Item renkli isim ve özellik.
if (<act.isweapon>)
if (<act.attr>&attr_identified)
act.color=color_<act.morey>
act.arma [ <def.isim_<act.morey>> (+<eval <act.morey>/66>) ]
act.isim <serv.itemdef.<act.dispid>.name>
return 1
else
act.isim <serv.itemdef.<act.dispid>.name>
return 1
endif
elseif (<act.baseid>==i_guildstone)
if (<act.more1> == 1)
act.message @255 [Order]
elseif (<act.more1> == 2)
act.message @35 [Chaos]
endif
if (strmatch('<act.abbrev>',''))
act.arma [ <act.name> ]
else
act.arma [ <act.name>, <act.abbrev> ]
endif
act.isim guildstone
return 1
else
if (<act.amount>==1)
act.isim <serv.itemdef.<act.dispid>.name>
return 1
else
act.isim <act.amount> <serv.itemdef.<act.dispid>.name>
return 1
endif
endif
On=@itemdclick //Spellbook a 2 kere tıklayınca "eline versin" :D
if (<act.isweapon>)
act.color=color_<act.morey>
elseif (<act.type>==t_spellbook)
act.equip
endif
On=@itemcreate //Kılınç yaratınca araştırılmış çıkartalım :)
if (<argo.isweapon>)
argo.color=color_<argo.morey>
argo.attr=attr_magic|attr_identified
return 1
endif
obj = <memoryfindtype.memory_guild.link.uid>
if (<memoryfindtype.memory_guild>)
if strmatch('<obj.memberfromuid.<uid>.guildtitle>','')
message [<obj.name>]
else
message [<obj.memberfromuid.<uid>.guildtitle> of <obj.abbrev>]
endif
endif
On=@charclick //Giriş Yasaklama, npc ve Vendor Fix
if (<src.account.plevel> > 1) && (<src.account.plevel> < 7) // Plevel 2-3-4-5-6 Spawn & Zoo Giriş Yasak.
if (<act.npc>==1) || (<act.npc>==10) || (<act.npc>==11) || (<act.npc>==12) || (<act.npc>==13)
src.go star chamber
src.fix Siz spawnlara giremezsiniz.
return 1
else
act.isim <act.name>
return 1
endif
endif
if (<act.npc>==3) || (<act.npc>==4) || (<act.npc>==5) || (<act.npc>==6) || (<act.npc>==7) || (<act.npc>==8) || (<act.npc>==9)
act.arma [ <act.job> ]
act.isim <act.name>
return 1
elseif (<act.npc>==10) || (<act.npc>==11) || (<act.npc>==12) || (<act.npc>==13)
act.arma [ Hits/Str: <act.hits>/<act.str> ]
act.isim <act.name>
return 1
elseif (<act.flags>&statf_pet)
act.arma [ Sahibi: <act.findid.i_memory.name> ]
act.isim <act.name>
return 1
elseif (<act.npc>==0)
else
act.isim <act.name>
return 1
endif
On=@Mount // Poison ve Paralyze Bug Fix
if (<argo.findid.i_rune_poison>)
src.fix Canlilarin ustunde zehir varken ustune binemezsiniz.
return 1
elseif <argo.findid.i_rune_paralyze> || <argo.findid.i_rune_paralyze_field>
src.fix Canlilar paralyze iken ustune binemezsiniz.
return 1
endif
//Jail Fix (Deneme)
//On=@Gethit
//if (<act.findid.i_jailde>) //Jail itemi!
//act.hits=<act.str>
//return 1
//endif
//******************************************************
//Basic Functions
[function spellfreeze]
tag0.nomovetill=<EVAL <SERV.TIME> + (<ARGS> * 6)>
[function f_fizzle]
tag0.nomovetill=0
if (<mana> >= 8)
mana -={3 8}
return 1
endif
//xwerswoodx
[Defname weapon_fix]
color_0 00
color_200 05
color_400 045
color_600 075
color_800 025
color_1000 095
isim_0 Normal
isim_200 Ruin
isim_400 Might
isim_600 Force
isim_800 Power
isim_1000 Vanquishing
[Function fix]
src.sysmessage @026,,1 <args>
return 1
[Function isim]
message @048 <args>
return 1
[Function arma]
message @095 <args>
return 1
[EOF]Al Bu Sorunsuz
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Room eventi tag olarak almak
Son cevap: 06-02 01:47 · Son yazan: xwerswoodx · Mesaj: 8 · Görüntü: 3145
|
Script Yardımı | 06-02 01:47 | 8 | 3145 | |
|
|
Necromancy Bir Kaç Problem
Son cevap: 19-01 21:09 · Son yazan: Marshall Longcloak · Mesaj: 10 · Görüntü: 3364
|
Script Yardımı | 19-01 21:09 | 10 | 3364 | |
|
|
Client ve Hex Editör ile ilgili bir soru
Son cevap: 13-12 18:43 · Son yazan: Athynas · Mesaj: 1 · Görüntü: 1744
|
Client ve Account Sistemleri | 13-12 18:43 | 1 | 1744 | |
|
|
sunucuya giriş eventi
Son cevap: 23-02 14:18 · Son yazan: sebepsizcee · Mesaj: 5 · Görüntü: 3566
|
Script Yardımı | 23-02 14:18 | 5 | 3566 | |
|
|
Ev eventi sildirme
Son cevap: 24-03 19:54 · Son yazan: cRobert · Mesaj: 1 · Görüntü: 2777
|
FUNCTION & EVENTS Script Yardımı | 24-03 19:54 | 1 | 2777 |