|
[itemdef i_xx]
Name=xx
DYE=1
TYPE=t_clothing
ID=0204e
WEIGHT=5
ARMOR=120
RESOURCES=48 i_cloth
SKILLMAKE=TAILORING 100.0, t_sewing_kit
ON=@Create
COLOR=1945
HITPOINTS=100
ON=@Click
message @50,,1 xx
return 1
ON=@Equip
IF ( <SRC.magery> < 98.0 )
SRC.SYSMESSAGE @07a1 En az 98 Magery'niz olmali.
UNEQUIP
RETURN 1
ENDIF
IF ( <SRC.EVALUATINGINTEL> < 98.0 )
SRC.SYSMESSAGE @07a1 En az 98 Evaluating Intelligence'iniz olmali.
UNEQUIP
RETURN 1
ENDIF
IF ( <SRC.MEDITATION> < 98.0 )
SRC.SYSMESSAGE @07a1 En az 98 Meditation olmali.
UNEQUIP
RETURN 1
ENDIF
IF ((<src.tactics> > 0.0) || (<src.wrestling> > 0.0) || (<src.swordsmanship> > 0.0) || (<src.fencing> > 0.0) || (<src.macefighting> > 0.0) || (<src.archery> > 0.0) )
SRC.SYSMESSAGE @07a1 Combat Skillleri olmamali.
UNEQUIP
RETURN 1
ENDIF
src.events +e_resist_fire
COLOR 066d
ON=@UnEquip
src.events -e_resist_fire
[EVENTS e_resist_fire]
ON=@SPELLEFFECT
If (<argn>==1) || (<argn>==3) || (<argn>==5) || (<argn>==8)
sayua 044,6,6,0 *Buyuden etkilenmez*
return 1
endif
ON=@Gethit
IF (<src.findid.i_rune_clumsy>) || (<src.findid.i_rune_feeblemind>) || (<src.findid.i_rune_magic_arrow>) || (<src.findid.i_rune_weaken>)
src.findid.i_rune_clumsy.remove
src.findid.i_rune_feeblemind.remove
src.findid.i_rune_magic_arrow.remove
src.findid.i_rune_weaken.remove
SPELLEFFECT=s_cure,150.0,1
endif
//////////////////////////////////////////////MAGERY SCP///////////////////////////
[function f_fizzle]
effect 3,i_fx_smoke_small,3,40,1
sound 92
if (<src.mana> > 6)
src.mana <src.mana>-{1 2}
else
src.mana 1
endif
if (<findid.i_magerylvl>)
findid.i_magerylvl.remove
endif
if (<findid.i_evallvl>)
findid.i_evallvl.remove
endif
if (<findid.i_spdelay_man>)
findid.i_spdelay_man.remove
elseif (<findid.i_spdelay_woman>)
findid.i_spdelay_woman.remove
endif
[itemdef i_magerylvl]
name=Magery
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
attr attr_decay
remove
return 1
[itemdef i_evallvl]
name=Evaluating Intelligence
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
attr attr_decay
remove
return 1
[itemdef i_spdelay_woman]
name=Woman Mage Delay
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=Man Mage Delay
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
//------------------
// 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_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]
findid.i_spdelay_man.remove
findid.i_spdelay_woman.remove
if (<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>
endif
//------------------
// magery control functionz
//------------------
[function mg1]
[function mg2]
[function mg3]
[function mg4]
[function mg5]
[function mg6]
[function mg7]
[function mg8]
[events e_resist_fire]
on=@spelleffect
if (<argn> < 9) && !(<src.uid> == <uid>)
say_okay *Etkilenmez*
return 1
endifOn=@Gethit triggerını kaldırıp sadece yukarıdaki şekilde deneyebilir misin?
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Stack sorunu
Son cevap: 17-06 01:00 · Son yazan: Athynas · Mesaj: 18 · Görüntü: 5699
|
Konsol Hataları | 17-06 01:00 | 18 | 5699 | |
|
|
Safe alanda lag sorunu
Son cevap: 07-12 00:26 · Son yazan: Eren19944 · Mesaj: 8 · Görüntü: 3065
|
Konsol Hataları | 07-12 00:26 | 8 | 3065 | |
|
|
Binek çanta açma sorunu
Son cevap: 16-10 11:40 · Son yazan: Skandal · Mesaj: 4 · Görüntü: 2615
|
NPC Script Yardımı | 16-10 11:40 | 4 | 2615 | |
|
|
Ev duvarları ve deed sorunu
Son cevap: 12-08 20:07 · Son yazan: Eren19944 · Mesaj: 5 · Görüntü: 2643
|
Script Yardımı | 12-08 20:07 | 5 | 2643 | |
|
|
Client ekranı büyütme sorunu
Son cevap: 29-09 20:21 · Son yazan: worldofsosaria · Mesaj: 8 · Görüntü: 5266
|
Client ve Account Sistemleri | 29-09 20:21 | 8 | 5266 |