Merged with released L2J-Unity files.

This commit is contained in:
mobiusdev
2016-06-12 01:34:09 +00:00
parent e003e87887
commit 635557f5da
18352 changed files with 3245113 additions and 2892959 deletions

View File

@@ -0,0 +1,6 @@
<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

@@ -0,0 +1,4 @@
<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

@@ -0,0 +1,5 @@
<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

@@ -0,0 +1,64 @@
/*
* 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();
}
}