Sync with L2JServer Jan 12th 2015.

This commit is contained in:
mobius
2015-01-13 09:50:20 +00:00
parent a868d961a3
commit 0a44ad683c
1158 changed files with 59729 additions and 58627 deletions

View File

@ -0,0 +1,5 @@
<html><body>Acateo:<br>
So you've joined the Academy! Here, this Academy Circlet will be useful to you.<br>
Don't thank me too much. Ho ho!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Acateo give_circlet">"Uh, sure?"</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Acateo:<br>
Good! Put on your Academy Circlet and take off for adventures.<br>
Now that you've joined the Academy, don't be shy about asking for help from your clan members. In fact, if you don't have a Mentor yet, ask a clan member to be one and you'll reap even greater benefits!
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Acateo:<br>
You already have an Academy Circlet, don't you?
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Acateo:<br>
Greetings friend, my name is Acateo.<br>
Pray tell, have you heard of the Academy? Please, Allow me to educate you on what we have to offer.<br>
First, characters who join the Academy receive an additional 10% XP until they graduate. Second, if you use the mentoring system while in the Academy, the number of Mentee Marks given to the mentee increases. Lastly, when academy members of level 40 or above level up, they receive additional clan fame points.<br>
Someone of your stature must appreciate what the Academy has to offer.<br>
Spread the word and direct anyone who wishes to join to me. Each person who joins the Academy receives a welcoming gift of Academy Circlets.<br>
</body></html>

View File

@ -0,0 +1,80 @@
/*
* Copyright (C) 2004-2015 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.Acateo;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
/**
* Acateo AI.
* @author Gladicek
*/
public final class Acateo extends AbstractNpcAI
{
// NPC
private static final int ACATEO = 33905;
// Item
private static final int ACADEMY_CIRCLET = 8181;
private Acateo()
{
super(Acateo.class.getSimpleName(), "ai/npc");
addStartNpc(ACATEO);
addFirstTalkId(ACATEO);
addTalkId(ACATEO);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "give_circlet":
{
if (hasQuestItems(player, ACADEMY_CIRCLET))
{
htmltext = "33905-3.html";
break;
}
giveItems(player, ACADEMY_CIRCLET, 1);
htmltext = "33905-2.html";
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
if (player.isAcademyMember())
{
return "33905-1.html";
}
return "33905.html";
}
public static void main(String[] args)
{
new Acateo();
}
}