Removal of Lydia AI.
Contributed by CostyKiller.
This commit is contained in:
5
L2J_Mobius_8.0_Homunculus/dist/game/data/html/default/32892.htm
vendored
Normal file
5
L2J_Mobius_8.0_Homunculus/dist/game/data/html/default/32892.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
So good that you've came. Greetings! Welcome to this world, which turned from a shining place of gods into... real pandemonium.<br>
|
||||
I can exchange Octavis' accessories for some valuables. But remember, if you decide to exchange items modification will be cancelled. Be careful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 328920001">"Exchange Octavis' Accessories (Necklace, Ring, Earring, Bracelet)"</Button>
|
||||
</body></html>
|
@@ -1,7 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
Welcome. I'm sure glad to see you. We've got a harsh situation to deal with here. The bright light of the Gods has been turned into a curse!<br>
|
||||
By the way, I can exchange Octavis' Accessories for something better for you. But keep in mind that the enchantment in the accessories will be reset.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"I'll fight Octavis."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2024">"I'd like to exchange Octavis' Accessories (necklaces, rings, earrings, and bracelets)."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@@ -1,5 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
Your party members are participating in battle. I'll move you to them.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone reenterInstance">"Thanks!"</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@@ -1,5 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
The master of Orbis Temple, Octavis... What are you going to do with him?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-04.html">"I will kill him." (participate in moderate battle)</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-05.html">"Is there a way to save his soul?" (participate in epic battle)</Button>
|
||||
</body></html>
|
@@ -1,7 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
He was truly brutal, yes... he was. If you kill him, you will be praised as a hero who saved this Orbis Temple.... But Octavis will resist fearfully. You'll need to take a big risk.<br>
|
||||
What will you choose?<br>
|
||||
<font color="LEVEL">(In order to challenge in Octavis Normal Battle, you need an association made up of level 95+ parties. A maximum of 35 players can participate simultaneously, and players can enter the instanced zone through the association leader.</font>)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone enterEasyInstance">"Say no more. I'm in."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"I'll think about it."</Button>
|
||||
</body></html>
|
@@ -1,8 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
That is... a truly difficult path, but Octavis might want this from the bottom of his heart.<br>
|
||||
You will face dangerous situations you've never been in before, and you will be facing death in the face. But... this is an opportunity for a great hero...<br>
|
||||
What will you do?<br>
|
||||
<font color="LEVEL">(In order to challenge Octavis in an Epic Battle, you will need an association that is made up with characters level 97 or above. A maximum of 35 characters can participate in a battle at the same time.</font>)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone enterExtremeInstance">"I'll save his soul."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"Let me think about it."</Button>
|
||||
</body></html>
|
@@ -1,82 +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.bosses.Octavis.Lydia;
|
||||
|
||||
import org.l2jmobius.gameserver.instancemanager.InstanceManager;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.instancezone.Instance;
|
||||
|
||||
import ai.AbstractNpcAI;
|
||||
|
||||
/**
|
||||
* Lydia AI.
|
||||
* @author St3eT
|
||||
*/
|
||||
public class Lydia extends AbstractNpcAI
|
||||
{
|
||||
// NPCs
|
||||
private static final int LYDIA = 32892;
|
||||
// Misc
|
||||
private static final int OCTAVIS_TEMPLATE_ID = 180;
|
||||
private static final int OCTAVIS_EXTREME_TEMPLATE_ID = 181;
|
||||
|
||||
private Lydia()
|
||||
{
|
||||
addStartNpc(LYDIA);
|
||||
addFirstTalkId(LYDIA);
|
||||
addTalkId(LYDIA);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final Instance instance = InstanceManager.getInstance().getPlayerInstance(player, false);
|
||||
if ((instance != null) && ((instance.getTemplateId() == OCTAVIS_TEMPLATE_ID) || (instance.getTemplateId() == OCTAVIS_EXTREME_TEMPLATE_ID)))
|
||||
{
|
||||
htmltext = "Lydia-02.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "Lydia-01.html";
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "Lydia-03.html":
|
||||
case "Lydia-04.html":
|
||||
case "Lydia-05.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new Lydia();
|
||||
}
|
||||
}
|
5
L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/data/html/default/32892.htm
vendored
Normal file
5
L2J_Mobius_9.0_ReturnOfTheQueenAnt/dist/game/data/html/default/32892.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
So good that you've came. Greetings! Welcome to this world, which turned from a shining place of gods into... real pandemonium.<br>
|
||||
I can exchange Octavis' accessories for some valuables. But remember, if you decide to exchange items modification will be cancelled. Be careful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 328920001">"Exchange Octavis' Accessories (Necklace, Ring, Earring, Bracelet)"</Button>
|
||||
</body></html>
|
@@ -1,7 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
Welcome. I'm sure glad to see you. We've got a harsh situation to deal with here. The bright light of the Gods has been turned into a curse!<br>
|
||||
By the way, I can exchange Octavis' Accessories for something better for you. But keep in mind that the enchantment in the accessories will be reset.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"I'll fight Octavis."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2024">"I'd like to exchange Octavis' Accessories (necklaces, rings, earrings, and bracelets)."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@@ -1,5 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
Your party members are participating in battle. I'll move you to them.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone reenterInstance">"Thanks!"</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@@ -1,5 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
The master of Orbis Temple, Octavis... What are you going to do with him?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-04.html">"I will kill him." (participate in moderate battle)</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-05.html">"Is there a way to save his soul?" (participate in epic battle)</Button>
|
||||
</body></html>
|
@@ -1,7 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
He was truly brutal, yes... he was. If you kill him, you will be praised as a hero who saved this Orbis Temple.... But Octavis will resist fearfully. You'll need to take a big risk.<br>
|
||||
What will you choose?<br>
|
||||
<font color="LEVEL">(In order to challenge in Octavis Normal Battle, you need an association made up of level 95+ parties. A maximum of 35 players can participate simultaneously, and players can enter the instanced zone through the association leader.</font>)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone enterEasyInstance">"Say no more. I'm in."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"I'll think about it."</Button>
|
||||
</body></html>
|
@@ -1,8 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
That is... a truly difficult path, but Octavis might want this from the bottom of his heart.<br>
|
||||
You will face dangerous situations you've never been in before, and you will be facing death in the face. But... this is an opportunity for a great hero...<br>
|
||||
What will you do?<br>
|
||||
<font color="LEVEL">(In order to challenge Octavis in an Epic Battle, you will need an association that is made up with characters level 97 or above. A maximum of 35 characters can participate in a battle at the same time.</font>)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone enterExtremeInstance">"I'll save his soul."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"Let me think about it."</Button>
|
||||
</body></html>
|
@@ -1,82 +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.bosses.Octavis.Lydia;
|
||||
|
||||
import org.l2jmobius.gameserver.instancemanager.InstanceManager;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.instancezone.Instance;
|
||||
|
||||
import ai.AbstractNpcAI;
|
||||
|
||||
/**
|
||||
* Lydia AI.
|
||||
* @author St3eT
|
||||
*/
|
||||
public class Lydia extends AbstractNpcAI
|
||||
{
|
||||
// NPCs
|
||||
private static final int LYDIA = 32892;
|
||||
// Misc
|
||||
private static final int OCTAVIS_TEMPLATE_ID = 180;
|
||||
private static final int OCTAVIS_EXTREME_TEMPLATE_ID = 181;
|
||||
|
||||
private Lydia()
|
||||
{
|
||||
addStartNpc(LYDIA);
|
||||
addFirstTalkId(LYDIA);
|
||||
addTalkId(LYDIA);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final Instance instance = InstanceManager.getInstance().getPlayerInstance(player, false);
|
||||
if ((instance != null) && ((instance.getTemplateId() == OCTAVIS_TEMPLATE_ID) || (instance.getTemplateId() == OCTAVIS_EXTREME_TEMPLATE_ID)))
|
||||
{
|
||||
htmltext = "Lydia-02.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "Lydia-01.html";
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "Lydia-03.html":
|
||||
case "Lydia-04.html":
|
||||
case "Lydia-05.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new Lydia();
|
||||
}
|
||||
}
|
5
L2J_Mobius_9.2_ReturnOfTheQueenAnt_Ch2/dist/game/data/html/default/32892.htm
vendored
Normal file
5
L2J_Mobius_9.2_ReturnOfTheQueenAnt_Ch2/dist/game/data/html/default/32892.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
So good that you've came. Greetings! Welcome to this world, which turned from a shining place of gods into... real pandemonium.<br>
|
||||
I can exchange Octavis' accessories for some valuables. But remember, if you decide to exchange items modification will be cancelled. Be careful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 328920001">"Exchange Octavis' Accessories (Necklace, Ring, Earring, Bracelet)"</Button>
|
||||
</body></html>
|
@@ -1,7 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
Welcome. I'm sure glad to see you. We've got a harsh situation to deal with here. The bright light of the Gods has been turned into a curse!<br>
|
||||
By the way, I can exchange Octavis' Accessories for something better for you. But keep in mind that the enchantment in the accessories will be reset.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"I'll fight Octavis."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2024">"I'd like to exchange Octavis' Accessories (necklaces, rings, earrings, and bracelets)."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@@ -1,5 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
Your party members are participating in battle. I'll move you to them.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone reenterInstance">"Thanks!"</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@@ -1,5 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
The master of Orbis Temple, Octavis... What are you going to do with him?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-04.html">"I will kill him." (participate in moderate battle)</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-05.html">"Is there a way to save his soul?" (participate in epic battle)</Button>
|
||||
</body></html>
|
@@ -1,7 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
He was truly brutal, yes... he was. If you kill him, you will be praised as a hero who saved this Orbis Temple.... But Octavis will resist fearfully. You'll need to take a big risk.<br>
|
||||
What will you choose?<br>
|
||||
<font color="LEVEL">(In order to challenge in Octavis Normal Battle, you need an association made up of level 95+ parties. A maximum of 35 players can participate simultaneously, and players can enter the instanced zone through the association leader.</font>)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone enterEasyInstance">"Say no more. I'm in."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"I'll think about it."</Button>
|
||||
</body></html>
|
@@ -1,8 +0,0 @@
|
||||
<html><body>Divine Messenger Lydia:<br>
|
||||
That is... a truly difficult path, but Octavis might want this from the bottom of his heart.<br>
|
||||
You will face dangerous situations you've never been in before, and you will be facing death in the face. But... this is an opportunity for a great hero...<br>
|
||||
What will you do?<br>
|
||||
<font color="LEVEL">(In order to challenge Octavis in an Epic Battle, you will need an association that is made up with characters level 97 or above. A maximum of 35 characters can participate in a battle at the same time.</font>)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest OctavisWarzone enterExtremeInstance">"I'll save his soul."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Lydia Lydia-03.html">"Let me think about it."</Button>
|
||||
</body></html>
|
@@ -1,82 +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.bosses.Octavis.Lydia;
|
||||
|
||||
import org.l2jmobius.gameserver.instancemanager.InstanceManager;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.instancezone.Instance;
|
||||
|
||||
import ai.AbstractNpcAI;
|
||||
|
||||
/**
|
||||
* Lydia AI.
|
||||
* @author St3eT
|
||||
*/
|
||||
public class Lydia extends AbstractNpcAI
|
||||
{
|
||||
// NPCs
|
||||
private static final int LYDIA = 32892;
|
||||
// Misc
|
||||
private static final int OCTAVIS_TEMPLATE_ID = 180;
|
||||
private static final int OCTAVIS_EXTREME_TEMPLATE_ID = 181;
|
||||
|
||||
private Lydia()
|
||||
{
|
||||
addStartNpc(LYDIA);
|
||||
addFirstTalkId(LYDIA);
|
||||
addTalkId(LYDIA);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final Instance instance = InstanceManager.getInstance().getPlayerInstance(player, false);
|
||||
if ((instance != null) && ((instance.getTemplateId() == OCTAVIS_TEMPLATE_ID) || (instance.getTemplateId() == OCTAVIS_EXTREME_TEMPLATE_ID)))
|
||||
{
|
||||
htmltext = "Lydia-02.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "Lydia-01.html";
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "Lydia-03.html":
|
||||
case "Lydia-04.html":
|
||||
case "Lydia-05.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new Lydia();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user