Paulina's R grade support boxes.
This commit is contained in:
parent
5db305654b
commit
2098179769
@ -37,6 +37,7 @@ public class PaulinasSupportBox implements IItemHandler
|
||||
private static final int BOX_C_GRADE = 46850;
|
||||
private static final int BOX_A_GRADE = 46851;
|
||||
private static final int BOX_S_GRADE = 46852;
|
||||
private static final int BOX_R_GRADE = 46919;
|
||||
// Rewards
|
||||
private static final int BOX_D_HEAVY = 46837;
|
||||
private static final int BOX_D_LIGHT = 46838;
|
||||
@ -50,6 +51,9 @@ public class PaulinasSupportBox implements IItemHandler
|
||||
private static final int BOX_S_HEAVY = 46846;
|
||||
private static final int BOX_S_LIGHT = 46847;
|
||||
private static final int BOX_S_ROBE = 46848;
|
||||
private static final int BOX_R_HEAVY = 46924;
|
||||
private static final int BOX_R_LIGHT = 46925;
|
||||
private static final int BOX_R_ROBE = 46926;
|
||||
|
||||
@Override
|
||||
public boolean useItem(L2Playable playable, L2ItemInstance item, boolean forceUse)
|
||||
@ -284,6 +288,61 @@ public class PaulinasSupportBox implements IItemHandler
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BOX_R_GRADE:
|
||||
{
|
||||
switch (race)
|
||||
{
|
||||
case HUMAN:
|
||||
case ELF:
|
||||
case DARK_ELF:
|
||||
case DWARF:
|
||||
{
|
||||
if (player.isMageClass())
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_ROBE, 1, player, true);
|
||||
}
|
||||
else if (CategoryData.getInstance().isInCategory(CategoryType.OTHELL_GROUP, classId.getId()) || CategoryData.getInstance().isInCategory(CategoryType.YUL_GROUP, classId.getId()))
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_HEAVY, 1, player, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ORC:
|
||||
{
|
||||
if (player.isMageClass())
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_HEAVY, 1, player, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case KAMAEL:
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true);
|
||||
break;
|
||||
}
|
||||
case ERTHEIA:
|
||||
{
|
||||
if (player.isMageClass())
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_ROBE, 1, player, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -1261,7 +1261,9 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="handler" val="PaulinasSupportBox" />
|
||||
|
||||
<cond msgId="1902">
|
||||
<player levelRange="20;39" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="46850" name="Paulina's Equipment Set (C-grade)" type="EtcItem">
|
||||
<!-- Use to obtain an equipment set appropriate to your class. Can be used only by characters between Lv. 40-60. -->
|
||||
@ -1276,7 +1278,9 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="handler" val="PaulinasSupportBox" />
|
||||
|
||||
<cond msgId="1902">
|
||||
<player levelRange="40;60" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="46851" name="Paulina's Equipment Set (A-grade)" type="EtcItem">
|
||||
<!-- Use to obtain an equipment set appropriate to your class. Can be used only by characters between Lv. 61-75. -->
|
||||
@ -1291,7 +1295,9 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="handler" val="PaulinasSupportBox" />
|
||||
|
||||
<cond msgId="1902">
|
||||
<player levelRange="61;75" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="46852" name="Paulina's Equipment Set (S-grade)" type="EtcItem">
|
||||
<!-- Use to obtain an equipment set appropriate to your class. Can be used only by characters between Lv. 76-84. -->
|
||||
@ -1305,6 +1311,9 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="handler" val="PaulinasSupportBox" />
|
||||
<cond msgId="1902">
|
||||
<player levelRange="76;84" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="46853" name="Blessed Paulina's Specter Dualsword" type="Weapon">
|
||||
<!-- Dimensional Item. A Specter Dualsword that can be equipped from Lv. 85 onwards, thanks to Paulina's blessing. <Special Option>. Atk. Spd. +5%, P. Critical Rate +82. Enchantment, Augment, Soul Crystal, Crystallization, Appearance Modification, Attribute Assignment not possible. -->
|
||||
|
@ -345,14 +345,16 @@
|
||||
<item id="46919" name="Paulina's Equipment Set (R-grade)" additionalName="30-day" type="EtcItem">
|
||||
<!-- Use to obtain a 30-day equipment set appropriate to your class. Can be used only by characters of Lv. 85 and above. -->
|
||||
<set name="icon" val="icon.etc_equip_item_box_i02" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="time" val="43200" />
|
||||
<set name="is_freightable" val="false" />
|
||||
<set name="is_commissionable" val="false" />
|
||||
<set name="commissionItemType" val="OTHER_ITEM" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<set name="handler" val="PaulinasSupportBox" />
|
||||
<cond msgId="1902">
|
||||
<player levelRange="85;105" />
|
||||
</cond>
|
||||
@ -432,32 +434,83 @@
|
||||
<item id="46924" name="Paulina's Heavy Armor Box (R-grade)" type="EtcItem">
|
||||
<!-- Double click to obtain an R-grade heavy armor set, earrings, necklace, and ring. -->
|
||||
<set name="icon" val="icon.event_hero_treasure_box_i00" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_freightable" val="false" />
|
||||
<set name="is_commissionable" val="false" />
|
||||
<set name="commissionItemType" val="OTHER_ITEM" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<item id="47021" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Helmet -->
|
||||
<item id="47022" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Breastplate -->
|
||||
<item id="47023" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Gaiters -->
|
||||
<item id="47024" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Gauntlets -->
|
||||
<item id="47025" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Boots -->
|
||||
<item id="47038" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Necklace -->
|
||||
<item id="47039" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring -->
|
||||
<item id="47040" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring -->
|
||||
<item id="47041" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring -->
|
||||
<item id="47042" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="46925" name="Paulina's Light Armor Box (R-grade)" type="EtcItem">
|
||||
<!-- Double click to obtain an R-grade light armor set, earrings, necklace, and ring. -->
|
||||
<set name="icon" val="icon.event_hero_treasure_box_i00" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_freightable" val="false" />
|
||||
<set name="is_commissionable" val="false" />
|
||||
<set name="commissionItemType" val="OTHER_ITEM" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<item id="47027" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Helmet -->
|
||||
<item id="47028" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Armor -->
|
||||
<item id="47029" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Leggings -->
|
||||
<item id="47030" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Gloves -->
|
||||
<item id="47031" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Boots -->
|
||||
<item id="47038" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Necklace -->
|
||||
<item id="47039" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring -->
|
||||
<item id="47040" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring -->
|
||||
<item id="47041" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring -->
|
||||
<item id="47042" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="46926" name="Paulina's Robe Box (R-grade)" type="EtcItem">
|
||||
<!-- Double click to obtain an R-grade robe set, earrings, necklace, and ring. -->
|
||||
<set name="icon" val="icon.event_hero_treasure_box_i00" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_freightable" val="false" />
|
||||
<set name="is_commissionable" val="false" />
|
||||
<set name="commissionItemType" val="OTHER_ITEM" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<item id="47032" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Circlet -->
|
||||
<item id="47033" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Tunic -->
|
||||
<item id="47034" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Stockings -->
|
||||
<item id="47035" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Gloves -->
|
||||
<item id="47036" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Shoes -->
|
||||
<item id="47038" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Necklace -->
|
||||
<item id="47039" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring -->
|
||||
<item id="47040" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring -->
|
||||
<item id="47041" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring -->
|
||||
<item id="47042" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="46927" name="Paulina's Brigandine Helmet" additionalName="Heavy Armor" type="Armor">
|
||||
<!-- Brigandine Helmet imbued with the energy of Paulina. Enchantment and Attribute Assignment not possible. -->
|
||||
|
Loading…
Reference in New Issue
Block a user