From 2b5acb6f811f87a4dc9a36351d17326e17b253eb Mon Sep 17 00:00:00 2001
From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Sun, 29 Jul 2018 18:21:47 +0000
Subject: [PATCH] Agathion related changes.
---
.../game/data/stats/items/48000-48099.xml | 17 +--
.../game/data/stats/items/70900-70999.xml | 133 ++++++++++--------
.../game/data/stats/skills/51000-51099.xml | 15 +-
.../model/actor/instance/L2PcInstance.java | 2 +-
.../model/itemcontainer/Inventory.java | 18 +++
5 files changed, 117 insertions(+), 68 deletions(-)
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/48000-48099.xml b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/48000-48099.xml
index 8c43019c4c..2ee3cdde51 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/48000-48099.xml
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/48000-48099.xml
@@ -44,7 +44,7 @@
-
+
@@ -55,7 +55,7 @@
-
+
@@ -66,7 +66,7 @@
-
+
@@ -77,7 +77,7 @@
-
+
@@ -88,7 +88,7 @@
-
+
@@ -99,7 +99,7 @@
-
+
@@ -110,6 +110,7 @@
+
@@ -120,7 +121,7 @@
-
+
@@ -131,7 +132,7 @@
-
+
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/70900-70999.xml b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/70900-70999.xml
index 13de682c50..3c210bca34 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/70900-70999.xml
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/items/70900-70999.xml
@@ -277,6 +277,9 @@
+
+
+
-
@@ -291,6 +294,9 @@
+
+
+
-
@@ -305,6 +311,9 @@
+
+
+
-
@@ -319,6 +328,9 @@
+
+
+
-
@@ -333,12 +345,15 @@
+
+
+
-
-
+
@@ -347,56 +362,71 @@
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
@@ -410,7 +440,7 @@
-
+
@@ -423,7 +453,7 @@
-
+
@@ -436,7 +466,7 @@
-
+
@@ -449,7 +479,7 @@
-
+
@@ -463,7 +493,7 @@
-
+
@@ -477,7 +507,7 @@
-
+
@@ -491,7 +521,7 @@
-
+
@@ -505,7 +535,7 @@
-
+
@@ -519,7 +549,7 @@
-
+
@@ -532,7 +562,7 @@
-
+
@@ -545,7 +575,7 @@
-
+
@@ -558,7 +588,7 @@
-
+
@@ -571,7 +601,7 @@
-
+
@@ -584,7 +614,7 @@
-
+
@@ -597,7 +627,7 @@
-
+
@@ -610,7 +640,7 @@
-
+
@@ -623,7 +653,7 @@
-
+
@@ -636,7 +666,7 @@
-
+
@@ -649,7 +679,7 @@
-
+
@@ -662,7 +692,7 @@
-
+
@@ -675,7 +705,7 @@
-
+
@@ -688,7 +718,7 @@
-
+
@@ -701,7 +731,7 @@
-
+
@@ -714,7 +744,7 @@
-
+
@@ -727,7 +757,7 @@
-
+
@@ -740,7 +770,7 @@
-
+
@@ -753,7 +783,7 @@
-
+
@@ -766,7 +796,7 @@
-
+
@@ -779,7 +809,7 @@
-
+
@@ -791,7 +821,7 @@
-
+
@@ -807,7 +837,7 @@
-
+
@@ -822,7 +852,7 @@
-
+
@@ -837,7 +867,7 @@
-
+
@@ -852,7 +882,7 @@
-
+
@@ -869,7 +899,7 @@
-
+
@@ -885,7 +915,7 @@
-
+
@@ -900,7 +930,7 @@
-
+
@@ -916,7 +946,7 @@
-
+
@@ -932,8 +962,7 @@
-
-
+
@@ -943,18 +972,13 @@
-
- 314
-
-
-
+
-
-
@@ -962,15 +986,12 @@
-
- 196
-
-
-
+
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/51000-51099.xml b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/51000-51099.xml
index 453c81ca45..59bea4d854 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/51000-51099.xml
+++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/51000-51099.xml
@@ -121,9 +121,18 @@
A1
-
- icon.skill0000
- A1
+ icon.skill51025
+ P
+
+
+
+ 2
+ 3
+ 4
+ 5
+
+
+
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
index 452c7ddf28..1543aecef9 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
@@ -2149,7 +2149,7 @@ public final class L2PcInstance extends L2Playable
final int slot = _inventory.getSlotFromItem(item);
// we can't unequip talisman by body slot
- if ((slot == L2Item.SLOT_DECO) || (slot == L2Item.SLOT_BROOCH_JEWEL))
+ if ((slot == L2Item.SLOT_DECO) || (slot == L2Item.SLOT_BROOCH_JEWEL) || (slot == L2Item.SLOT_AGATHION))
{
items = _inventory.unEquipItemInSlotAndRecord(item.getLocationSlot());
}
diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/itemcontainer/Inventory.java
index 2126e00238..66e69d67fa 100644
--- a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/itemcontainer/Inventory.java
+++ b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/itemcontainer/Inventory.java
@@ -1000,6 +1000,10 @@ public abstract class Inventory extends ItemContainer
{
return PAPERDOLL_BROOCH_JEWEL1;
}
+ case L2Item.SLOT_AGATHION:
+ {
+ return PAPERDOLL_AGATHION1;
+ }
}
return -1;
}
@@ -1294,6 +1298,15 @@ public abstract class Inventory extends ItemContainer
slot = L2Item.SLOT_BROOCH_JEWEL;
break;
}
+ case PAPERDOLL_AGATHION1:
+ case PAPERDOLL_AGATHION2:
+ case PAPERDOLL_AGATHION3:
+ case PAPERDOLL_AGATHION4:
+ case PAPERDOLL_AGATHION5:
+ {
+ slot = L2Item.SLOT_AGATHION;
+ break;
+ }
}
return slot;
}
@@ -1484,6 +1497,11 @@ public abstract class Inventory extends ItemContainer
pdollSlot = PAPERDOLL_BROOCH_JEWEL1;
break;
}
+ case L2Item.SLOT_AGATHION:
+ {
+ pdollSlot = PAPERDOLL_AGATHION1;
+ break;
+ }
default:
{
LOGGER.info("Unhandled slot type: " + slot);