|
[typedef t_weapon_sword]
on=@click
message @07a1,1,1 <name>
return 1
[Defname 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 VanquishingOn=@itemclick
//WEAPON FİX
if (<act.isweapon>)
if (<act.baseid>==i_staff_taming)
act.isim <act.name>
return 1
endif
if (<act.attr>&attr_identified)
act.color=color_<act.morey>
if ((<act.topobj.uid> == <uid>)
if (<act.type>==t_weapon_xbow)
act.message @95 [bolts: <eval <rescount <act.tdata3>>>]
elseif (<act.type>==t_weapon_bow)
act.message @95 [arrows: <eval <rescount <act.tdata3>>>]
endif
endif
act.arma [ <def.isim_<act.morey>> (+<eval <act.morey>/66>) ]
act.isim <serv.itemdef.<act.dispid>.name>
return 1
else
if ((<act.topobj.uid> == <uid>)
if (<act.type>==t_weapon_xbow)
act.message @95 [bolts: <eval <rescount <act.tdata3>>>]
elseif (<act.type>==t_weapon_bow)
act.message @95 [arrows: <eval <rescount <act.tdata3>>>]
endif
endif
act.isim <serv.itemdef.<act.dispid>.name>
return 1
endif
//WEAPON FİX BİTTİScriptte gördüğüm act.isim, arma vb. diye geçmiş, o kısımları name olarak değiştirirsen bir problem olacağını sanmıyorum.act.isim <act.name>bu kısma müteakip [function isim] eklenmesi gerekiyor. Diğer yandan type altından işlem yaparsan sadece isimlere yönelik değil bir çok farklı fonksiyona hakimiyet sağlarsın. Magicallar için skill kontrolü, bonus ekle çıkart v.b bende type öneririm. Ama örnekte verildiği gibi defname atayarak renkleri oradan çektirtmek de bir çözüm. Burger King'in mottosu gibi, Have it your way.
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
top10listesi isim hatası
Son cevap: 14-03 14:57 · Son yazan: Daedhelon · Mesaj: 12 · Görüntü: 5284
|
Script Yardımı | 14-03 14:57 | 12 | 5284 | |
|
|
Deed ile Binek İsim Değiştirme
Son cevap: 19-02 14:58 · Son yazan: Eren19944 · Mesaj: 20 · Görüntü: 7951
|
Script Yardımı | 19-02 14:58 | 20 | 7951 | |
|
|
AOS Silahların Görünüş Problemi
Son cevap: 19-01 07:25 · Son yazan: Alone · Mesaj: 16 · Görüntü: 5315
|
Script Yardımı | 19-01 07:25 | 16 | 5315 | |
|
|
binek isim deed
Son cevap: 22-12 03:38 · Son yazan: Eren19944 · Mesaj: 14 · Görüntü: 5271
|
ITEM Script Yardımı | 22-12 03:38 | 14 | 5271 | |
|
|
Player isim /RENK
Son cevap: 18-10 16:35 · Son yazan: Pidra · Mesaj: 10 · Görüntü: 4869
|
Script Yardımı | 18-10 16:35 | 10 | 4869 |