From 4ac5a032ce13c2d3fe5f91a76a3b99f0547d9bc7 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 19 Dec 2020 23:05:50 +0000 Subject: [PATCH] Proper armor types for agathions. Thanks to Mode. --- .../java/org/l2jmobius/gameserver/model/items/Armor.java | 2 +- .../java/org/l2jmobius/gameserver/model/items/Armor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/items/Armor.java b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/items/Armor.java index 82639c05cd..923cf0af49 100644 --- a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/items/Armor.java +++ b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/items/Armor.java @@ -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; diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/items/Armor.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/items/Armor.java index 82639c05cd..923cf0af49 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/items/Armor.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/items/Armor.java @@ -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;