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,11 @@
<html><body>What would you like to do?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-02.htm">"I want to create a new clan."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-03.htm">"Can I raise my clan level?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-04.htm">"I want to disband my clan."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-05.htm">"I'd like to restore my clan."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_learn_clan_skills">"Can you teach me some clan skills?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-06.htm">"I want to transfer clan leader authority."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-12.htm">"I'd like to manage my Academy."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-13.htm">"I want to manage my Royal Guard."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-14.htm">"I want to manage my Order of Knights."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Enter clan name:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_create_clan $name" width=80 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body><br><br>
You are not the leader of this clan. You may not raise the level of it.
</body></html>

View File

@@ -0,0 +1,22 @@
<html><body>
The clan level can be raised. Raising clan level requires the following:<br>
Level 1 - SP : 20,000 Adena : 650,000<br>
Level 2 - SP: 100,000 / Adena: 2,500,000<br>
Level 3 - SP: 350,000 / Item: Blood Mark<br>
Level 4 - SP: 1,000,000 / Item: Alliance Manifesto<br>
Level 5 - SP: 2,500,000 / Item: Seal of Aspiration<br>
Level 6 - Clan Fame: 5,000 / Clan Member: More than 30<br>
Level 7 - Clan Fame: 10,000 / Clan Member: More than 50<br>
Level 8 - Clan Fame: 20,000 / Clan Member: More than 80<br>
Level 9 - Clan Fame: 40,000 / Clan Member: More than 120 / Item: 150 Blood Oaths<br>
Level 10 - Clan Fame: 40,000 / Clan Member: More than 140 / Item: 5 Blood Alliance<br>
Level 11 - Clan Fame: 75,000 / Clan Member: More than 170 / Must be Territory Owner<br>
You can obtain a Blood Mark by killing a Bloody Queen. They are located in Watcher's Tomb or around the Forbidden Gateway.<br>
To obtain an Alliance Manifesto, meet sir Christopher Rodemai of Giran Castle Town.<br>
To obtain a Seal of Aspiration, see Sir Gustav Athebaldt in the Town of Oren.<br>
To obtain Blood Oath, acquire a fortress and prove that the territories are being protected.<br>
To obtain the Determination of Blood, possess a castle and prove that the territories are being protected and citizens are being taken care of.<br>
<a action="bypass -h Quest Clan 9000-16.htm">How to obtain Clan Fame</a><br>
<button value="Level Up" action="bypass -h npc_%objectId%_increase_clan_level" width=80 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body><br><br>
You are not the leader of this clan. You may not dissolve it.
</body></html>

View File

@@ -0,0 +1,10 @@
<html><body>
If you apply for dissolution, the clan will be dissolved.<br>
You may cancel your application for clan dissolution within one week of applying by using Clan Restoration Request. If you cancel the application, you must wait at least 7 days before making another clan dissolution request.<br>
If you apply for clan dissolution, the clan lord will lose experience equal to the lost in one death. Following the completion of the clan dissolution, you cannot form another clan for 10 days.<br>
Please note that any items remaining in the clan warehouse at the time of clan dissolution will immediately disappear.<br>
<table width="270"><tr>
<td><button value="Dissolution" action="bypass -h npc_%objectId%_dissolve_clan" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td align="right"><button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr></table>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body><br><br>
You are not the leader of this clan. You may not recover it.
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>
If you request a restoration, your clan dissolution request will be canceled.<br>
<table width="270"><tr>
<td><button value="Restoration" action="bypass -h npc_%objectId%_recover_clan" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<td align="right"><button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr></table>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body> Select a clan member to receive the mantle of clan leader.<br>
Requests for authority transfer are usually processed every Wednesday morning. However, because the transfer process may complete sooner, consider your decision carefully before submitting a request.<br>
Once a request is processed, you cannot cancel the transfer. However, you can cancel at any time before processing.<br>
Since this process transfers all rights of the clan leader to another member, consider this action carefully before submitting a request.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-07.htm">"Help me request the transfer of clan leader authority."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-06a.htm">"I want to cancel my request for clan leader authority transfer."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Clan 9000-01.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>
Cancel the application for Clan Leader transfer. Once the Clan Leader transfer is complete, it cannot be canceled.<br>
<a action="bypass -h npc_%objectId%_cancel_clan_leader_change">Cancel application for Clan Leader transfer</a><br>
<a action="bypass -h npc_%objectId%_Quest Clan 9000-01.htm">Return</a>
</html></body>

View File

