QuickLearner
New Member
- Joined
- Mar 20, 2018
- Messages
- 15
- Reaction score
- 1
Hi,
at first I must say that I was looking for some tutorial how to do it but the only things I've found was 'how to create new item with new sprite' or advices like "just do it in items.xml" and this is not working at all...
So, I want to make crocodile boots to behave same like soft boots but with lesser hp, mana bonus. I did this :
but this code makes that this crocodile boots are always working and after 15 minutes they are gone. No matter if they are worn or not.
So I know that I need to add this line to make it stop:
And now I want to create the second item with exactly the same sprite as crocodile boots so I can transform this 'magic' crocodile boots into regular crocodile boots but I don`t know how.
I've added this at the end :
But this is not working
Can anyone help me with this? Is this even possible to do?
at first I must say that I was looking for some tutorial how to do it but the only things I've found was 'how to create new item with new sprite' or advices like "just do it in items.xml" and this is not working at all...
So, I want to make crocodile boots to behave same like soft boots but with lesser hp, mana bonus. I did this :
XML:
<item id="3982" name="crocodile boots (faster regeneration)">
<attribute key="description" value="Those boots have some strange magic aura." />
<attribute key="weight" value="900" />
<attribute key="armor" value="1" />
<attribute key="slotType" value="feet" />
<attribute key="duration" value="900" />
<attribute key="decayTo" value="2238" />
<attribute key="healthGain" value="1" />
<attribute key="healthTicks" value="3000" />
<attribute key="manaGain" value="1" />
<attribute key="manaTicks" value="3000" />
<attribute key="stopduration" value="1" />
<attribute key="showduration" value="1" />
<attribute key="showattributes" value="1" />
</item>
but this code makes that this crocodile boots are always working and after 15 minutes they are gone. No matter if they are worn or not.
So I know that I need to add this line to make it stop:
XML:
<attribute key="transformDeEquipTo" value="<worn_item_id>" />
And now I want to create the second item with exactly the same sprite as crocodile boots so I can transform this 'magic' crocodile boots into regular crocodile boots but I don`t know how.
I've added this at the end :
XML:
<item id="12661" name="crocodile boots">
<attribute key="description" value="Those boots have some strange magic aura." />
<attribute key="weight" value="900" />
<attribute key="armor" value="1" />
<attribute key="transformEquipTo" value="3982" />
<attribute key="slotType" value="feet" />
<attribute key="stopduration" value="1" />
<attribute key="showduration" value="1" />
</item>
But this is not working
Can anyone help me with this? Is this even possible to do?