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

Lua Items dont give bonus in game

DextaaH

Member
Joined
Jul 24, 2011
Messages
335
Reaction score
7
I dont understand so much about script so here is the cobra crown and Royal Draken Mail setup in items.xml

PHP:
	<item id="12630" article="a" name="cobra crown">
		<attribute key="weight" value="850"/>
		<attribute key="armor" value="3"/>
		<attribute key="magiclevelpoints" value="2" />
		<attribute key="absorbPercentFire" value="-5"/>
		<attribute key="absorbPercentEarth" value="5"/>
		<attribute key="slotType" value="head"/>
	</item>

PHP:
	<item id="12642" article="a" name="royal draken mail">
		<attribute key="weight" value="13000"/>
		<attribute key="armor" value="16"/>
		<attribute key="slotType" value="body"/>
		<attribute key="skillShield" value="3" />
		<attribute key="absorbPercentPhysical" value="5" />
		<attribute key="showattributes" value="1" />
	</item>

It dont work in game :( Can someone help me? Thanks!
 
Yeah thanks cobra crown worked, but got a problem with royal draken mail :/ Still bugged, once it gave me 3+ shielding when i have it on me and even after when i took it away :/ and its lvl 100+ to use only knights idk how to add that in movements.xml.
 
Movements.xml

Code:
<movevent type="Equip" itemid="12642" slot="armor" level="100" event="function" value="onEquipItem">
		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="12642" slot="armor" event="function" value="onDeEquipItem"/>
Dnt Frget Rep++
 
Back
Top