Take a look in possible atributes to use in items.xml. I guess those are compatible with our version.OTX2
I wanted to create an armor or ring that increases the amount of damage to the energy element, could someone help me?
<attribute key="weight" value="3000"/>
<attribute key="armor" value="15"/>
<attribute key="slotType" value="body"/>
<attribute key="increaseMagicPercent" value="115"/>
<attribute key="description" value="Magic Damage +15%."/>
<attribute key="magiclevelpoints" value="4"/>
</item>
I think this increaseMagicPercent will do, I tested it and it workedTake a look in possible atributes to use in items.xml. I guess those are compatible with our version.
![]()
Configuration - [TFS 0.3.2] ALL possible item attributes (FULL LIST + "How to" for other TFSs).
[TFS 0.3+] ALL possible item attributes (FULL LIST + "How to" for other TFSs). Hey there everyone! I was just checking some files on my old OT and I remembered that when I was new (and even not so new), I always had a HORRIBLE time trying to figure out which were the possible Item Attributes...otland.net
I have an armor who increase magic percent +15% and ML +4, thats how item attribute must be:
XML:<attribute key="weight" value="3000"/> <attribute key="armor" value="15"/> <attribute key="slotType" value="body"/> <attribute key="increaseMagicPercent" value="115"/> <attribute key="description" value="Magic Damage +15%."/> <attribute key="magiclevelpoints" value="4"/> </item>
Yes, remember to register it in movements. With this configuration, you're increasing magic damage by 50%.I think this increaseMagicPercent will do, I tested it and it worked
without item equiped
02:37 A trainer loses 4499 hitpoints due to your attack.
with item equiped
02:37 A trainer loses 6983 hitpoints due to your attack.
<attribute key="increaseMagicPercent" value="150"/> for test