Eaew blz?
Vo ensina como editar um item que heala vida e mana!
vamos começa?!
1° Abra a pasta do seu ot dps vai em Data/items/items.XML(Abra o items.XML com bloco de notas)
2° Vo usar como base o item Golden Armor seu script vai está asim
</item>
<item id="2466" article="a" name="golden armor">
<attribute key="description" value="It is an
enchanted armor." />
<attribute key="weight" value="8000" />
<attribute key="armor" value="14" />
<attribute key="slotType" value="body" />
</item>
ADD + esse script
<attribute key="healthgain" value="100" />
<attribute key="healthTicks" value="1000" />
<attribute key="manaGain" value="100" />
<attribute key="manaTicks" value="1000" />
Ficara asim:
</item>
<item id="2466" article="a" name="golden armor">
<attribute key="description" value="It is an
enchanted armor." />
<attribute key="weight" value="8000" />
<attribute key="armor" value="14" />
<attribute key="slotType" value="body" />
<attribute key="healthgain" value="100" />
<attribute key="healthTicks" value="1000" />
<attribute key="manaGain" value="100" />
<attribute key="manaTicks" value="1000" />
</item>
3° Agora vamos Editar:
O de vermelho é a vida q vai recupera aonde está 100 vc coloca o n° q quizer isso defini o life q vai recupera
o Violeta é a mana no lugar do 100 coloca qualquer n° q vc quiser isso defini o tanto de mana q vai recupera
E se vc quiser soh q recupere a vida vc deleta o script da mana ficara asim:
</item>
<item id="2466" article="a" name="golden armor">
<attribute key="description" value="It is an
enchanted armor." />
<attribute key="weight" value="8000" />
<attribute key="armor" value="14" />
<attribute key="slotType" value="body" />
<attribute key="healthgain" value="100" />
<attribute key="healthTicks" value="1000" />
</item>
E se vc q recupere soh a mana o script ficara asim:
</item>
<item id="2466" article="a" name="golden armor">
<attribute key="description" value="It is an enchanted armor." />
<attribute key="weight" value="8000" />
<attribute key="armor" value="14" />
<attribute key="slotType" value="body" />
<attribute key="manaGain" value="100" />
<attribute key="manaTicks" value="1000" />
</item>
Ai vc editar do jeito q vc quiser
Bem é isso aew gente
GOSTO? REP+ :button_ok: :people: Cristianogomes10@hotmail.com