• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

otx3.8 rebirth version -- eq attribute doesn't work

tuduras

Well-Known Member
Joined
Jun 4, 2017
Messages
340
Solutions
2
Reaction score
58
Hello. I have got eq with attribute :
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>
I registred item in Movements and in game when I equip item doesnt work correctly.
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
 
You’re referring to "increaseMagicPercent" that isn’t working for you, right?
When you started your server, this warning appeared in the console:
[Warning - Items:: parseItemNode] Unknown key value: increaseMagicPercent
This happens because this attribute does not exist in your engine. I checked the OTX 3.8 rebirth repository, and this attribute is indeed not there.

This attribute only exists in Evolutions 7.8 up to 8.60, in the original engine created by Xiadozu, who implemented the "increaseMagicPercent" system in the old Evolutions engine. Later, someone ported it to TFS 0.3.6 and 0.4. It works in OTX 2 because it was already implemented so yes, it works.
However, OTX 3.8, even though it is based on nekiro 1.3, does not have this attribute, so it will not work by default.

If you want to use this system, you can get it here:
The name is different, but the function is basically the same: instead of "increaseMagicPercent", the name used is "boostpercentmagic".
You just need to add this to your OTX 3.8, and the system will work correctly.
 

Similar threads

Back
Top