@@ -0,0 +1,3 @@
<html><body>
Your previous transfer request has been canceled.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>
Your previous transfer request has been submitted.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>
You are not a Clan Leader.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>
The application for Clan leader transfer has been submitted.
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>
Insert the name of the Clan member to commit:<br>
<edit var="name" width=120><br>
<button value="Submit" action="bypass -h npc_%objectId%_change_clan_leader $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,11 @@
<html><body> Clans Lv. 5 or above can found an Academy.<br>
You can enroll in an Academy if your main and subclasses are all below Lv. 85 and have not Awakened. If an Academy member Awakens, they automatically graduate.<br>
Up to 20 members may enroll at an Academy. The amount of Reputation a clan receives when a member graduates varies depending on the member's level upon entry.<br>
When a clan founds an Academy, its clan leader gains buffs for the benefit of the members.<br>
Academy members can use their Academy Circlets to efficiently power-up their character.<br>
The leader can appoint a clan member to sponsor an Academy member, which gives the sponsor buffs to use on the sponsored member. They're a bit weaker than the clan leader's buffs, however.<br>
In addition, sponsors can help their partners carry out Academy quests, and check their login status.<br>
Academy members can do Academy quests with their sponsors at Lv. 70. Upon success, the clan, sponsor, and Academy member are all rewarded.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-12a.htm">"I'd like to found an Academy."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-12b.htm">"I'd like to change my Academy's name."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Create Academy:<br>
Enter Academy Name:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_create_academy $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename the existing Academy:<br>
Enter new name for Academy:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge -1 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Clans Lv. 6 or above may create Royal Guards with 5,000 Clan Reputation points.<br>
You can create up to 2 Royal Guards. Each can have up to 20 clan members. A clan that reaches Lv. 11 may increase the number of its Royal Guard members with 7,500 Clan Reputation points.<br>
Upon creation of a Royal Guard, 1 Royal Guard Captain must be appointed from among the clan members. The social class of the newly-appointed Royal Guard Captain will go up.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-13a.htm">"I want to create a Royal Guard."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-01.htm">"I want to reinforce my Royal Guard. [NOT DONE]"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-13b.htm">"I want to rename my Royal Guard."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-15.htm">"I want to change Royal Guard Captains."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Clan 9000-01.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>
Create Royal Guard Unit:<br>
Enter Unit Name:<br>
<edit var="name" width=120><br>
Enter Unit Leader Name:<br>
<edit var="lname" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_create_royal $name $lname" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,3 @@
<body><html><a action="bypass -h Quest Clan 9000-13c.htm">Rename the First Royal Guard.</a><br>
<a action="bypass -h Quest Clan 9000-13d.htm">Rename the Second Royal Guard.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename First Royal Guard:<br>
Enter new name for First Royal Guard:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge 100 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename Second Royal Guard:<br>
Enter new name for Second Royal Guard:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge 200 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,10 @@
<html><body>A clan Lv. 7 or above may establish an Order of Knights with 10,000 Clan Reputation points.<br>
You can create up to 4 Orders of Knights. Each can have up to 10 clan members.<br>
A clan that reaches Lv. 9 may increase the number of members in its Orders of Knights with 5,000 Clan Reputation points. Up to Lv. 10, they can do so for 2 Orders of Knights.<br>
Upon creation of an Order of Knights, 1 Captain must be appointed from among its members. The social class of the newly-appointed Captain will go up.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-14a.htm">"I want to create an Order of Knights."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-01.htm">"I want to reinforce my Order of Knights. [not done]"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-14b.htm">"I want to change the name of my Order of Knights."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-01.htm">"I want to change Knight Captains."</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Clan 9000-01.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>
Create Order of Knights Unit:<br>
Enter Unit Name:<br>
<edit var="name" width=120><br>
Enter Unit Leader Name:<br>
<edit var="lname" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_create_knight $name $lname" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>
<a action="bypass -h Quest Clan 9000-14c.htm">Rename First Order of Knights.</a><br>
<a action="bypass -h Quest Clan 9000-14d.htm">Rename Second Order of Knights.</a><br>
<a action="bypass -h Quest Clan 9000-14e.htm">Rename Third Order of Knights.</a><br>
<a action="bypass -h Quest Clan 9000-14f.htm">Rename Fourth Order of Knights.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename first Order of Knights:<br>
Enter new name for first Order of Knights:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge 1001 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename second Order of Knights:<br>
Enter new name for second Order of Knights:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge 1002 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename third Order of Knights:<br>
Enter new name for third Order of Knights:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge 2001 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Rename fourth Order of Knights:<br>
Enter new name for fourth Order of Knights:<br>
<edit var="name" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_rename_pledge 2002 $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>
Assign new sub-unit leader:<br>
Enter unit name:<br>
<edit var="name" width=120><br>
Enter new unit leader name:<br>
<edit var="lname" width=120><br>
<button value="Enter" action="bypass -h npc_%objectId%_assign_subpl_leader $name $lname" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
</body></html>

