Ir para conteúdo

Posts Recomendados

Bom ... Estou com um OT muito bom aqui [slayer Yourots], mas eu preciso editar os NPCs para que fiquem de acordo com o novo nome do OT !

 

Script atual do NPC:

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Soul Promotion Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="266" head="0" body="114" legs="94" feet="0" addons="3"/>
<parameters>
  <parameter key="module_travel" value="1"/>
	<parameter key="message_greet" value="Blz |PLAYERNAME|. Eu te levo aonde voce pega a Second Promotion.Diga {Soul Promotion}."/>
	<parameter key="travel_destinations" value="soul promotion,159,28,7,100"/>
</parameters>
</npc>

 

Script antigo do NPC:

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Slayer Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="266" head="0" body="114" legs="94" feet="0" addons="3"/>
<parameters>
  <parameter key="module_travel" value="1"/>
	<parameter key="message_greet" value="Blz |PLAYERNAME|. Eu te levo aonde voce pega a Second Promotion.Diga {Slayer Promotion}."/>
	<parameter key="travel_destinations" value="slayer promotion,159,28,7,100"/>
</parameters>
</npc>

 

 

O QUE EU PRECISO FAZER PARA CONSERTAR ISTO ?

 

Tambem tem a duvida numero 2 !

 

Um outro NPC, mas creio que este seja um pouco mais complicado !

 

Script atual do NPC:

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Slayer Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="266" head="0" body="114" legs="94" feet="0" addons="3"/>
<parameters>
	<parameter key="module_shop" value="1"/>
	<parameter key="message_greet" value="Ola |PLAYERNAME|. Eu vendo Itens Vips. Diga {trade} para comprar."/>
	<parameter key="shop_sellable" value="blue orb,7632,100000"/>
	<parameter key="shop_buyable" value="Soul Bag,9775,100000;Soul BackPack,9774,100000;Soul Medal,8979,5000000;Soul Shield,6391,2500000;Soul Staff,7424,5000000;Soul Crossbow,8851,5000000;Soul Punch,8929,5000000;Soul Axe,8293,5000000;Soul Blade,8931,5000000;Soul Boots,9933,2000000;Blessed Legs,2504,3000000;Blessed Armor,2503,3000000;Blessed Helmet,2474,3000000;Magician Legs,9777,3000000;Magician Coat,9776,3000000;Magician Mask,9778,3000000"/>
</parameters>
</npc>

 

 

 

 

Script Antigo Do NPC:

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Slayer Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="266" head="0" body="114" legs="94" feet="0" addons="3"/>
<parameters>
	<parameter key="module_shop" value="1"/>
	<parameter key="message_greet" value="Ola |PLAYERNAME|. Eu vendo Itens Vips. Diga {trade} para comprar."/>
	<parameter key="shop_sellable" value="blue orb,7632,100000"/>
	<parameter key="shop_buyable" value="Slayer Bag,9775,100000;Slayer BackPack,9774,100000;Slayer Medal,8979,5000000;Slayer Shield,6391,2500000;Slayer Staff,7424,5000000;Slayer Crossbow,8851,5000000;Slayer Punch,8929,5000000;Slayer Axe,8293,5000000;Slayer Blade,8931,5000000;Slayer Boots,9933,2000000;Blessed Legs,2504,3000000;Blessed Armor,2503,3000000;Blessed Helmet,2474,3000000;Magician Legs,9777,3000000;Magician Coat,9776,3000000;Magician Mask,9778,3000000"/>
</parameters>
</npc>

 

Ps¹: Eu editei os nomes dos itens no Itens.XML !

Ps²: Vou visitar o topico todos os dias, quando minha duvida for sanada avisarei aqui!

Ps³: Ajudem um pobre mendigo como eu !

Link para o comentário
https://xtibia.com/forum/topic/109367-edito-o-script-do-npc-e-ele-desaparece-do-mapa/
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...