This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,96 @@
/*
* Copyright (C) 2004-2014 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.npc.SymbolMaker;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.HennaEquipList;
import com.l2jserver.gameserver.network.serverpackets.HennaRemoveList;
/**
* Symbol Maker AI.
* @author Adry_85
*/
public final class SymbolMaker extends AbstractNpcAI
{
// NPCs
private static final int[] NPCS =
{
31046, // Marsden
31047, // Kell
31048, // McDermott
31049, // Pepper
31050, // Thora
31051, // Keach
31052, // Heid
31053, // Kidder
31264, // Olsun
31308, // Achim
31953, // Rankar
};
private SymbolMaker()
{
super(SymbolMaker.class.getSimpleName(), "ai/npc");
addFirstTalkId(NPCS);
addStartNpc(NPCS);
addTalkId(NPCS);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "symbol_maker.htm":
case "symbol_maker-1.htm":
case "symbol_maker-2.htm":
case "symbol_maker-3.htm":
{
htmltext = event;
break;
}
case "Draw":
{
player.sendPacket(new HennaEquipList(player));
break;
}
case "Remove":
{
player.sendPacket(new HennaRemoveList(player));
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "symbol_maker.htm";
}
public static void main(String[] args)
{
new SymbolMaker();
}
}

View File

@@ -0,0 +1,10 @@
<html><body>
I like your curiosity.<br>
So here's the deal:<br>
Each magical symbol forms a harmonious triangle of 3 stats.<br>
STR, DEX, and CON will form six forms of harmony,<br1>
as will INT, MEN, and WIT.<br>
As you know, some symbols are class-specific while others aren't. And of course, advanced classes can use more advanced symbols!?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SymbolMaker symbol_maker-2.htm">"Tell me about symbols and class types."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest SymbolMaker symbol_maker.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,17 @@
<html><body>
Ah, yes, the classes. There are many, almost too many to name.<br>
But I suppose I must, since it is my job.<br>
STR and CON and DEX combined together form one harmony.<br>
This harmony can be used by all classes.<br>
INT, WIT and MEN can generate a significantly negative effect if used improperly.<br>
Only those who belong to a few classes and have received special training can use this type of harmony!<br>
Listen carefully now!<br>
INT and MEN can only be used by Wizards.<br>
INT and WIT can be used by anyone except Healers.<br>
MEN and WIT can be used by all Mystics.<br>
Does this make sense?<br>
<center>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SymbolMaker symbol_maker-3.htm">"Tell me more about class types."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest SymbolMaker symbol_maker.htm">Back</Button>
</center>
</body> </html>

View File

@@ -0,0 +1,12 @@
<html><body>The following classes have already completed the 1st class transfer.<br>
The Mystic class includes all wizards and healers.<br><br>
Warrior Class<br>
Warrior, Knight, Rogue, Gladiator, Paladin, Warlord, Dark Avenger, Treasure Hunter, Hawkeye, Elven Knight, Elven Scout, Temple Knight, Swordsinger, Plain Walker, Silver Ranger, Palus Knight, Assassin, Shillien Knight, Blade Dancer, Abyss Walker, Phantom Ranger, Orc Raider, Orc Monk, Destroyer, Tyrant, Scavenger, Artisan, Bounty Hunter, Warsmith, Trooper, Warder, Berserker, Soul Breaker and Arbalester.<br>
Mystic Class<br>
Wizard, Sorcerer, Necromancer, Warlock, Elven Wizard, Spellsinger, Elemental Summoner, Dark Wizard, Spellhowler and Phantom Summoner.<br>
Healer Class<br>
Cleric, Bishop, Prophet, Oracle, Elder, Shillien Oracle, Shillien Elder, Orc Shaman, Overlord, Warcryer and Inspector.<br><br>
<center>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest SymbolMaker symbol_maker.htm">Back</Button>
</center>
</body></html>

View File

@@ -0,0 +1,13 @@
<html><body>
Hello! Isn't it a beautiful day?<br>
Would you like to have a symbol made?<br1>
Have you brought dye?<br>
Symbols are not easily made!<br>
You must be certain of what you want before we begin! This is an expensive project and you cannot afford any false starts!<br>
Although expensive, if you choose well, your symbol will be a good investment for you, as valuable as an excellent sword or shield!<br>
<center>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SymbolMaker Draw">"I want to draw a symbol."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SymbolMaker Remove">"I want to erase a symbol."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SymbolMaker symbol_maker-1.htm">"Tell me more about symbols and dye."</Button>
</center>
</body> </html>