• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

MoveEvent Wandering Boots

jestemPolakiem

New Member
Joined
Oct 17, 2009
Messages
48
Reaction score
2
Location
Poland
Wandering Boots
by jestemPolakiem

script has been tested on The Forgotten Server 0.3.6pl1 and worked

mapank.png


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.
Changelog:
  • 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:
Back
Top