Adventurers Guide rework.

Contributed by hlwrave.
This commit is contained in:
MobiusDev 2016-02-28 18:41:58 +00:00
parent bb7adcce76
commit 8c6906ceee
6 changed files with 412 additions and 11 deletions

224
trunk/dist/game/data/multisell/2066.xml vendored Normal file
View File

@ -0,0 +1,224 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>33950</npc> <!-- Adventure's Guide -->
<npc>32327</npc> <!-- Adventure's Guide -->
<npc>33454</npc> <!-- Adventure's Guide -->
</npcs>
<item>
<!-- Hair Accessory Appearance Stone Coupon -->
<ingredient count="1" id="37824" />
<!-- NC Dinos Hat Appearance Stone -->
<production count="1" id="37826" />
</item>
<item>
<!-- Hair Accessory Appearance Stone Coupon -->
<ingredient count="1" id="37824" />
<!-- Vigilante Hat Appearance Stone -->
<production count="1" id="37828" />
</item>
<item>
<!-- Hair Accessory Appearance Stone Coupon -->
<ingredient count="1" id="37825" />
<!-- NC Dinos Hat Appearance Stone -->
<production count="1" id="37827" />
</item>
<item>
<!-- Hair Accessory Appearance Stone Coupon -->
<ingredient count="1" id="37825" />
<!-- Vigilante Hat Appearance Stone -->
<production count="1" id="37829" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Dagger -->
<production count="1" id="37832" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: One-handed Sword -->
<production count="1" id="37833" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Two-handed Sword -->
<production count="1" id="37834" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: One-handed Blunt Weapon -->
<production count="1" id="37835" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Fist Weapon -->
<production count="1" id="37836" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Spear -->
<production count="1" id="37837" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Bow -->
<production count="1" id="37838" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Crossbow -->
<production count="1" id="37839" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: One-handed Magic Sword -->
<production count="1" id="37840" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: One-handed Magic Blunt Weapon -->
<production count="1" id="37841" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Two-handed Magic Blunt Weapon -->
<production count="1" id="37842" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Dualsword -->
<production count="1" id="37843" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Dual Dagger -->
<production count="1" id="37844" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Dual Blunt Weapon -->
<production count="1" id="37845" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Shield -->
<production count="1" id="37846" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37830" />
<!-- Valentine Appearance Stone: Sigil -->
<production count="1" id="37847" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Dagger -->
<production count="1" id="37848" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: One-handed Sword -->
<production count="1" id="37849" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Two-handed Sword -->
<production count="1" id="37850" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: One-handed Blunt Weapon -->
<production count="1" id="37851" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Fist Weapon -->
<production count="1" id="37852" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Spear -->
<production count="1" id="37853" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Bow -->
<production count="1" id="37854" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Crossbow -->
<production count="1" id="37855" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: One-handed Magic Sword -->
<production count="1" id="37856" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: One-handed Magic Blunt Weapon -->
<production count="1" id="37857" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Two-handed Magic Blunt Weapon -->
<production count="1" id="37858" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Dualsword -->
<production count="1" id="37859" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Dual Dagger -->
<production count="1" id="37860" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Dual Blunt Weapon -->
<production count="1" id="37861" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Shield -->
<production count="1" id="37862" />
</item>
<item>
<!-- Valentine Appearance Stone Coupon: Weapon -->
<ingredient count="1" id="37831" />
<!-- Valentine Appearance Stone: Sigil -->
<production count="1" id="37863" />
</item>
</list>

170
trunk/dist/game/data/multisell/902.xml vendored Normal file
View File

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>33950</npc> <!-- Adventure's Guide -->
<npc>32327</npc> <!-- Adventure's Guide -->
<npc>33454</npc> <!-- Adventure's Guide -->
</npcs>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Alligator Island -->
<production count="1" id="37025" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Outlaw Forest -->
<production count="1" id="37026" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Sea of Spores -->
<production count="1" id="37027" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Forsaken Plains -->
<production count="1" id="37028" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Fields of Massacre -->
<production count="1" id="37029" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Swamp of Screams -->
<production count="1" id="37030" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Forest of the Dead -->
<production count="1" id="37031" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Wall of Argos -->
<production count="1" id="37032" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Varka Silenos Barracks -->
<production count="1" id="37034" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Ketra Orc Outpost -->
<production count="1" id="37035" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Den of Evil -->
<production count="1" id="37036" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Sel Mahum Training Grounds -->
<production count="1" id="37037" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Plains of the Lizardmen -->
<production count="1" id="37038" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Field of Silence -->
<production count="1" id="37039" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="50" id="37045" />
<!-- Scroll of Escape: Field of Whispers -->
<production count="1" id="37040" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Soulshot (D-grade) -->
<production count="252" id="21846" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Soulshot (C-grade) -->
<production count="160" id="21847" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Soulshot (B-grade) -->
<production count="71" id="21848" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Soulshot (A-grade) -->
<production count="44" id="21849" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Soulshot (S-grade) -->
<production count="35" id="21850" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Blessed Spiritshot (D-grade) -->
<production count="162" id="21852" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Blessed Spiritshot (C-grade) -->
<production count="108" id="21853" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Blessed Spiritshot (B-grade) -->
<production count="19" id="21854" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Blessed Spiritshot (A-grade) -->
<production count="16" id="21855" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Mysterious Blessed Spiritshot (S-grade) -->
<production count="13" id="21856" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Gran Kain's Firecracker -->
<production count="10" id="13268" />
</item>
<item>
<!-- Steel Door Guild Coin -->
<ingredient count="1" id="37045" />
<!-- Gran Kain's Large Firecracker -->
<production count="5" id="13269" />
</item>
</list>

