• 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!

Solved Proble With Items + 1 Skill: Movements

Mariuskens

Sword Art Online 2D-MMORPG
Joined
Nov 21, 2008
Messages
1,000
Reaction score
106
Location
Spain
GitHub
Olimpotibia
Lua:
	<item id="18465" article="a" name="shiny blade">
		<attribute key="weight" value="4500"/>
		<attribute key="defense" value="35"/>
		<attribute key="attack" value="50"/>
		<attribute key="weaponType" value="sword"/>
		<attribute key="extradef" value="3"/>
                <attribute key="skillSword" value="1"/>
	</item>

When put this sword in hand, Nothing effect with +1 Sword.
Need line to movements no?

My problem is here:
Lua:
                <attribute key="skillSword" value="1"/>
 
Add this in your movements.xml:

XML:
                <!-- Shiny Blade -->
                <movevent type="Equip" itemid="18465" slot="hand" event="function" value="onEquipItem"/>
                <movevent type="DeEquip" itemid="18465" slot="hand" event="function" value="onDeEquipItem"/>
 
Back
Top