Removed unused death penalty stuff.

This commit is contained in:
MobiusDev
2018-04-06 15:02:45 +00:00
parent dce3221509
commit 16fba600f3
24 changed files with 0 additions and 448 deletions

View File

@@ -1,6 +0,0 @@
<html><body>Dark Judge:<br>
I was able to weaken Shilen's Breath to a degree...<br>
But there isn't much I can do about the tendrils of it coursing deep within your veins.<br><br>
Be patient. Time will heal.<br><br>
Until then, farewell.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Dark Judge:<br>
I can only weaken Shilen's Breath Lv. 3 or above.<br>
There is nothing I can do for you.
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>Dark Judge:<br>
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...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BlackJudge weakenBreath">"I heard you could weaken Shilen's Breath Lv.3 or above."</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@@ -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 <http://www.gnu.org/licenses/>.
*/
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();
}
}

View File

@@ -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);

View File

@@ -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 <http://www.gnu.org/licenses/>.
*/
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();
}
}
}

View File

@@ -97,7 +97,6 @@
<npc id="30761" x="103898" y="116896" z="-3024" heading="0" respawnTime="60sec"/>
<npc id="30762" x="112268" y="112761" z="-2784" heading="0" respawnTime="60sec"/>
<npc id="30763" x="124664" y="110047" z="-3104" heading="0" respawnTime="60sec"/>
<npc id="30981" x="106131" y="105979" z="-3482" heading="28672" respawnTime="60sec"/>
<npc id="35184" x="117095" y="144997" z="-2539" heading="32768" respawnTime="60sec"/>
<npc id="35188" x="107386" y="145807" z="-3300" heading="32768" respawnTime="60sec"/>
<npc id="35180" x="112661" y="144757" z="-2817" heading="32768" respawnTime="10800sec"/>

View File

@@ -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.