Skip to content

Item with stats

Featured Replies

How i can fix this to give stats?

Spoiler

<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>

 

That pDef it is for test. Can someone help me to fix this? Player must keep in inventory for status.

Greetings

2 hours ago, 0flee said:

How i can fix this to give stats?

  Hide contents


<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>

 

That pDef it is for test. Can someone help me to fix this? Player must keep in inventory for status.

Greetings

 

  • Author

Thanks for the answer, but i have a problem with that xml. I know to add status. I have a problem here
 

<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" />

I don't know if i must add something, or edit, or remove. Thanks again

I must edit a package from core? Anyone tell me pls?
 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.