[ITEMDEF 01515]
DEFNAME=i_cape
RESOURCES=14 i_cloth
WEIGHT=5
TYPE=T_CLOTHING
DYE=1
ARMOR=5
CATEGORY=Provisions - Clothes
SUBSECTION=Shirts & Robes
DESCRIPTION=Cloak, Cape
DUPELIST=01530
SKILLMAKE=TAILORING 45.4, t_sewing_kit
ON=@Create
HITPOINTS={11 40}
ON=@EQUIP
src.spell_say [ Özel Clock ]
src.sysmessage @0713,1,1 Özel clock Gucu Sizinle.
LINK=<SRC.UID>
TIMER=10
RETURN 0
on=@TIMER
if (<cont.findid.i_rune_poison>) || (<cont.findid.i_rune_poison_field>)
cont.sysmessage @0481,,1 Uzerinizde zehir varken Özel Clock Hitsinizi dolduramaz.
timer 10
return 1
endif
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+5
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=10
else
TIMER=10
ENDIF
RETURN 1
IF (<LINK.mana><<LINK.int>)
LINK.mana=<LINK.mana>+15
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=410
else
TIMER=10
ENDIF
RETURN 1
[itemdef i_cape1]
id i_cape
name Cloak of regeneration
on=@create
color 07a1
TIMER 360
on=@click
message @07e4,1,1 Hp Cape [+1 Regen]
message @07a1,1,1 Kalan zaman <TIMER>
return 1
ON=@EQUIP
TRIGGER @TIMER
ON=@TIMER
TIMERd=30
CONT.HITS +=1
IF (<CONT.HITS> > <CONT.maxhits>)
CONT.HITS = <CONT.maxhits>
CONT.MANA +=1
IF (<CONT.MANA> > <CONT.maxmana>)
CONT.MANA = <CONT.MANA>
ENDIF
ENDIF
RETURN 1Test etmedim ama hits mana da sorun olmaz sadece 360 saniye sonra itemi silmeyebilir yada timer da çakışma yaratabilir
xrambo :Nasıl silsin ki zaten usta remove vermemişsin.
Birincisi düz itemin içindeki ayarlari bozma.
ikincisi sunu bir dene bakalimTest etmedim ama hits mana da sorun olmaz sadece 360 saniye sonra itemi silmeyebilir yada timer da çakışma yaratabilir[itemdef i_cape1]
id i_cape
name Cloak of regeneration
on=@create
color 07a1
TIMER 360
on=@click
message @07e4,1,1 Hp Cape [+1 Regen]
message @07a1,1,1 Kalan zaman <TIMER>
return 1
ON=@EQUIP
TRIGGER @TIMER
ON=@TIMER
TIMERd=30
CONT.HITS +=1
IF (<CONT.HITS> > <CONT.maxhits>)
CONT.HITS = <CONT.maxhits>
CONT.MANA +=1
IF (<CONT.MANA> > <CONT.maxmana>)
CONT.MANA = <CONT.MANA>
ENDIF
ENDIF
RETURN 1
[itemdef i_hpcape]
defname i_hpcape
NAME=HP Cape
ID=i_cape
WEIGHT=5
on=@click
message @07e4,1,1 Hp Cape [+1 Regen]
message @07a1,1,1 Kalan zaman <TIMER>
return 1
ON=@Create
HITPOINTS=100
ON=@EQUIP
src.spell_say [ Özel Clock ]
src.sysmessage @0713,1,1 Özel clock Gucu Sizinle.
src.newitem i_hpbas
src.new.equip
on=@TIMER
remove
on=@unequip
src.findid.i_hpbas.remove
[itemdef i_hpbas]
id i_memory
name hpbasar
type t_eq_script
on=@create
attr 04
ON=@EQUIP
LINK=<SRC.UID>
TIMER=10
RETURN 0
on=@TIMER
timer 10
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+5
endif
IF (<LINK.mana><<LINK.int>)
LINK.mana=<LINK.mana>+15
endif
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
ENDIF
[itemdef i_hpcape]
defname i_hpcape
NAME=HP Cape
ID=i_cape
WEIGHT=5
on=@click
local.temp = <eval <tag.silinmetime>>
local.day = <dlocal.temp> / 86400
local.temp = <dlocal.temp> - (86400 * <dlocal.day>)
local.hours = <dlocal.temp> / 3600
local.temp = <dlocal.temp> - (3600 * <dlocal.hours>)
local.minutes = <dlocal.temp> / 60
local.seconds = <dlocal.temp> - (60 * <dlocal.minutes>)
message @07e4,1,1 Hp Cape [+1 Regen]
message @07a1,1,1 Kalan zaman <dlocal.day> Gun, <dlocal.hours> saat, <dlocal.minutes> dk, <dlocal.seconds> sn
return 1
ON=@Create
HITPOINTS=100
tag.healmanatime 10
tag.silinmetime 432000
timer 1
ON=@EQUIP
src.spell_say [ Özel Clock ]
src.sysmessage @0713,1,1 Özel clock Gucu Sizinle.
on=@TIMER
if (<tag.healmanatime> == 0)
if (<cont.findlayer(20).baseid> == i_hpcape)
IF (<cont.hits><<cont.str>)
cont.hits=<cont.hits>+5
endif
IF (<cont.mana><<cont.int>)
cont.mana=<cont.mana>+15
endif
endif
tag.healmanatime 10
cont.say @,,1 Refreshed...
else
tag.healmanatime <eval <tag.healmanatime> -1>
endif
if (<tag.silinmetime> == 0)
cont.sysmessage @,,1 Eşyanın süresi doldu.
remove
return 1
else
tag.silinmetime <eval <tag.silinmetime> -1>
endif
timer 1
return 1
on=@unequip
tag.healmanatime 10Buyur dostum ikincil bir eşyaya gerek kalmadan tek bir eşya ile halledilebilir bir şey. tag.silinmetime ı saniye bazından girersin ben 5 gün olarak ayarladım.
halisakts :on=@Create kısmına timer XXXX şeklinde sayı gir ve devam et
rambonun dedigi gibi itemin öz düz halini değiştirmeni bende tavsiye etmiyorum.
ve bi iteme hem silinme süresi hem hits basma süresi ekliyeceksen öncelikle + olarak bi item verdirebilirsin aşşada ayarladıgımı oldugu gibi kopyala yapıştır yap çalışıcaktır.[itemdef i_hpcape]
defname i_hpcape
NAME=HP Cape
ID=i_cape
WEIGHT=5
on=@click
message @07e4,1,1 Hp Cape [+1 Regen]
message @07a1,1,1 Kalan zaman <TIMER>
return 1
ON=@Create
HITPOINTS=100
ON=@EQUIP
src.spell_say [ Özel Clock ]
src.sysmessage @0713,1,1 Özel clock Gucu Sizinle.
src.newitem i_hpbas
src.new.equip
on=@TIMER
remove
on=@unequip
src.findid.i_hpbas.remove
[itemdef i_hpbas]
id i_memory
name hpbasar
type t_eq_script
on=@create
attr 04
ON=@EQUIP
LINK=<SRC.UID>
TIMER=10
RETURN 0
on=@TIMER
timer 10
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+5
endif
IF (<LINK.mana><<LINK.int>)
LINK.mana=<LINK.mana>+15
endif
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
ENDIF

