{% set base_stat = inv_item.attr_l|get_lot_stats %}
{% set desc = inv_item.attr_l|get_lot_desc %}
{% set item_set = inv_item.attr_l|get_item_set %}
{{ inv_item.attr_l|get_lot_name }}
{% if item_set and item_set[0 != 49]%}
--------------------------------
{{ ("ItemSets_" ~ item_set[0] ~ "_kitName")|lu_translate }}{% if item_set[4]|int > 0%}: Rank {{ item_set[4] }}{% endif %}
{% if item_set[5] %}
Multi-Item Bonus:
{% if item_set[6] %}
2 Items:
{% with stat = item_set[6]|get_set_stats %}
{% include 'partials/charxml/_stats.html.j2' %}
{% endwith %}
{% endif %}
{% if item_set[7] %}
3 Items:
{% with stat = item_set[7]|get_set_stats %}
{% include 'partials/charxml/_stats.html.j2' %}
{% endwith %}
{% endif %}
{% if item_set[8] %}
4 Items:
{% with stat = item_set[8]|get_set_stats %}
{% include 'partials/charxml/_stats.html.j2' %}
{% endwith %}
{% endif %}
{% if item_set[9] %}
5 Items:
{% with stat = item_set[9]|get_set_stats %}
{% include 'partials/charxml/_stats.html.j2' %}
{% endwith %}
{% endif %}
{% if item_set[10] %}
6 Items:
{% with stat = item_set[10]|get_set_stats %}
{% include 'partials/charxml/_stats.html.j2' %}
{% endwith %}
{% endif %}
{% endif %}
--------------------------------
{% endif %}
{% if desc %}
{{ desc }}
{% endif %}
{% if base_stat %}
{% with stat = base_stat %}
{% include 'partials/charxml/_stats.html.j2' %}
{% endwith %}
{% endif %}
{%if inv_item.attr_c|int > 999 %}
Count: {{ inv_item.attr_c|numberFormat }}
{% endif %}