jestemPolakiem
New Member
Wandering Boots
by jestemPolakiem
by jestemPolakiem
script has been tested on The Forgotten Server 0.3.6pl1 and worked

Code:
[B]To use the script, you only need to create shoes[/B]
10:34 You see a wandering boots (Arm:2, speed +20).
It weighs 8.00 oz.
Wandering shoes you add a new addition to the outfit as well as the speed.
- removed to give light shoes, but just added an automatic addition to the outfit Citizen
- increased speed and armor shoes
data/movements/movements.xml - add before </movements>
PHP:
<movevent itemid="7457" slot="feet" override="yes" type="Equip" event="buffer" value="return doPlayerAddOutfit(cid, 136, 1) and doPlayerAddOutfit(cid, 128, 1) and doPlayerSendOutfitWindow(cid)"/>
<movevent itemid="7457" slot="feet" override="yes" type="DeEquip" event="buffer" value="return doPlayerRemOutfit(cid, 136, 1) and doPlayerRemOutfit(cid, 128, 1) and doPlayerSendOutfitWindow(cid)"/>
data/items/items.xml - add before </items>
PHP:
<item id="7457" override="yes" article="a" name="wandering boots">
<attribute key="description" value="Wandering shoes you add a new addition to the outfit as well as the speed."/>
<attribute key="speed" value="40"/>
<attribute key="weight" value="800"/>
<attribute key="armor" value="2"/>
<attribute key="slotType" value="feet"/>
</item>
Greets
jestemPolakiem
Last edited: