|
Kullanımı;
f_npcresurrection <uid>,[1] //Sondaki 1 varsa ses efekti verir. Mage içindir. Bandajda gerekli sorguları yaptıktan sonra targetf f_npcresurrection <src.targ.uid> gibi kullanılabilir.[function f_moonsep]
if <argv[0]> == 0
return <eval <argv> - 1>
else
return <argv[<argv[0]>]>
endif[Function f_npcres]
obj=<argo>
if (<obj.distance> <= 9)
if (<obj.type> == t_corpse)
if ((<f_moonsep 1,<obj.tag0.infos>> == 1) || (<f_moonsep 1,<obj.tag0.infos>> == 10)) && (<f_moonsep 2,<obj.tag0.infos>> > 0)
if (<taming> >= <f_moonsep 2,<obj.tag0.infos>>)
if (<dctag0.cast66>)
f_fizzle
ctag0.cast66
return 1
endif
LOCAL.ST <eval <serv.spell.66.CAST_TIME>/12>
spellfreeze <eval <DLOCAL.ST> - 1>
timerf <DLOCAL.ST>,f_npcresurrect <obj>,1
ctag0.cast66 1
else
fix Bunu yapabilmek için <f_moonsep 2,<obj.tag0.infos>> taming skilline ihtiyacınız var.
endif
else
fix Bunu yapamazsınız.
endif
else
fix Bunu sadece cesetlerde kullanabilirsiniz.
endif
else
fix Hedefi göremiyorsunuz.
endif
return 1
[Function f_npcresurrect]
obj=<argv[0]>
if <dctag0.cast66>
serv.newnpc <serv.chardef.<obj.amount>.baseid>
new.p <obj.p>
new.taming <f_moonsep 2,<obj.tag0.infos>>
new.dex <f_moonsep 3,<obj.tag0.infos>>
new.str <f_moonsep 4,<obj.tag0.infos>>
new.int <f_moonsep 5,<obj.tag0.infos>>
new.color <f_moonsep 6,<obj.tag0.infos>>
new.karma <f_moonsep 7,<obj.tag0.infos>>
new.fame <f_moonsep 8,<obj.tag0.infos>>
new.kills <f_moonsep 9,<obj.tag0.infos>>
new.name <f_moonsep 10,<obj.tag0.infos>>
ref1=<new.uid>
ref1.newitem i_memory
new.attr 04
new.more1 04
new.more2 <serv.time>
new.morep <ref1.p>
new.color memory_ipet
new.timer -1
new.link <src.uid>
new.cont <ref1.uid>
ref1.flags <ref1.flags>&statf_pet
ref1.update
obj.remove
mana -=<serv.spell.66.manause>
if <dargv[1]>
sound snd_spell_resurrection
endif
ctag0.cast66
endifFix eventine girecek satırlar;On=@UserWarmode
if <dsrc.ctag0.cast66>
src.f_fizzle
src.tag0.cast66
endif
On=@SpellSelect
if <argn> == 66
if (<src.magery> > <strarg <serv.spell.<argn>.skillreq>>)
src.sysmessage Select Target...
src.targetf f_npcres
else
src.sysmessage This is beyond your ability.
endif
return 1
endifBinek Fix;[Events e_animal_fix]
On=@DeathCorpse
ARGO.TAG0.INFOS=<npc>,<taming>,<dex>,<str>,<int>,<color>,<karma>,<fame>,<kills>,<name>Sphere.ini//Events related to all NPCs
EventsPet=e_animal_fix
|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Binek çanta açma sorunu
Son cevap: 16-10 11:40 · Son yazan: Skandal · Mesaj: 4 · Görüntü: 2610
|
NPC Script Yardımı | 16-10 11:40 | 4 | 2610 | |
|
|
Binek Üstünde Kodla Büyü Atma
Son cevap: 24-09 21:44 · Son yazan: worldofsosaria · Mesaj: 5 · Görüntü: 3292
|
Script Yardımı | 24-09 21:44 | 5 | 3292 | |
|
|
4x ve üzeri binek ekleme - bodyconv ve mobtypes
Son cevap: 14-07 02:06 · Son yazan: Turkgamer · Mesaj: 1 · Görüntü: 1849
|
Grafik Araçları | 14-07 02:06 | 1 | 1849 | |
|
|
binek tameden çıkma
Son cevap: 15-05 21:14 · Son yazan: OlympiaUO · Mesaj: 4 · Görüntü: 2330
|
NPC Script Yardımı | 15-05 21:14 | 4 | 2330 | |
|
|
LBR binek ekleme sorunu
Son cevap: 02-03 19:03 · Son yazan: manyaqq · Mesaj: 1 · Görüntü: 2292
|
Muls ve Mul Editing | 02-03 19:03 | 1 | 2292 |