O fórum teve que ser recriado do zero, usuários do fórum antigo precisam se cadastrar novamente e caso você seja usuário vip se identifique perante a um administrador que o status vip será reatribuído..

Welcome to L2JDream Project

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
Wallz

Trabalhando com Recipes

Caminho para config:
Game\data\recipe.xml

Veja abaixo como é o código de um recipe.

<recipe id="1" name="Recipe: Wooden Arrow" level="1" mp_consume="30" success_rate="100" item_id="1666" is_common="false">
<!--Description: For Dwarves only. The recipe for a Wooden Arrow. Requires Create Item Level 1. The success rate is 100%-->
<materials>
<item id="1864" name="Stem" count="4"/>
<item id="1869" name="Iron Ore" count="2"/>
</materials>
<products>
<item id="17" name="Wooden Arrow" count="500"/>
</products>
<npc_fee>
<item id="1666" name="Recipe: Wooden Arrow" count="1"/>
<item id="57" name="Adena" count="200"/>
</npc_fee>
</recipe>

1. A  única coisa que não precisa estar é a taxa do NPC:

<npc_fee>
<item id="1666" name="Recipe: Wooden Arrow" count="1"/>
<item id="57" name="Adena" count="200"/>
</npc_fee>

2. O recipe também é compartilhado para todos ou apenas anões se is_common = "false" serão recipes apenas para anões. Em geral, tudo em is_common = "true"Exemplo final:

<recipe id="1" name="Recipe: Wooden Arrow" level="1" mp_consume="30" success_rate="100" item_id="1666" is_common="false">
<!--Description: For Dwarves only. The recipe for a Wooden Arrow. Requires Create Item Level 1. The success rate is 100%-->
<materials>
<item id="1864" name="Stem" count="4"/>
<item id="1869" name="Iron Ore" count="2"/>
</materials>
<products>
<item id="17" name="Wooden Arrow" count="500"/>
</products>
</recipe>

 

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0