L2JMobius

Public Development => General Discussion => Topic started by: cucry on July 25, 2022, 03:10:56 PM

Title: Item Give Pasive XP
Post by: cucry on July 25, 2022, 03:10:56 PM
Hello every one.. i need help .. plis of any one may help ..

<item id="47022" name="Paulina's Twilight Breastplate" additionalName="Heavy armor" type="Armor">
        <!-- Cannot be enchanted, crystallized or assigned an attribute. -->
        <set name="icon" val="icon.bm_polyne_R99_1_heavy_upbody" />
        <set name="default_action" val="EQUIP" />
        <set name="armor_type" val="HEAVY" />
        <set name="bodypart" val="chest" />
        <set name="immediate_effect" val="true" />
        <set name="material" val="BRONZE" />
        <set name="weight" val="7520" />
        <set name="is_tradable" val="false" />
        <set name="is_dropable" val="false" />
        <set name="is_sellable" val="false" />
        <set name="time" val="43200" />
        <stats>
            <stat type="pDef">417</stat>
        </stats>
    </item>

I try to add a pasive buff or skill.. to add XP mod. To this armor.. to make if armor is in use add 20% more xp.. if you remove, remove to a mod xp
I make a Custom skill and give pasive skill of use armor.
But when i remove armor.. the efect continue..
Any one May help.. plis.
Title: Re: Item Give Pasive XP
Post by: Fakee on July 25, 2022, 06:09:19 PM
</stats>
   <skills>
      <skill id="skill's ID" level="1" /> <!-- Your skill -->
   </skills>
</item>