View File

@ -1,9 +1,10 @@
<html><body>Adventurers' Guide:<br> <html><body>Adventurers' Guide:<br>
Greetings, traveler! How may I be of assistance?<br> Greetings, traveler! How may I be of assistance?<br>
My job is to offer what little assistance I can as you charge into all this endless evil and intense fighting!<br> My job is to offer what little assistance I can as you charge into all this endless evil and intense fighting!<br>
Even now, the monster attacks on this village grow stronger each day; it is only due to your tireless efforts that we have remained safe this long.<br> Even now, the monster attacks on this village grow stronger each day; it is only due to your tireless efforts that we have remained safe this long.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-01.html"><font color="LEVEL">"Can I see the list of available buffs?"</font></Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-01.html"><font color="LEVEL">"Can I see the list of available buffs?"</font></Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-02.html">"Here, I have some Steel Door Guild Coins..."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide blessing_list003.html">"I'd like to exchange for a Special Appearance Stone"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 902">"Here, I have some Steel Door Guild Coins..."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide weakenBreath">"I heard you could weaken Shilen's Breath Lv.3 or above."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide 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> <Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html> </body></html>

View File

@ -1,9 +1,10 @@
<html><body>Adventurers' Guide:<br> <html><body>Adventurers' Guide:<br>
Greetings, traveler! How may I be of assistance?<br> Greetings, traveler! How may I be of assistance?<br>
My job is to offer what little assistance I can as you charge into all this endless evil and intense fighting!<br> My job is to offer what little assistance I can as you charge into all this endless evil and intense fighting!<br>
Even now, the monster attacks on this village grow stronger each day; it is only due to your tireless efforts that we have remained safe this long.<br> Even now, the monster attacks on this village grow stronger each day; it is only due to your tireless efforts that we have remained safe this long.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-01.html"><font color="LEVEL">"Can I see the list of available buffs?"</font></Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-01.html"><font color="LEVEL">"Can I see the list of available buffs?"</font></Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-02.html">"Here, I have some Steel Door Guild Coins..."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_link blessing_list003.html">"I’d like to exchange for a Special Appearance Stone"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 902">"Here, I have some Steel Door Guild Coins..."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide weakenBreath">"I heard you could weaken Shilen's Breath Lv.3 or above."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide 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> <Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html> </body></html>

View File

@ -1,8 +1,10 @@
<html><body>Apprentice Adventurers' Guide:<br> <html><body>Adventurers' Guide:<br>
You're about to start a long journey.<br> Greetings, traveler! How may I be of assistance?<br>
My job is to offer what little assistance I can as you charge into all this endless evil and intense fighting!<br> My job is to offer what little assistance I can as you charge into all this endless evil and intense fighting!<br>
Of course, I'm just an apprentice, so I can't help you as much as the full-pledged Adventurers' Guides.<br> Even now, the monster attacks on this village grow stronger each day; it is only due to your tireless efforts that we have remained safe this long.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-01.html"><font color="LEVEL">"What kinds of buffs do you have?"</font></Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide guide-01.html"><font color="LEVEL">"Can I see the list of available buffs?"</font></Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 3395001">"I have some Steel Door Guild Coins..."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_link blessing_list003.html">"I’d like to exchange for a Special Appearance Stone"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest">Quest</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 902">"Here, I have some Steel Door Guild Coins..."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest AdventurersGuide 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> </body></html>

View File

@ -16,6 +16,7 @@
*/ */
package ai.npc.AdventurersGuide; package ai.npc.AdventurersGuide;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.holders.SkillHolder; import com.l2jmobius.gameserver.model.holders.SkillHolder;
@ -25,7 +26,7 @@ import ai.npc.AbstractNpcAI;
/** /**
* Adventurers Guide AI. * Adventurers Guide AI.
* @author St3eT, Updated by Stayway, Mobius * @author St3eT, Stayway, Mobius
*/ */
final class AdventurersGuide extends AbstractNpcAI final class AdventurersGuide extends AbstractNpcAI
{ {
@ -69,6 +70,7 @@ final class AdventurersGuide extends AbstractNpcAI
switch (event) switch (event)
{ {
case "blessing_list003.html":
case "guide-01.html": case "guide-01.html":
case "guide-02.html": case "guide-02.html":
case "guide-03.html": case "guide-03.html":
@ -111,6 +113,7 @@ final class AdventurersGuide extends AbstractNpcAI
@Override @Override
public String onFirstTalk(L2Npc npc, L2PcInstance player) public String onFirstTalk(L2Npc npc, L2PcInstance player)
{ {
playSound(player, QuestSound.DIALOG_GUIDE_FOR_ADVENTURER_GREETING_1);
return npc.getId() + ".html"; return npc.getId() + ".html";
} }