L2JMobius

Free Users => Work in Progress => Topic started by: criss31 on May 12, 2020, 11:29:48 PM

Title: Item with status
Post by: criss31 on May 12, 2020, 11:29:48 PM
HI all, how i can make a simple item with stats? Player must keep in inventory but i don't know to set the item. I don't wanna with skill. Just item with stats. I have this settings.:
Code: [Select]
<item id="22700" type="EtcItem" name="Amulet of Naya">
<set name="icon" val="icon.etc_resonance_amulet_i00" />
<set name="etcitem_type" val="RUNE" />
<set name="default_action" val="CAPSULE" />
<set name="immediate_effect" val="true" />
<set name="material" val="PAPER" />
<set name="weight" val="100" />
<set name="is_tradable" val="true" />
<set name="is_dropable" val="true" />
<set name="is_sellable" val="true" />
<set name="is_depositable" val="true" />
<set name="is_stackable" val="false" />
<for>
     <add stat="pDef" val="110000" />
</for>
</item>
Temm me someone please what's wrong?
Title: Re: Item with status
Post by: nacho692 on May 14, 2020, 04:56:19 AM
I think you would have to create a skill (or use an existing one) which increases pDef

There are a couple of examples here:
https://bitbucket.org/MobiusDev/l2j_mobius/src/master/L2J_Mobius_CT_2.6_HighFive/dist/game/data/stats/items/20500-20599.xml

Check Eva's Rune, it decreases cooldown as a passive.

Also, this should be moved to General I think.
Title: Re: Item with status
Post by: criss31 on May 15, 2020, 01:05:16 AM
Thanks for reply. but this skill use handler skill. Si a skill for status. I don't want to skill, equip something for effect. Simple player can keep in inventory for effect. Thanks

<set name="handler" val="ItemSkills" />
<set name="item_skill" val="22091-1" /> <!-- Eva's Rune -->