Я на верно не так объяснаю, к примеру у меня есть 10 сундуков, если я их открываю по одной руками то получаю 10 предметов. Если положу в систему автооткрывания тогда 9. Первый сундук глатает без награды.
Пример сундука:
XML:
<item id="81758" name="Water Dragon's Elite Supplies" type="EtcItem">
<!-- Supplies from elite warriors of the Water Dragon's legion that live in the Ravaged Innadril. Double-click to obtain Talisman of Insanity, Augmenting Stone: Accessory and Forgotten Spellbook Chapter 1 with a certain chance as well as other supplies and materials. -->
<set name="icon" val="icon.etc_treasure_box_i03" />
<set name="default_action" val="CAPSULE" />
<set name="immediate_effect" val="true" />
<set name="material" val="PAPER" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="extractableCountMin" val="1" />
<set name="extractableCountMax" val="1" />
<set name="handler" val="ExtractableItems" />
<capsuled_items>
<item id="17371" min="1" max="1" chance="36.5" /> <!-- Crystal -->
<item id="1785" min="1" max="1" chance="21.2" /> <!-- Soulstone -->
<item id="3031" min="1" max="1" chance="19.8" /> <!-- Spirit Ore -->
<item id="82305" min="1" max="1" chance="10.5" /> <!-- Beora's Ancient Energy -->
<item id="80746" min="1" max="1" chance="7.6" /> <!-- PA Scroll of Storm -->
<item id="48876" min="1" max="1" chance="2.7" /> <!-- Forgotten Spellbook - Chapter 1 -->
<item id="81729" min="1" max="1" chance="1.58" /> <!-- Augmenting Stone: Accessory -->
<item id="80636" min="1" max="1" chance="0.07" /> <!-- Artifact Crystal -->
<item id="39572" min="1" max="1" chance="0.05" /> <!-- Talisman of Insanity -->
</capsuled_items>
</item>