View File

@@ -0,0 +1,22 @@
<html><body>
<font color="FF9900">[Acquiring Clan Fame]</font><br>
1. A new clan member who completes the Second Class Transfer through an academy will add from <font color="00FFFF">190 points</font> to <font color="00FFFF">650 points</font> to the clan's fame, depending on their level when joining the academy.<br>
2. If a castle is captured following a siege, <font color="00FFFF">1500 points</font> are added. (<font color="00FFFF">1500 points</font> are added even if the defenders are NPCs.)<br>
3. If a clan maintains possession of a castle for 2 consecutive weeks, <font color="00FFFF">750 points</font> are added.<br>
4. When the clan acquires a battle-type hideout, <font color="00FFFF">500 points</font> are added; if the hide-out was captured from another clan, <font color="00FFFF">500 points</font> are taken from their score.<br>
5. If a clan member maintains possession of a battle-type hideout for 2 consecutive weeks, <font color="00FFFF">250 points</font>are added.<br>
6. If a clan member is also a member of the party that wins first place in the Festival of Darkness, <font color="00FFFF">200 points</font> are added.<br>
7. If a clan member is reborn as a hero, up to <font color="00FFFF">1000 points</font> are added (depending on the number of members).<br>
8. Fame can also be increased through special clan quests.<br>
9. If your clan defeats an enemy clan member during clan war (dual declared state) or a castle siege, <font color="00FFFF">1 points</font> per clan member is added from the enemy clan.<br>
*If the other clan is below level 5 or its fame is less than 0, your clan cannot acquire its fame.<br>
10. If a fortress is captured following a siege, <font color="00FFFF">200 points</font> are added.<br>
11. If your clan demolished the ballistas inside a fortress, <font color="00FFFF">30 points</font> are added.<br>
<font color="FF9900">[Losing Clan Fame]</font><br>
1. If you fail to defend a castle or fortress in a siege, up to <font color="00FFFF">3000 points</font> can be lost.<br>
2. If you lose a battle-type hideout to another clan, up to <font color="00FFFF">1000 points</font> can be lost.<br>
3. If an allied clan member is killed by an enemy clan member during a clan war (dual declared state) or a castle siege, <font color="00FFFF">1 point</font> is lost per clan member.<br>
4. Fame points can be used to purchase items to help raise the clan's level, or to acquire clan skills.<br>
*Fame is not lost if the clan is below level 5 or its fame is less than 0.<br><br>
<a action="bypass -h Quest Clan 9000-03.htm">Back</a>
</body></html>

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 village_master.Clan;
import java.util.HashMap;
import java.util.Map;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
/**
* @author UnAfraid
*/
public final class Clan extends Quest
{
// @formatter:off
private static final int[] NPCS =
{
30026,30031,30037,30066,30070,30109,30115,30120,30154,30174,
30175,30176,30187,30191,30195,30288,30289,30290,30297,30358,
30373,30462,30474,30498,30499,30500,30503,30504,30505,30508,
30511,30512,30513,30520,30525,30565,30594,30595,30676,30677,
30681,30685,30687,30689,30694,30699,30704,30845,30847,30849,
30854,30857,30862,30865,30894,30897,30900,30905,30910,30913,
31269,31272,31276,31279,31285,31288,31314,31317,31321,31324,
31326,31328,31331,31334,31336,31755,31958,31961,31965,31968,
31974,31977,31996,32092,32093,32094,32095,32096,32097,32098,
32145,32146,32147,32150,32153,32154,32157,32158,32160,32171,
32193,32196,32199,32202,32205,32206,32209,32210,32213,32214,
32217,32218,32221,32222,32225,32226,32229,32230,32233,32234
};
// @formatter:on
private static final Map<String, String> LEADER_REQUIRED = new HashMap<>();
static
{
LEADER_REQUIRED.put("9000-03.htm", "9000-03-no.htm");
LEADER_REQUIRED.put("9000-04.htm", "9000-04-no.htm");
LEADER_REQUIRED.put("9000-05.htm", "9000-05-no.htm");
LEADER_REQUIRED.put("9000-07.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-12a.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-12b.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-13a.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-13b.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-14a.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-14b.htm", "9000-07-no.htm");
LEADER_REQUIRED.put("9000-15.htm", "9000-07-no.htm");
}
private Clan()
{
super(-1, Clan.class.getSimpleName(), "village_master");
addStartNpc(NPCS);
addTalkId(NPCS);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (LEADER_REQUIRED.containsKey(event))
{
if (!player.isClanLeader())
{
return LEADER_REQUIRED.get(event);
}
}
return event;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance talker)
{
return "9000-01.htm";
}
public static void main(String[] args)
{
new Clan();
}
}