diff --git a/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index f787558f13..310070f50b 100644 --- a/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -564,7 +564,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -620,7 +620,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -683,7 +683,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -802,7 +802,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 81c2cb2e22..aa886d65a6 100644 --- a/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -570,7 +570,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -626,7 +626,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -689,7 +689,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -808,7 +808,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 81c2cb2e22..aa886d65a6 100644 --- a/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -570,7 +570,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -626,7 +626,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -689,7 +689,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -808,7 +808,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 7f3b390af5..dcda984959 100644 --- a/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -570,7 +570,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -626,7 +626,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -689,7 +689,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -808,7 +808,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 81c7761eba..8281ec6b5e 100644 --- a/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -580,7 +580,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -636,7 +636,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -699,7 +699,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -821,7 +821,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index a9234b3188..1cd00c9e38 100644 --- a/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -603,7 +603,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -659,7 +659,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -722,7 +722,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -844,7 +844,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index a9234b3188..1cd00c9e38 100644 --- a/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -603,7 +603,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -659,7 +659,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -722,7 +722,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -844,7 +844,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 8ca2feb467..34a2fef56c 100644 --- a/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -597,7 +597,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -653,7 +653,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -716,7 +716,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -838,7 +838,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index cda998e539..c0e6ea3a06 100644 --- a/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -579,7 +579,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -635,7 +635,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -698,7 +698,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -820,7 +820,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index cda998e539..c0e6ea3a06 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -579,7 +579,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -635,7 +635,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -698,7 +698,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -820,7 +820,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 41538a1ad5..d7205e921e 100644 --- a/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -580,7 +580,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -636,7 +636,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -699,7 +699,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -821,7 +821,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 41538a1ad5..d7205e921e 100644 --- a/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -580,7 +580,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -636,7 +636,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -699,7 +699,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -821,7 +821,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 8832e87ae4..9f000d2e70 100644 --- a/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -566,7 +566,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -622,7 +622,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -685,7 +685,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -804,7 +804,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 8832e87ae4..9f000d2e70 100644 --- a/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -566,7 +566,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -622,7 +622,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -685,7 +685,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -804,7 +804,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index de6679a241..31cf061fc4 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -572,7 +572,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -628,7 +628,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -691,7 +691,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -810,7 +810,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index de6679a241..31cf061fc4 100644 --- a/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -572,7 +572,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -628,7 +628,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -691,7 +691,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -810,7 +810,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index ce37205da7..a5cae145ff 100644 --- a/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -582,7 +582,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -638,7 +638,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -701,7 +701,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -823,7 +823,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 289bcc6b58..e7cce37d20 100644 --- a/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -605,7 +605,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -661,7 +661,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -724,7 +724,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -846,7 +846,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 289bcc6b58..e7cce37d20 100644 --- a/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -605,7 +605,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -661,7 +661,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -724,7 +724,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -846,7 +846,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 289bcc6b58..e7cce37d20 100644 --- a/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -605,7 +605,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -661,7 +661,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -724,7 +724,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -846,7 +846,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index cf0a0fcfca..5b310a845f 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -599,7 +599,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -655,7 +655,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -718,7 +718,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -840,7 +840,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 84093e76a1..fa2c3aa487 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -564,7 +564,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -620,7 +620,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -683,7 +683,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -802,7 +802,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && player.hasEnteredWorld()) { player.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 70abc6519f..fdc5b4ebf5 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -623,7 +623,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -724,7 +724,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -790,7 +790,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -955,7 +955,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 16c4609a2e..94d4f417a7 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -632,7 +632,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -733,7 +733,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -799,7 +799,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -964,7 +964,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 16c4609a2e..94d4f417a7 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -632,7 +632,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -733,7 +733,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -799,7 +799,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -964,7 +964,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); } diff --git a/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 16c4609a2e..94d4f417a7 100644 --- a/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -632,7 +632,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -733,7 +733,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); } @@ -799,7 +799,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (skill.isActive() && !skill.isBad() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (skill.isActive() && !skill.isBad() && !skill.isTransformation() && (Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(skill, Config.ITEM_EQUIP_ACTIVE_SKILL_REUSE); updateTimestamp = true; @@ -964,7 +964,7 @@ public abstract class Inventory extends ItemContainer } // Active, non offensive, skills start with reuse on equip. - if (!itemSkill.isBad() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) + if (!itemSkill.isBad() && !itemSkill.isTransformation() && (Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE > 0) && playable.getActingPlayer().hasEnteredWorld()) { playable.addTimeStamp(itemSkill, Config.ARMOR_SET_EQUIP_ACTIVE_SKILL_REUSE); }