diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Character.ini b/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Character.ini
index 8c917f4302..b4b2ee3279 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Character.ini
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Character.ini
@@ -31,10 +31,6 @@ AltWeightLimit = 1
# Default: 0
RunSpeedBoost = 0
-# Chance of receiving the Death Penalty debuff when killed by a mob.
-# Default: 20
-DeathPenaltyChance = 20
-
# Percent of HP, MP, and CP which is restored on character revival.
# Use 0 to disable restore
# Default: 0, 65, 0
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981-01.html b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981-01.html
deleted file mode 100644
index ee35a59434..0000000000
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981-01.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
Dark Judge:
-I was able to weaken Shilen's Breath to a degree...
-But there isn't much I can do about the tendrils of it coursing deep within your veins.
-Be patient. Time will heal.
-Until then, farewell.
-
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981-02.html b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981-02.html
deleted file mode 100644
index a123ce3a19..0000000000
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Dark Judge:
-I can only weaken Shilen's Breath Lv. 3 or above.
-There is nothing I can do for you.
-
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981.html b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981.html
deleted file mode 100644
index 955f67a793..0000000000
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/30981.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Dark Judge:
-The judges have come to this land to save souls contaminated by sin, not separate good from evil or light from darkness. Rather, we have come to help those with strong wills and noble souls -- whether or not they wish our help. Come, sinners, come to us...
-
-
-
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/BlackJudge.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/BlackJudge.java
deleted file mode 100644
index 24fe5c0f41..0000000000
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/ai/others/BlackJudge/BlackJudge.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * This file is part of the L2J Mobius project.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-package ai.others.BlackJudge;
-
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-
-import ai.AbstractNpcAI;
-
-/**
- * Black Judge AI.
- * @author St3eT
- */
-public final class BlackJudge extends AbstractNpcAI
-{
- // NPC
- private static final int BLACK_JUDGE = 30981;
-
- private BlackJudge()
- {
- addStartNpc(BLACK_JUDGE);
- addTalkId(BLACK_JUDGE);
- addFirstTalkId(BLACK_JUDGE);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- String htmltext = null;
-
- if (event.equals("weakenBreath"))
- {
- if (player.getShilensBreathDebuffLevel() >= 3)
- {
- player.setShilensBreathDebuffLevel(2);
- htmltext = "30981-01.html";
- }
- else
- {
- htmltext = "30981-02.html";
- }
- }
- return htmltext;
- }
-
- public static void main(String[] args)
- {
- new BlackJudge();
- }
-}
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/EffectMasterHandler.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/EffectMasterHandler.java
index e37ecc44dc..da0021eb21 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/EffectMasterHandler.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/EffectMasterHandler.java
@@ -261,7 +261,6 @@ public final class EffectMasterHandler
EffectHandler.getInstance().registerHandler("RebalanceHP", RebalanceHP::new);
EffectHandler.getInstance().registerHandler("RebalanceHPSummon", RebalanceHPSummon::new);
EffectHandler.getInstance().registerHandler("RecoverVitalityInPeaceZone", RecoverVitalityInPeaceZone::new);
- EffectHandler.getInstance().registerHandler("Recovery", Recovery::new);
EffectHandler.getInstance().registerHandler("ReduceDamage", ReduceDamage::new);
EffectHandler.getInstance().registerHandler("ReduceCancel", ReduceCancel::new);
EffectHandler.getInstance().registerHandler("ReduceDropPenalty", ReduceDropPenalty::new);
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/Recovery.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/Recovery.java
deleted file mode 100644
index 0824a86380..0000000000
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/Recovery.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is part of the L2J Mobius project.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-package handlers.effecthandlers;
-
-import com.l2jmobius.gameserver.model.StatsSet;
-import com.l2jmobius.gameserver.model.actor.L2Character;
-import com.l2jmobius.gameserver.model.effects.AbstractEffect;
-import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
-import com.l2jmobius.gameserver.model.skills.Skill;
-
-/**
- * Recovery effect implementation.
- * @author Kerberos
- */
-public final class Recovery extends AbstractEffect
-{
- public Recovery(StatsSet params)
- {
- }
-
- @Override
- public boolean isInstant()
- {
- return true;
- }
-
- @Override
- public void instant(L2Character effector, L2Character effected, Skill skill, L2ItemInstance item)
- {
- if (effected.isPlayer())
- {
- effected.getActingPlayer().decreaseShilensBreathDebuff();
- }
- }
-}
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/spawns/Giran/Giran.xml b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/spawns/Giran/Giran.xml
index c36393830a..0f6973a923 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/spawns/Giran/Giran.xml
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/spawns/Giran/Giran.xml
@@ -97,7 +97,6 @@
-
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/stats/skills/documentation.txt b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/stats/skills/documentation.txt
index 5fa0661376..02e558ccda 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/stats/skills/documentation.txt
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/stats/skills/documentation.txt
@@ -230,7 +230,6 @@ RearDamage: Multiplier for damage done from behind the target. (l2jmobius)
RebalanceHP: Balances targets' current HP.
RebalanceHPSummon: Balances targets' current HP for summons.
RecoverVitalityInPeaceZone: Recover periodically vitality when player is in a peace zone. (l2jmobius)
-Recovery: Decreases death penalty level.
ReduceCancel: Magic skill casting interruption stat.
ReduceDropPenalty: Reduces EXP lost and death penalty chance.
ReflectMagic: Deflects magical damage back to the attacker.
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/Config.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/Config.java
index bc03b52a99..db27362560 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/Config.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/Config.java
@@ -150,7 +150,6 @@ public final class Config
public static boolean DECREASE_SKILL_LEVEL;
public static double ALT_WEIGHT_LIMIT;
public static int RUN_SPD_BOOST;
- public static int DEATH_PENALTY_CHANCE;
public static double RESPAWN_RESTORE_CP;
public static double RESPAWN_RESTORE_HP;
public static double RESPAWN_RESTORE_MP;
@@ -1398,7 +1397,6 @@ public final class Config
DECREASE_SKILL_LEVEL = Character.getBoolean("DecreaseSkillOnDelevel", true);
ALT_WEIGHT_LIMIT = Character.getDouble("AltWeightLimit", 1);
RUN_SPD_BOOST = Character.getInt("RunSpeedBoost", 0);
- DEATH_PENALTY_CHANCE = Character.getInt("DeathPenaltyChance", 20);
RESPAWN_RESTORE_CP = Character.getDouble("RespawnRestoreCP", 0) / 100;
RESPAWN_RESTORE_HP = Character.getDouble("RespawnRestoreHP", 65) / 100;
RESPAWN_RESTORE_MP = Character.getDouble("RespawnRestoreMP", 0) / 100;
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
index be2a0c6d46..325b493cb4 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
@@ -5011,9 +5011,6 @@ public final class L2PcInstance extends L2Playable
}
}
- // calculate Shilen's Breath debuff level
- calculateShilensBreathDebuffLevel(killer);
-
if (isMounted())
{
stopFeed();
@@ -11372,89 +11369,6 @@ public final class L2PcInstance extends L2Playable
}
}
- public int getShilensBreathDebuffLevel()
- {
- final BuffInfo buff = getEffectList().getBuffInfoBySkillId(CommonSkill.SHILENS_BREATH.getId());
- return buff == null ? 0 : buff.getSkill().getLevel();
- }
-
- public void calculateShilensBreathDebuffLevel(L2Character killer)
- {
- if (killer == null)
- {
- _log.warning(this + " called calculateShilensBreathDebuffLevel with killer null!");
- return;
- }
-
- if (isResurrectSpecialAffected() || isLucky() || isBlockedFromDeathPenalty() || isInsideZone(ZoneId.PVP) || isInsideZone(ZoneId.SIEGE) || canOverrideCond(PcCondOverride.DEATH_PENALTY))
- {
- return;
- }
- double percent = 1.0;
-
- if (killer.isRaid())
- {
- percent *= getStat().getValue(Stats.REDUCE_DEATH_PENALTY_BY_RAID, 1);
- }
- else if (killer.isMonster())
- {
- percent *= getStat().getValue(Stats.REDUCE_DEATH_PENALTY_BY_MOB, 1);
- }
- else if (killer.isPlayable())
- {
- percent *= getStat().getValue(Stats.REDUCE_DEATH_PENALTY_BY_PVP, 1);
- }
-
- if ((killer.isNpc() && ((L2Npc) killer).getTemplate().isDeathPenalty()) || (Rnd.get(1, 100) <= ((Config.DEATH_PENALTY_CHANCE) * percent)))
- {
- if (!killer.isPlayable() || (getReputation() < 0))
- {
- increaseShilensBreathDebuff();
- }
- }
- }
-
- public void increaseShilensBreathDebuff()
- {
- int nextLv = getShilensBreathDebuffLevel() + 1;
- if (nextLv > 5)
- {
- nextLv = 5;
- }
-
- final Skill skill = SkillData.getInstance().getSkill(CommonSkill.SHILENS_BREATH.getId(), nextLv);
- if (skill != null)
- {
- skill.applyEffects(this, this);
- sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_VE_BEEN_AFFLICTED_BY_SHILEN_S_BREATH_LEVEL_S1).addInt(nextLv));
- }
- }
-
- public void decreaseShilensBreathDebuff()
- {
- final int nextLv = getShilensBreathDebuffLevel() - 1;
- if (nextLv > 0)
- {
- final Skill skill = SkillData.getInstance().getSkill(CommonSkill.SHILENS_BREATH.getId(), nextLv);
- skill.applyEffects(this, this);
- sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_VE_BEEN_AFFLICTED_BY_SHILEN_S_BREATH_LEVEL_S1).addInt(nextLv));
- }
- else
- {
- sendPacket(SystemMessageId.SHILEN_S_BREATH_HAS_BEEN_PURIFIED);
- }
- }
-
- public void setShilensBreathDebuffLevel(int level)
- {
- if (level > 0)
- {
- final Skill skill = SkillData.getInstance().getSkill(CommonSkill.SHILENS_BREATH.getId(), level);
- skill.applyEffects(this, this);
- sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_VE_BEEN_AFFLICTED_BY_SHILEN_S_BREATH_LEVEL_S1).addInt(level));
- }
- }
-
@Override
public L2PcInstance getActingPlayer()
{
diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java
index 5c2486e7dc..20f2a40d40 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java
+++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java
@@ -48,7 +48,6 @@ public enum CommonSkill
CREATE_COMMON(1320, 1),
DIVINE_INSPIRATION(1405, 1),
CARAVANS_SECRET_MEDICINE(2341, 1),
- SHILENS_BREATH(14571, 1),
IMPRIT_OF_LIGHT(19034, 1),
IMPRIT_OF_DARKNESS(19035, 1),
ABILITY_OF_LIGHT(19032, 1),
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/config/Character.ini b/L2J_Mobius_Classic_2.0_Zaken/dist/game/config/Character.ini
index 8c917f4302..b4b2ee3279 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/config/Character.ini
+++ b/L2J_Mobius_Classic_2.0_Zaken/dist/game/config/Character.ini
@@ -31,10 +31,6 @@ AltWeightLimit = 1
# Default: 0
RunSpeedBoost = 0
-# Chance of receiving the Death Penalty debuff when killed by a mob.
-# Default: 20
-DeathPenaltyChance = 20
-
# Percent of HP, MP, and CP which is restored on character revival.
# Use 0 to disable restore
# Default: 0, 65, 0
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981-01.html b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981-01.html
deleted file mode 100644
index ee35a59434..0000000000
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981-01.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Dark Judge:
-I was able to weaken Shilen's Breath to a degree...
-But there isn't much I can do about the tendrils of it coursing deep within your veins.
-Be patient. Time will heal.
-Until then, farewell.
-
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981-02.html b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981-02.html
deleted file mode 100644
index a123ce3a19..0000000000
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Dark Judge:
-I can only weaken Shilen's Breath Lv. 3 or above.
-There is nothing I can do for you.
-
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981.html b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981.html
deleted file mode 100644
index 955f67a793..0000000000
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/30981.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Dark Judge:
-The judges have come to this land to save souls contaminated by sin, not separate good from evil or light from darkness. Rather, we have come to help those with strong wills and noble souls -- whether or not they wish our help. Come, sinners, come to us...
-
-
-
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/BlackJudge.java b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/BlackJudge.java
deleted file mode 100644
index 24fe5c0f41..0000000000
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/ai/others/BlackJudge/BlackJudge.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * This file is part of the L2J Mobius project.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-package ai.others.BlackJudge;
-
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-
-import ai.AbstractNpcAI;
-
-/**
- * Black Judge AI.
- * @author St3eT
- */
-public final class BlackJudge extends AbstractNpcAI
-{
- // NPC
- private static final int BLACK_JUDGE = 30981;
-
- private BlackJudge()
- {
- addStartNpc(BLACK_JUDGE);
- addTalkId(BLACK_JUDGE);
- addFirstTalkId(BLACK_JUDGE);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- String htmltext = null;
-
- if (event.equals("weakenBreath"))
- {
- if (player.getShilensBreathDebuffLevel() >= 3)
- {
- player.setShilensBreathDebuffLevel(2);
- htmltext = "30981-01.html";
- }
- else
- {
- htmltext = "30981-02.html";
- }
- }
- return htmltext;
- }
-
- public static void main(String[] args)
- {
- new BlackJudge();
- }
-}
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/EffectMasterHandler.java b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/EffectMasterHandler.java
index e37ecc44dc..da0021eb21 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/EffectMasterHandler.java
+++ b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/EffectMasterHandler.java
@@ -261,7 +261,6 @@ public final class EffectMasterHandler
EffectHandler.getInstance().registerHandler("RebalanceHP", RebalanceHP::new);
EffectHandler.getInstance().registerHandler("RebalanceHPSummon", RebalanceHPSummon::new);
EffectHandler.getInstance().registerHandler("RecoverVitalityInPeaceZone", RecoverVitalityInPeaceZone::new);
- EffectHandler.getInstance().registerHandler("Recovery", Recovery::new);
EffectHandler.getInstance().registerHandler("ReduceDamage", ReduceDamage::new);
EffectHandler.getInstance().registerHandler("ReduceCancel", ReduceCancel::new);
EffectHandler.getInstance().registerHandler("ReduceDropPenalty", ReduceDropPenalty::new);
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/effecthandlers/Recovery.java b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/effecthandlers/Recovery.java
deleted file mode 100644
index 0824a86380..0000000000
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/handlers/effecthandlers/Recovery.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is part of the L2J Mobius project.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-package handlers.effecthandlers;
-
-import com.l2jmobius.gameserver.model.StatsSet;
-import com.l2jmobius.gameserver.model.actor.L2Character;
-import com.l2jmobius.gameserver.model.effects.AbstractEffect;
-import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
-import com.l2jmobius.gameserver.model.skills.Skill;
-
-/**
- * Recovery effect implementation.
- * @author Kerberos
- */
-public final class Recovery extends AbstractEffect
-{
- public Recovery(StatsSet params)
- {
- }
-
- @Override
- public boolean isInstant()
- {
- return true;
- }
-
- @Override
- public void instant(L2Character effector, L2Character effected, Skill skill, L2ItemInstance item)
- {
- if (effected.isPlayer())
- {
- effected.getActingPlayer().decreaseShilensBreathDebuff();
- }
- }
-}
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/spawns/Giran/Giran.xml b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/spawns/Giran/Giran.xml
index c36393830a..0f6973a923 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/spawns/Giran/Giran.xml
+++ b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/spawns/Giran/Giran.xml
@@ -97,7 +97,6 @@
-
diff --git a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/stats/skills/documentation.txt b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/stats/skills/documentation.txt
index 5fa0661376..02e558ccda 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/stats/skills/documentation.txt
+++ b/L2J_Mobius_Classic_2.0_Zaken/dist/game/data/stats/skills/documentation.txt
@@ -230,7 +230,6 @@ RearDamage: Multiplier for damage done from behind the target. (l2jmobius)
RebalanceHP: Balances targets' current HP.
RebalanceHPSummon: Balances targets' current HP for summons.
RecoverVitalityInPeaceZone: Recover periodically vitality when player is in a peace zone. (l2jmobius)
-Recovery: Decreases death penalty level.
ReduceCancel: Magic skill casting interruption stat.
ReduceDropPenalty: Reduces EXP lost and death penalty chance.
ReflectMagic: Deflects magical damage back to the attacker.
diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/Config.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/Config.java
index 27c1cafe79..330ac43a15 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/Config.java
+++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/Config.java
@@ -150,7 +150,6 @@ public final class Config
public static boolean DECREASE_SKILL_LEVEL;
public static double ALT_WEIGHT_LIMIT;
public static int RUN_SPD_BOOST;
- public static int DEATH_PENALTY_CHANCE;
public static double RESPAWN_RESTORE_CP;
public static double RESPAWN_RESTORE_HP;
public static double RESPAWN_RESTORE_MP;
@@ -1402,7 +1401,6 @@ public final class Config
DECREASE_SKILL_LEVEL = Character.getBoolean("DecreaseSkillOnDelevel", true);
ALT_WEIGHT_LIMIT = Character.getDouble("AltWeightLimit", 1);
RUN_SPD_BOOST = Character.getInt("RunSpeedBoost", 0);
- DEATH_PENALTY_CHANCE = Character.getInt("DeathPenaltyChance", 20);
RESPAWN_RESTORE_CP = Character.getDouble("RespawnRestoreCP", 0) / 100;
RESPAWN_RESTORE_HP = Character.getDouble("RespawnRestoreHP", 65) / 100;
RESPAWN_RESTORE_MP = Character.getDouble("RespawnRestoreMP", 0) / 100;
diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
index 85bf5d1da2..2d84d56b25 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
+++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java
@@ -5011,9 +5011,6 @@ public final class L2PcInstance extends L2Playable
}
}
- // calculate Shilen's Breath debuff level
- calculateShilensBreathDebuffLevel(killer);
-
if (isMounted())
{
stopFeed();
@@ -11372,89 +11369,6 @@ public final class L2PcInstance extends L2Playable
}
}
- public int getShilensBreathDebuffLevel()
- {
- final BuffInfo buff = getEffectList().getBuffInfoBySkillId(CommonSkill.SHILENS_BREATH.getId());
- return buff == null ? 0 : buff.getSkill().getLevel();
- }
-
- public void calculateShilensBreathDebuffLevel(L2Character killer)
- {
- if (killer == null)
- {
- _log.warning(this + " called calculateShilensBreathDebuffLevel with killer null!");
- return;
- }
-
- if (isResurrectSpecialAffected() || isLucky() || isBlockedFromDeathPenalty() || isInsideZone(ZoneId.PVP) || isInsideZone(ZoneId.SIEGE) || canOverrideCond(PcCondOverride.DEATH_PENALTY))
- {
- return;
- }
- double percent = 1.0;
-
- if (killer.isRaid())
- {
- percent *= getStat().getValue(Stats.REDUCE_DEATH_PENALTY_BY_RAID, 1);
- }
- else if (killer.isMonster())
- {
- percent *= getStat().getValue(Stats.REDUCE_DEATH_PENALTY_BY_MOB, 1);
- }
- else if (killer.isPlayable())
- {
- percent *= getStat().getValue(Stats.REDUCE_DEATH_PENALTY_BY_PVP, 1);
- }
-
- if ((killer.isNpc() && ((L2Npc) killer).getTemplate().isDeathPenalty()) || (Rnd.get(1, 100) <= ((Config.DEATH_PENALTY_CHANCE) * percent)))
- {
- if (!killer.isPlayable() || (getReputation() < 0))
- {
- increaseShilensBreathDebuff();
- }
- }
- }
-
- public void increaseShilensBreathDebuff()
- {
- int nextLv = getShilensBreathDebuffLevel() + 1;
- if (nextLv > 5)
- {
- nextLv = 5;
- }
-
- final Skill skill = SkillData.getInstance().getSkill(CommonSkill.SHILENS_BREATH.getId(), nextLv);
- if (skill != null)
- {
- skill.applyEffects(this, this);
- sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_VE_BEEN_AFFLICTED_BY_SHILEN_S_BREATH_LEVEL_S1).addInt(nextLv));
- }
- }
-
- public void decreaseShilensBreathDebuff()
- {
- final int nextLv = getShilensBreathDebuffLevel() - 1;
- if (nextLv > 0)
- {
- final Skill skill = SkillData.getInstance().getSkill(CommonSkill.SHILENS_BREATH.getId(), nextLv);
- skill.applyEffects(this, this);
- sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_VE_BEEN_AFFLICTED_BY_SHILEN_S_BREATH_LEVEL_S1).addInt(nextLv));
- }
- else
- {
- sendPacket(SystemMessageId.SHILEN_S_BREATH_HAS_BEEN_PURIFIED);
- }
- }
-
- public void setShilensBreathDebuffLevel(int level)
- {
- if (level > 0)
- {
- final Skill skill = SkillData.getInstance().getSkill(CommonSkill.SHILENS_BREATH.getId(), level);
- skill.applyEffects(this, this);
- sendPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_VE_BEEN_AFFLICTED_BY_SHILEN_S_BREATH_LEVEL_S1).addInt(level));
- }
- }
-
@Override
public L2PcInstance getActingPlayer()
{
diff --git a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java
index 5c2486e7dc..20f2a40d40 100644
--- a/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java
+++ b/L2J_Mobius_Classic_2.0_Zaken/java/com/l2jmobius/gameserver/model/skills/CommonSkill.java
@@ -48,7 +48,6 @@ public enum CommonSkill
CREATE_COMMON(1320, 1),
DIVINE_INSPIRATION(1405, 1),
CARAVANS_SECRET_MEDICINE(2341, 1),
- SHILENS_BREATH(14571, 1),
IMPRIT_OF_LIGHT(19034, 1),
IMPRIT_OF_DARKNESS(19035, 1),
ABILITY_OF_LIGHT(19032, 1),