Proper armor types for agathions.

Thanks to Mode.
This commit is contained in:
MobiusDevelopment 2020-12-19 23:05:50 +00:00
parent 22569542f7
commit 4ac5a032ce
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ public class Armor extends Item
_type = set.getEnum("armor_type", ArmorType.class, ArmorType.NONE);
final long bodyPart = getBodyPart();
if (bodyPart == Item.SLOT_ARTIFACT)
if ((bodyPart == Item.SLOT_ARTIFACT) || (bodyPart == Item.SLOT_AGATHION))
{
_type1 = Item.TYPE1_SHIELD_ARMOR;
_type2 = Item.TYPE2_ACCESSORY;

View File

@ -42,7 +42,7 @@ public class Armor extends Item
_type = set.getEnum("armor_type", ArmorType.class, ArmorType.NONE);
final long bodyPart = getBodyPart();
if (bodyPart == Item.SLOT_ARTIFACT)
if ((bodyPart == Item.SLOT_ARTIFACT) || (bodyPart == Item.SLOT_AGATHION))
{
_type1 = Item.TYPE1_SHIELD_ARMOR;
_type2 = Item.TYPE2_ACCESSORY;