|
[function nofield]
src.newitem i_dispeler
src.act.color 07a1
src.act.attr 010
src.act.bounce
src.act.drop
return 1
[itemdef i_dispeler]
defname i_dispeler
name=Spell Remove Item
weight 15
id=i_crystal_green
type=t_script
on=@step
timer 1
ON=@create
attr=attr_move_never|attr_invis
timer=1
color=07a1
ON=@timer
foritems 9
if (<attr>&attr_magic)
if (<type> == t_spell)
if ((<baseid>==i_wall_stone_8) ||(<argn> == 45) || (<baseid>==i_fx_field_fire_ns) || (<baseid>==i_fx_mark_ns) || (<baseid>==i_fx_field_paralyze) || (<baseid>==i_fx_energy_field) || (<baseid>==i_fx_field_fire) || (<baseid>==i_fx_poison_field))
timer
endif
endif
endif
endfor
color=07a1
attr 080
timer 1
return 1
ON=@dclick
timer 1
return 1
On=@spellcast
if (<argn> == 45)
src.sysmessage @38,,1 Burası marklanamaz !
src.f_fizzle
return 1
endifekliyorum olmuyor?
on=@SpellCast
if <argn1> == 45
foritems 7
if <baseid> == i_dispeler
src.sysmessage @38,,1 Burası marklanamaz !
return 1
endif
endfor
endif
if <SERV.MAP(<act.morex>,<act.morey>).isneartype t_script 15> //type bölümü t_script yazmissin itemin typesini değiştir buradan.
src.sysmessage @,,1 Gitmek istediğiniz bölgeye gidemezsiniz. Gittiğiniz bölge mark yasak bölgesi.
return 1
endif[Spell 45] //markforitems 15
if <type> == t_script // item type ne ise onu yaz
src.sysmessage @,,1 Bu bölge marklanamaz.
return 1
endif
endfor[Spell 52] // gate travelif <SERV.MAP(<act.morex>,<act.morey>).isneartype t_script 15>
src.sysmessage @,,1 Gitmek istediğiniz bölgeye gidemezsiniz. Gittiğiniz bölge mark yasak bölgesi.
return 1
endif
[ITEMDEF i_rb_gate]
ID=i_moongate_blue
RESOURCES=i_scroll_gate_travel
TYPE=t_telepad
NAME=Gate
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Moongates
DESCRIPTION=RB Gate
On=@Create
color 0455
more1 5
attr 010
On=@DClick
if (<link.region.flags>®ion_flag_safe)
src.syshata Safe bölgelere gate ile giremezsiniz
return 1
endif
if (<link.region.flags> == 010d2)
src.syshata Gemilere gate ile giremezsiniz.
return 1
endif
if !(<src.flags>&statf_stone)
if (<distance> > 3)
src.sysmessage @39,,1 Gate'e ulasamiyorsunuz.
else
if (<src.findid.i_gater>)
src.findid.i_gater.remove
endif
src.newitem i_gater
src.act.link <uid>
src.act.morep <morep>
src.act.equip
endif
endif
return 1
ON=@Step
if (<link.region.flags>®ion_flag_safe)
src.syshata Safe bölgelere gate ile giremezsiniz
return 1
endif
if (<link.region.flags> == 010d2)
src.syshata Gemilere gate ile giremezsiniz.
return 1
endif
if !((<src.findid.i_gater>) || (<src.flags>&statf_stone))
src.newitem i_gater
src.act.link <uid>
src.act.morep <morep>
src.act.equip
endif
return 1
On=@Click
if (<link.region.flags>®ion_flag_guarded)
message @03c1,6,1 [Guarded bölge]
else
message @03c1,6,1 [Unguarded bölge]
endif
message @03c1,6,1 <link.region.name> bölgesi
if (<link.isneartype t_spell 3>)
link.tag.notice = 1
else
link.tag.notice = 0
endif
if (<link.tag0.notice>==1)
message @03c1,6,1 [Tehlikeli : 3 kare icersinde buyulu seyler var]
endif
return 1
foritems 15
if <type> == t_script // item type ne ise onu yaz
src.sysmessage @,,1 Bu bölge marklanamaz.
return 1
endif
endfor
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Random Spawn sistemi yardım
Son cevap: 02-09 16:44 · Son yazan: Stark35 · Mesaj: 12 · Görüntü: 6464
|
Derleme Scriptler | 02-09 16:44 | 12 | 6464 | |
|
|
Spawn zamanlaması
Son cevap: 19-02 05:27 · Son yazan: RasmuS · Mesaj: 6 · Görüntü: 2864
|
NPC Script Yardımı | 19-02 05:27 | 6 | 2864 | |
|
|
Silah Spawn gibi gözüküyor
Son cevap: 20-04 16:07 · Son yazan: MirroR · Mesaj: 5 · Görüntü: 4996
|
Script Yardımı | 20-04 16:07 | 5 | 4996 | |
|
|
Ev kurma engelleme & mark ve spawn
Son cevap: 16-06 21:02 · Son yazan: xwerswoodx · Mesaj: 4 · Görüntü: 4965
|
ITEM Script Yardımı | 16-06 21:02 | 4 | 4965 | |
|
|
Binek spawn
Son cevap: 14-06 16:46 · Son yazan: halisakts · Mesaj: 4 · Görüntü: 4459
|
Script Yardımı | 14-06 16:46 | 4 | 4459 |