tuduras
Well-Known Member
- Joined
- Jun 4, 2017
- Messages
- 340
- Solutions
- 2
- Reaction score
- 58
Hello. I have got eq with attribute :
I registred item in Movements and in game when I equip item doesnt work correctly.
Is possible to do it right ?
Otx3.8 based on 1.3
LUA:
<item id="8882" article="a" name="mega mage armor">
<attribute key="description" value="Gives 20 m lvls and 20% more max mana. 10% more dmg"/>
<attribute key="weight" value="2250"/>
<attribute key="armor" value="110"/>
<attribute key="magicpoints" value="20"/>
<attribute key="increaseMagicPercent" value="110"/>
<attribute key="maxManaPointsPercent" value="120"/>
<attribute key="slotType" value="body"/>
</item>
Code:
<!-- MEGA MAGE ARMOR -->
<movevent type="Equip" itemid="8882" slot="armor" level="300" event="function" value="onEquipItem">
<vocation name="Super Sorcerer" />
<vocation name="Super Druid" />
<vocation name="Sorcerer" />
<vocation name="Master Sorcerer" />
<vocation name="Druid" />
<vocation name="Elder Druid" />
</movevent>
<movevent type="DeEquip" itemid="8882" slot="armor" event="function" value="onDeEquipItem"/>
Is possible to do it right ?
Otx3.8 based on 1.3