Proper armor types for agathions.
Thanks to Mode.
This commit is contained in:
parent
22569542f7
commit
4ac5a032ce
@ -42,7 +42,7 @@ public class Armor extends Item
|
|||||||
_type = set.getEnum("armor_type", ArmorType.class, ArmorType.NONE);
|
_type = set.getEnum("armor_type", ArmorType.class, ArmorType.NONE);
|
||||||
|
|
||||||
final long bodyPart = getBodyPart();
|
final long bodyPart = getBodyPart();
|
||||||
if (bodyPart == Item.SLOT_ARTIFACT)
|
if ((bodyPart == Item.SLOT_ARTIFACT) || (bodyPart == Item.SLOT_AGATHION))
|
||||||
{
|
{
|
||||||
_type1 = Item.TYPE1_SHIELD_ARMOR;
|
_type1 = Item.TYPE1_SHIELD_ARMOR;
|
||||||
_type2 = Item.TYPE2_ACCESSORY;
|
_type2 = Item.TYPE2_ACCESSORY;
|
||||||
|
@ -42,7 +42,7 @@ public class Armor extends Item
|
|||||||
_type = set.getEnum("armor_type", ArmorType.class, ArmorType.NONE);
|
_type = set.getEnum("armor_type", ArmorType.class, ArmorType.NONE);
|
||||||
|
|
||||||
final long bodyPart = getBodyPart();
|
final long bodyPart = getBodyPart();
|
||||||
if (bodyPart == Item.SLOT_ARTIFACT)
|
if ((bodyPart == Item.SLOT_ARTIFACT) || (bodyPart == Item.SLOT_AGATHION))
|
||||||
{
|
{
|
||||||
_type1 = Item.TYPE1_SHIELD_ARMOR;
|
_type1 = Item.TYPE1_SHIELD_ARMOR;
|
||||||
_type2 = Item.TYPE2_ACCESSORY;
|
_type2 = Item.TYPE2_ACCESSORY;
|
||||||
|
Loading…
Reference in New Issue
Block a user