23:37:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:37:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:37:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:37:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:37:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:38:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:38:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:38:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:38:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:38:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:38:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:39:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:39:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
23:39:ERROR:Timer expired without DECAY flag 'hpbasar' (UID=40008c6b)?
|
|
| 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ü: 6989
|
Konsol Hataları | 17-06 01:00 | 18 | 6989 | |
|
|
Safe alanda lag sorunu
Son cevap: 07-12 00:26 · Son yazan: Eren19944 · Mesaj: 8 · Görüntü: 3625
|
Konsol Hataları | 07-12 00:26 | 8 | 3625 | |
|
|
Binek çanta açma sorunu
Son cevap: 16-10 11:40 · Son yazan: Skandal · Mesaj: 4 · Görüntü: 2985
|
NPC Script Yardımı | 16-10 11:40 | 4 | 2985 | |
|
|
Ev duvarları ve deed sorunu
Son cevap: 12-08 20:07 · Son yazan: Eren19944 · Mesaj: 5 · Görüntü: 2983
|
Script Yardımı | 12-08 20:07 | 5 | 2983 | |
|
|
Client ekranı büyütme sorunu
Son cevap: 29-09 20:21 · Son yazan: worldofsosaria · Mesaj: 8 · Görüntü: 5892
|
Client ve Account Sistemleri | 29-09 20:21 | 8 | 5892 |