diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/7064.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/7064.htm new file mode 100644 index 0000000000..6ef1b78776 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/7064.htm @@ -0,0 +1,6 @@ +Lidia's Diary:
+The eighth day of the month of Shilen.

+The comet burns brighter than ever! +I hope it's not true what they say about bad things always happening in the month of Shilen!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-02.htm new file mode 100644 index 0000000000..a6b90ab58d --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-02.htm @@ -0,0 +1,9 @@ +Lidia's Diary:
+The tenth day of the month of Shilen.

+Father's been very busy lately. +He and my brother stay up talking late into the night! +Visitors came this afternoon. +Usually, he would have offered them refreshments and small talk, but today he just escorted them directly into his den! +What's gotten into him?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-03.htm new file mode 100644 index 0000000000..478ad051f2 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-03.htm @@ -0,0 +1,8 @@ +Lidia's Diary:
+The thirteenth day of the month of Shilen.

+I met a stranger named Nidrah today! +He has a gorgeous black robe and a very impressive mustache! +Rose says he's a Dark Mage! +What's he doing here?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-04.htm new file mode 100644 index 0000000000..f20bed5392 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-04.htm @@ -0,0 +1,8 @@ +Lidia Diary:
+The twenty-second day of the month of Shilen.

+I overheard my father talking while I was serving tea to the guest.
+He was going on and on about starting a revolution! +What is he thinking?
+We lost too much in the last war, even poor Rose's only brother!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-05.htm new file mode 100644 index 0000000000..60d5edad3b --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-05.htm @@ -0,0 +1,7 @@ +Lidia Diary:
+the twenty-third day of Shilen.

+Father's spending too much time with Nidrah! +He's neglecting the territory and he's always angry! +Like he's got something to prove!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06.htm new file mode 100644 index 0000000000..d447296773 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06.htm @@ -0,0 +1,11 @@ +Lidia's Diary:
+The twenty-fourth day of Shilen.

+Rose delivered my invitation to Nidrah, and he accepted too easily!
+I was so rushed when I made the preparations! +I must've made a thousand mistakes, but he never complained once! +Was he just being nice? +Or maybe he didn't care!
+He told me that he was here on business; business having nothing to do with our family. +What is he up to?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06a.htm new file mode 100644 index 0000000000..ce11289a69 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06a.htm @@ -0,0 +1,14 @@ +Lidia's Diary:
+The thirtieth day of the month of Shilen.

+Tomorrow's the big day! +I wasn't able to talk Father out of it. +Nidrah's words just made too much sense!
+The royal authority of Rune has been tenuous for ages, and something must be done! +Brother Eilhalder said that our family's primary role is to protect Rune itself, not the royal family!
+I'm not sure I believe all that...
+Nidrah came to me this evening. +He told me that no matter what I decided, I must always show courage in terrible times. +What did he mean by that? +I've always been courageous!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06b.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06b.htm new file mode 100644 index 0000000000..140af6fc53 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-06b.htm @@ -0,0 +1,4 @@ +Lidia's Diary:
+I was betrayed!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-07.htm new file mode 100644 index 0000000000..7999a24874 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-07.htm @@ -0,0 +1,11 @@ +Lidia's Diary:
+Everyone is dead. +I was finally able to see Nidrah, by using some terrible tricks I won't divulge here! +I just had to see him! +He was my only hope! +He agreed to see me, even though he was in the middle of a ceremony! +He reminded me what he'd said before. +He said to have courage and act! +I'm sure now that the time is right!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-08.htm new file mode 100644 index 0000000000..23fd98a9b0 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-08.htm @@ -0,0 +1,17 @@ +Lidia's Diary:
+The Darkness of Abyss

+The starlight is reflected in his smile.
+He speaks of courage, but I don't know where or even who I am!
+Can a crazy person have courage? +Who knows?
+His laughter rings out, and again the word, courage. +The are other words, but they're in an otherworldly language I don't understand.
+The Dark Mage with his dark smile speaks softly to me, holding my hand in the dark night.
+Courage. +Courage. +Courage. +Nothing else matters.
+My ceremony is still going on! +What brings you here so late?
+"I'm here to ask you for a favor." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-09.htm new file mode 100644 index 0000000000..85f0685d22 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-09.htm @@ -0,0 +1,5 @@ +Lidia's Diary:
+He laughed and said that we'd all been deceived, and there was nothing he could do! +I was late for my ceremony.
+Please help me! + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-10.htm new file mode 100644 index 0000000000..11b84b2602 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-10.htm @@ -0,0 +1,11 @@ +Lidia's Diary:
+I don't know why I'm here! +He seems to know every one of my deepest secrets! +He asked me what I wasn't willing to give up. +I was honest with him, but I can't remember what I said. +Whatever it was, I lost it! +Did that really happen? +He claims I imagined it all! +He accuses me of betraying my family, my life, my god and even natural law!
+"I don't know about all that!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-11.htm new file mode 100644 index 0000000000..a41e94c164 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-11.htm @@ -0,0 +1,6 @@ +Lidia Diary:
+I'll never understand him if I live a thousand years! +One moment he's oblivious and forlorn and the next perfectly content! +He asked me again...
+"What do you want more than anything in the world?" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-12.htm new file mode 100644 index 0000000000..480930062e --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-12.htm @@ -0,0 +1,4 @@ +Lidia's Diary:
+[Illegible scribblings and scratches]
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-13.htm new file mode 100644 index 0000000000..7a3249c3d0 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-13.htm @@ -0,0 +1,15 @@ +Lidia's Diary:
+[A different handwriting]
+I don't understand! +Obviously I did it, but without knowing! +I look in the mirror and her face looks back at me, but there is no mirror! +Only an image. +I don't understand any of this! +Where are my memories? +They seem to be there, but unaccessible! +He must have done something to me!
+Everything that happens is recorded but forgotten! +Both regret and satisfaction are the result. +The Moon Face Flower on your hairpin will seal this Contract.
+I swear this by my ancient, long-forgotten name! + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-14.htm new file mode 100644 index 0000000000..f57e90e25c --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-14.htm @@ -0,0 +1,5 @@ +Lidia's Diary:

+A scroll full of nervous scribbling
+tattered and torn
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-15.htm new file mode 100644 index 0000000000..56d74b4554 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-15.htm @@ -0,0 +1,27 @@ +Lidia's Diary:
+.......................................................................................she's dead. +I'm here alone and she is dead. +Who is she? +I'm here. +Who am I? +She's in the castle. +Who is she? +We had a deal. +What deal? +Who is he? +I said I would it. +Do what? +I lost it. +Lost what? +I got it. +Got what? +Turn the page. +Who is he?
+I said I would do it. +Do what? +I lost it. +What? +I got it. +Got what?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-16.htm new file mode 100644 index 0000000000..0295fb897c --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/lidias_diary/7064-16.htm @@ -0,0 +1,3 @@ +Lidia's Diary:
+Return to the beginning + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-1.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-1.htm new file mode 100644 index 0000000000..dd8a97cb63 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-1.htm @@ -0,0 +1,8 @@ +Research Log:
+Period 3 May
+What miserable weather! Why is it still so cold?
+It's been a month since I left those disgusting Dwarves. The unbelievable hardship I've seen since then has been devastating.
+I made my way to a gigantic, ancient Research Lab. Thousands of dead Golems strewn about.
+I managed to squeeze through a little crack in the east wall of the building. At least it blocks the wind...
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-2.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-2.htm new file mode 100644 index 0000000000..8d1dad499a --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-2.htm @@ -0,0 +1,8 @@ +Research Log:
+Period 3 June
+I was able to seal the crack in the wall to keep out the cold. Of course, if I sealed it permanently, I couldn't get back out, so I fashioned a sort of door.
+Leave it to me, the genius maestro, Chaos, to come up with a solution! Bwa ha ha!
+I think I could really get comfortable here! The plants are incredible!
+I should at least stay here until the weather warms up!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-3.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-3.htm new file mode 100644 index 0000000000..48467fd4a1 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-3.htm @@ -0,0 +1,9 @@ +Research Log:
+Period 3 August
+I found a very strange Golem while scavenging for fuel today.
+This Golem seemed strangely familiar, and was quite different from the Gatekeeper.
+I think this Golem was... ...a mechanical pet, what was its name, that giant...
+I'll disassemble it later.
+I just can't get its damned face out of my mind!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-4.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-4.htm new file mode 100644 index 0000000000..fc7b6ea8ac --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-4.htm @@ -0,0 +1,6 @@ +Research Report:
+Period 3 August
+I disassembled the Gatekeeper-type Golem. My suspicions were correct... It was the prototype that Toma created in his teleportation experiments! If I follow the blueprint from his lab I should be able to make it work.
+I'll scavenge any parts I need from those dead Golems. I can improvise anything else I need!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-5.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-5.htm new file mode 100644 index 0000000000..ba7086ca91 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-5.htm @@ -0,0 +1,7 @@ +Research Log:
+Period 3 October
+I've finally gotten it to output some energy, but it just won't work properly.
+I theorized that the tower in the middle of the room was some sort of control device. I connected the Golem to the tower and it immediately began to output some strange sort of data. W.D.L.? Could this be some sort of recognition code?
+...... It seems strangely familiar to me. That old fart Tarziph told me how to operate Titan technology.... Should I try it?
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-6.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-6.htm new file mode 100644 index 0000000000..3afb072093 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-6.htm @@ -0,0 +1,9 @@ +Research Log:
+Period 4 February
+I heard an infernal racket outside today, and sent out a Probe Golem to investigate... It was those disgusting Dwarves again!
+I'll wager those adena-grubbing dogs are drooling all over the Northern Mine. If it's not one thing it's another!
+Of course the worst of the Dwarves haven't shown up yet, but...
+Not only the Gray Pillar, but the Collectors and the Bronze Key are here! I heard some Dwarves knocking on the walls trying to find a way in...
+It's only a matter of time until I'm discovered.
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-7.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-7.htm new file mode 100644 index 0000000000..410c0c1715 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-7.htm @@ -0,0 +1,9 @@ +Research:
+Period 4 February
+If it's true that these ruins were left by the giants, they must have some defenses built in!
+Wendy's password activated the power in the Research Lab!
+No one but a genius like me would have figured that out!
+Oh, the energy, the awesome energy! All three towers burst into life, and the defense system engaged!
+You stupid Dwarves, I'll teach you to kick me out! Behold the Ultimate Golem Spartacus!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-8.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-8.htm new file mode 100644 index 0000000000..b67e41fcd6 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/html/help/research_report/8059-8.htm @@ -0,0 +1,8 @@ +Research Log:
+The Dwarves are gone at last! The Ultimate Golem is triumphant!
+I only wish I could control it! Does it dare defy me, just because I'm not a giant? What nerve! No one treats the great Dr. Chaos like this!
+I will tame you, Golem!
+But there are more urgent matters...
+There was a terrible explosion in the north wing today! I'm afraid it was a power overload. I didn't touch anything.
+I must devise a Golem to keep this place under control! I don't have time to deal with Spartacus now... I'll have to start with Wendy... + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/multisell/648.xml b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/multisell/648.xml new file mode 100644 index 0000000000..a8eebfec8c --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/multisell/648.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/ai/others/Bingo.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/ai/others/Bingo.java deleted file mode 100644 index bd4fda6753..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/ai/others/Bingo.java +++ /dev/null @@ -1,182 +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 . - */ -package ai.others; - -import java.util.ArrayList; -import java.util.List; - -import org.l2jmobius.commons.util.Rnd; - -/** - * Adapted from FirstTeam Interlude - */ -public class Bingo -{ - protected static final String TEMPLATE = "%msg%

%choices%

%board%"; - protected static final String TEMPLATE_FINAL = "%msg%

%board%"; - protected static final String TEMPLATE_BOARD = "For your information, below is your current selection.
%cell1%%cell2%%cell3%
%cell4%%cell5%%cell6%
%cell7%%cell8%%cell9%
"; - protected static final String MSG_AGAIN = "You have already selected that number. Choose your %choicenum% number again."; - protected static final String MSG_BEGIN = "I've arranged 9 numbers on the panel.
Now, select your %choicenum% number."; - protected static final String MSG_NEXT = "Now, choose your %choicenum% number."; - protected static final String MSG_ZERO_LINES = "You are spectacularly unlucky! The red-colored numbers on the panel below are the ones you chose. As you can see, they didn't create even a single line. Did you know that it is harder not to create a single line than creating all 3 lines?"; - protected static final String MSG_THREE_LINES = "You've created 3 lines! The red colored numbers on the bingo panel below are the numbers you chose. Congratulations!"; - protected static final String MSG_LOSE = "Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose."; - protected static final String[] NUMBERS = - { - "first", - "second", - "third", - "fourth", - "fifth", - "final" - }; - - private final String _template_choice; - private final List board; - private final List guesses; - protected int lines; - - public Bingo(String templateChoice) - { - board = new ArrayList<>(); - guesses = new ArrayList<>(); - _template_choice = templateChoice; - while (board.size() < 9) - { - final int num = Rnd.get(1, 9); - if (!board.contains(num)) - { - board.add(num); - } - } - } - - public String Select(String s) - { - try - { - return Select(Integer.parseInt(s)); - } - catch (Exception E) - { - return null; - } - } - - public String Select(int choise) - { - if ((choise < 1) || (choise > 9)) - { - return null; - } - if (guesses.contains(choise)) - { - return getDialog("You have already selected that number. Choose your %choicenum% number again."); - } - guesses.add(choise); - if (guesses.size() == 6) - { - return getFinal(); - } - return getDialog(""); - } - - protected String getBoard() - { - if (guesses.isEmpty()) - { - return ""; - } - String result = "For your information, below is your current selection.
%cell1%%cell2%%cell3%
%cell4%%cell5%%cell6%
%cell7%%cell8%%cell9%
"; - for (int i = 1; i <= 9; ++i) - { - final String cell = "%cell" + i + "%"; - final int num = board.get(i - 1); - if (guesses.contains(num)) - { - result = result.replaceFirst(cell, "" + num + ""); - } - else - { - result = result.replaceFirst(cell, "?"); - } - } - return result; - } - - public String getDialog(String msg) - { - String result = "%msg%

%choices%

%board%"; - if (guesses.isEmpty()) - { - result = result.replaceFirst("%msg%", "I've arranged 9 numbers on the panel.
Now, select your %choicenum% number."); - } - else - { - result = result.replaceFirst("%msg%", "".equalsIgnoreCase(msg) ? "Now, choose your %choicenum% number." : msg); - } - result = result.replaceFirst("%choicenum%", Bingo.NUMBERS[guesses.size()]); - final StringBuilder choices = new StringBuilder(); - for (int i = 1; i <= 9; ++i) - { - if (!guesses.contains(i)) - { - choices.append(_template_choice.replace("%n%", String.valueOf(i))); - } - } - result = result.replaceFirst("%choices%", choices.toString()); - result = result.replaceFirst("%board%", getBoard()); - return result; - } - - protected String getFinal() - { - String result = "%msg%

%board%".replaceFirst("%board%", getBoard()); - calcLines(); - switch (lines) - { - case 3: - result = result.replaceFirst("%msg%", "You've created 3 lines! The red colored numbers on the bingo panel below are the numbers you chose. Congratulations!"); - break; - case 0: - result = result.replaceFirst("%msg%", "You are spectacularly unlucky! The red-colored numbers on the panel below are the ones you chose. As you can see, they didn't create even a single line. Did you know that it is harder not to create a single line than creating all 3 lines?"); - break; - default: - result = result.replaceFirst("%msg%", "Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose."); - break; - } - return result; - } - - public int calcLines() - { - lines = 0; - lines += (checkLine(0, 1, 2) ? 1 : 0); - lines += (checkLine(3, 4, 5) ? 1 : 0); - lines += (checkLine(6, 7, 8) ? 1 : 0); - lines += (checkLine(0, 3, 6) ? 1 : 0); - lines += (checkLine(1, 4, 7) ? 1 : 0); - lines += (checkLine(2, 5, 8) ? 1 : 0); - lines += (checkLine(0, 4, 8) ? 1 : 0); - return lines += (checkLine(2, 4, 6) ? 1 : 0); - } - - public boolean checkLine(int idx1, int idx2, int idx3) - { - return guesses.contains(board.get(idx1)) && guesses.contains(board.get(idx2)) && guesses.contains(board.get(idx3)); - } -} diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm index e25be12f4b..dfa46c3a95 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm @@ -1,4 +1,4 @@ Centurion Nakusin:
Dekara Lamchar Kakai! Kakai, the Pa'agrio Lord, has not been well recently. The tribal elders have decided that each tribe should offer him something that is good for his health . Meet the representatives of each tribe and bring back their gifts! Can you do it?
-Say you will do it +Say you will do it \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm index fcf1ff7c55..c51ff2773a 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm @@ -1,4 +1,4 @@ Centurion Nakusin:
Meet the representatives of each tribe and bring back their gifts! Don't tell me that you have forgotten what your task is?
-Say you forgot +Say you forgot \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java index 5adbef100d..ab622fdc27 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java @@ -28,6 +28,7 @@ import org.l2jmobius.gameserver.model.quest.State; public class Q004_LongliveThePaagrioLord extends Quest { + private static final int NAKUSIN = 30578; private static final Map NPC_GIFTS = new HashMap<>(); static { @@ -99,7 +100,8 @@ public class Q004_LongliveThePaagrioLord extends Quest case State.STARTED: final int cond = st.getInt("cond"); final int npcId = npc.getNpcId(); - if (npcId == 30578) + + if (npcId == NAKUSIN) { if (cond == 1) { @@ -123,12 +125,13 @@ public class Q004_LongliveThePaagrioLord extends Quest final int i = NPC_GIFTS.get(npcId); if (st.hasQuestItems(i)) { - htmltext = npcId + "-02.htm"; + htmltext = "30585-02.htm"; } else { st.giveItems(i, 1); - htmltext = npcId + "-01.htm"; + htmltext = "30585-01.htm"; + int count = 0; for (int item : NPC_GIFTS.values()) { diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm index 52a7757010..c055e2dd06 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm @@ -1,4 +1,4 @@ Innocentin:
-Take this crucifix to Magister Tifaren and ask her to perform necromancy. She -tends to be quite wary of strangers, so you may need to prove your sincerity -to her. Keep trying, she'll come around. \ No newline at end of file +Come on in! Did he tell you anything?
+"Well, he said..." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm index 7d4299a015..fbc54de886 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm @@ -1,4 +1,7 @@ -Innocentin:
-Come on in! Did he tell you anything?
-"Well, he said..." +Innocentin
+I see.. Lidia von Hellmann was lord of the Forest of the Dead! She was Alfred's daughter, a survivor of the tragedy of Hellmann Forest... Thank you.
+Thanks to you, we know that his death wasn't in vain...
+I will treasure this crucifix always!
+Hmm..? Was there something else?
+"Who's behind all of this?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm index f261944e89..20805c27fa 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm @@ -1,7 +1,4 @@ -Innocentin
-I see.. Lidia von Hellmann was lord of the Forest of the Dead! She was Alfred's daughter, a survivor of the tragedy of Hellmann Forest...Thank you.
-Thanks to you, we know that his death wasn't in vain...
-I will treasure this crucifix always!
-Hmm..? Was there something else?
-"Who's behind all of this?" +Innocentin:
+Do you want to ask me something?
+"Who is behind the tragedy?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-05.htm new file mode 100644 index 0000000000..476c7c3652 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-05.htm @@ -0,0 +1,6 @@ +Innocentin:
+Who's behind the tragedy? Well, there are several theories, I'm sure you've heard them all!
+Why don't I tell you one you probably haven't heard...
+Alfred von Hellmann and I were very close friends and he shared with me the terrible dissatisfaction he had in his heart...
+"I heard that he didn't intentionally become a traitor." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm index 8fe6bd1d7b..140f7dda4c 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm @@ -1,6 +1,4 @@ Innocentin:
-Who's behind the tragedy? Well, there are several theories, I'm sure you've heard them all!
-Why don't I tell you one you probably haven't heard...
-Alfred von Hellmann and I were very close friends and he shared with me the terrible dissatisfaction he had in his heart...
-"I heard that he didn't intentionally become a traitor." +Exactly! He only meant to encourage the lame duck king! He never even considered treason until his meeting with a mystic in the forest! Around that time I hired a treasure hunter to find out exactly what was going on with Alfred... That didn't go well at all!
+"What happened?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm index 54048b57ee..eb26854d4a 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm @@ -1,4 +1,6 @@ Innocentin:
-Exactly! He only meant to encourage the lame duck king! He never even considered treason until his meeting with a mystic in the forest! Around that time I hired a treasure hunter to find out exactly what was going on with Alfred... That didn't go well at all!
-"What happened?" +He was accused of worshipping the devil! His secretive nature, along with the sensitivity of the mission, led to his downfall.
+I was occupied elsewhere and couldn't protect him...
+He was charged, convicted and executed on the square of Rune Castle! The evidence he had gathered for me was thrown into a deserted well.

+"Tell me more!" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm index da2fb458a6..378538a499 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm @@ -1,6 +1,6 @@ Innocentin:
-He was accused of worshipping the devil! His secretive nature, along with the sensitivity of the mission, led to his downfall.
-I was occupied elsewhere and couldn't protect him...
-He was charged, convicted and executed on the square of Rune Castle! The evidence he had gathered for me was thrown into a deserted well.
-"Tell me more!" +It's said that his ghost visits that well every night.
+I'd always believed that all ghosts were evil, but after my experiences with necromancy, the realm of the gods is denied to me. I must find out what actually happened!
+Would you meet with him and ask him what he found out?
+"I'll do it." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm index 83c7c2d492..1e23671eeb 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm @@ -1,6 +1,3 @@ Innocentin:
-It's said that his ghost visits that well every night.
-I'd always believed that all ghosts were evil, but after my experiences with necromancy, the realm of the gods is denied to me. I must find out what actually happened!
-Would you meet with him and ask him what he found out?
-"I'll do it." +You'll find the well in the northwest part of the village. Show the ghost the letter and he'll grant your request. \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09a.htm new file mode 100644 index 0000000000..a3d3014e7e --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09a.htm @@ -0,0 +1,4 @@ +Innocentin:
+The ghost of the treasure hunter is said to appear around the well in the northwest part of the village.
+Take the letter to him and come back to me with his reply. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm index 1e23671eeb..8b948a7567 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm @@ -1,3 +1,4 @@ Innocentin:
-You'll find the well in the northwest part of the village. Show the ghost the letter and he'll grant your request. +Oh, you're back? Did you bring any news?
+"Check out this box." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm index 55f3a6b2e1..3f4382627c 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm @@ -1,4 +1,7 @@ Innocentin:
-The ghost of the treasure hunter is said to appear around the well in the northwest part of the village.
-Take the letter to him and come back to me with his reply. +Indeed! Is this the box he told you about?
+He told me once, in case something happened to him, he would store all his most important documents in a box! Hmm...
+I can't help but think... Perhaps it's fortunate that I left the temple and came here! Ah... but that's not important...
+Now give me the box!
+I must open it carefully and see what it holds. Why don't you come back a little later? \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm index 619bedba42..516d3e42dc 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm @@ -1,4 +1,4 @@ Innocentin:
-Oh, you're back? Did you bring any news?
-"Check out this box." +It's the report of the Mystic Neidrahu, the instigator of the insurrection! Do you care to read it?
+"Yes!" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm index 3f4382627c..34636b2f8d 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm @@ -1,7 +1,5 @@ -Innocentin:
-Indeed! Is this the box he told you about?
-He told me once, in case something happened to him, he would store all his most important documents in a box! Hmm...
-I can't help but think... Perhaps it's fortunate that I left the temple and came here! Ah... but that's not important...
-Now give me the box!
-I must open it carefully and see what it holds. Why don't you come back a little later? +
+Regarding Neidrahu
+"... No one knows for sure how deeply Alfred von Hellmann was influenced by his magic, for his eloquence was certainly equal to his magic ability. Alfred wasn't the only one swayed by his words. Neidrahu called himself a messenger, and personally gathered many supporters for the insurrection."
+Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm index 15f6af4b9d..3af6af8474 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm @@ -1,4 +1,5 @@ -Innocentin:
-It's the report of the Mystic Neidrahu, the instigator of the insurrection! Do you care to read it?
-"Yes!" + +"Nidrah's preaching persuaded his followers of the awesome power of the dark arts. He often spoke of a powerful magus known as a devil, who practiced magic in Gludio. He convinced them that his own power was equal to the devil's!
+Information regarding Beleth, Black Magus and the pastoral history of the wasteland of Gludio was all available at the main library. Although many were suspicious of his claims, eventually they believed him."
+Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm index 4ffc4cf547..5d20c44b22 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm @@ -1,5 +1,5 @@ -
-Regarding Neidrahu
-"... No one knows for sure how deeply Alfred von Hellmann was influenced by his magic, for his eloquence was certainly equal to his magic ability. Alfred wasn't the only one swayed by his words. Neidrahu called himself a messenger, and personally gathered many supporters for the insurrection."
-Turn the page + +"This was to be his greatest accomplishment! The army of undead that he conjured played a pivotal role in the tragedy that occurred in the Hellmann Forest, but the outcome wasn't as he expected...
+Before his army was ready, the King learned of the Hellmann family's treason. In a fit of rage, and without any consultations, the King mobilized an occupation force and marched on the Hellmann Forest."
+Next Page \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm index 616e2e8408..58b45d65b5 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm @@ -1,4 +1,4 @@ -"Nidrah's preaching persuaded his followers of the awesome power of the dark arts. He often spoke of a powerful magus known as a devil, who practiced magic in Gludio. He convinced them that his own power was equal to the devil's!
-Information regarding Beleth, Black Magus and the pastoral history of the wasteland of Gludio was all available at the main library. Although many were suspicious of his claims, eventually they believed him."
+ +"The supporters of the von Hellmann family fought bravely, but their lack of organization was their undoing. As the King's army approached, the family finally realized that they had failed. By then, most of their sympathizers had been beheaded or taken prisoner by the King's army. The von Hellmanns were very powerful, but their treasonous behavior caused them to fall into disgrace and to be renounced by the royal family. The fall was especially painful to Alfred, who, as patriarch, had to watch as his vassals and then his family were tortured and beheaded, before he ascended the scaffold himself.
Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm index c602593773..b6b8e16d83 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm @@ -1,4 +1,5 @@ -"This was to be his greatest accomplishment! The army of undead that he conjured played a pivotal role in the tragedy that occurred in the Hellmann Forest, but the outcome wasn't as he expected...
-Before his army was ready, the King learned of the Hellmann family's treason. In a fit of rage, and without any consultations, the King mobilized an occupation force and marched on the Hellmann Forest."
-Next Page + +"It was then that Nidrah's magic sprang into action! At dusk, as the King's army took inventory of the treasures of the Hellmann family, a huge army of undead fighters rushed the castle!
+They were the souls of the executed vassals, led by Alfred's children Lidia and Eilhalder von Hellmann! All were under the control of Nidrah."

+Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm index 93dca4b3a1..835d3cb8d7 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm @@ -1,3 +1,5 @@ -"The supporters of the von Hellmann family fought bravely, but their lack of organization was their undoing. As the King's army approached, the family finally realized that they had failed. By then, most of their sympathizers had been beheaded or taken prisoner by the King's army. The von Hellmanns were very powerful, but their treasonous behavior caused them to fall into disgrace and to be renounced by the royal family. The fall was especially painful to Alfred, who, as patriarch, had to watch as his vassals and then his family were tortured and beheaded, before he ascended the scaffold himself. ..."
-Turn the page + +"What happened next was a repeat of the events of the war with Beleth. Those killed by an undead were resurrected and enlisted in Lidia's force. The higher-level vassals of the Hellmann family became vampires, or high level undead. They possessed indescribable power!
+It seemed the battle was over, until..."
+Next Page \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm index 2a8cb7f4d3..ed2343b6d6 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm @@ -1,4 +1,5 @@ -"It was then that Nidrah's magic sprang into action! At dusk, as the King's army took inventory of the treasures of the Hellmann family, a huge army of undead fighters rushed the castle!
- They were the souls of the executed vassals, led by Alfred's children Lidia and Eilhalder von Hellmann! All were under the control of Nidrah."

-Turn the page + +"I had my doubts about Lidia. If she was resurrected, how did she become Lord of the Forest of the Dead? Why not Alfred?
+I think she conspired with Nidrah! I'll investigate this further."
+Hmm... \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm index f79953bf9d..d31e0504f2 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm @@ -1,4 +1,4 @@ -"What happened next was a repeat of the events of the war with Beleth. Those killed by an undead were resurrected and enlisted in Lidia's force. The higher-level vassals of the Hellmann family became vampires, or high level undeads. They possessed indescribable power!
-It seemed the battle was over, until..."
-Next Page +Innocentin:
+Did you finish it? It's the true account of the terrible tragedy that occurred in Hellmann Forest... But it doesn't answer all of my questions... Would you do something for me?
+I'm afraid it won't be easy, and you look very tired! Why don't you take a break and come back when you're refreshed. \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm index e070ba1173..05ee38b2a0 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm @@ -1,4 +1,5 @@ -"I had my doubts about Lidia. If she was resurrected, how did she become Lord of the Forest of the Dead? Why not Alfred?
-I think she conspired with Nidrah! I'll investigate this further."
-Hmm... +Innocentin:
+Did you finish it? It's the true account of the terrible tragedy that occurred in Hellmann Forest... But it doesn't answer all of my questions... Would you do something for me?
+I'm afraid it won't be easy, and you look very tired! Why don't you take a break and come back later when you're refreshed and have had a little more training.
+(The Heart of Lidia quest may only be undertaken by a character of level 64 or above.) \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm index 3d3bbd8ea4..bf8e5b0735 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm @@ -1,4 +1,4 @@ Grand Magister Tifaren:
What's your business here?
-"I need the necromantic rite of communion performed." +"I need the necromantic rite of communion performed." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm index cdb2f4aab9..61ac8decaf 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm @@ -1,2 +1,3 @@ Well:
-Be prepared to fight the spirit from the well! \ No newline at end of file +Be prepared to fight the spirit from the well! + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm index 737e6d379e..20e5a8f4f4 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm @@ -1,2 +1,3 @@ Well:
-The box inside the well is within your reach. \ No newline at end of file +The box inside the well is within your reach. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm index d7bf140f73..21a0420dd2 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm @@ -1,4 +1,4 @@ Ghost of Priest:
I'm not sure... It's all so foggy. Why am I here?
-"I used necromancy." +"I used necromancy." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm index 4a1bdca070..5056cd4f39 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm @@ -1,4 +1,4 @@ Ghost of Priest:
-Why would you use necromancy to talk to me?
-"To find out what happened in the Forest of the Dead." +....................
+(Points to Tifaren.) \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm index 00449fbfc9..1a7c8937c8 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm @@ -1,4 +1,4 @@ Ghost of Priest:
You must mean Lidia von Hellmann, she was the only survivor of the tragedy here.
"What tragedy?" - \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm index 47f9f32366..4aa25069a2 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
This is from High Priest Innocentin? He wants me to work even when I'm dead? Einhasad Temple must be worse off than I thought.
Well, I don't have anything else to do, so what do you want to know?
-"I want to know about the Mage of the dark arts." +"I want to know about the Mage of the dark arts." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03a.htm new file mode 100644 index 0000000000..296b88c536 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03a.htm @@ -0,0 +1,5 @@ +Ghost of Adventurer:
+This is from the Priest of the Earth? He wants me to work even when I'm dead? Einhasad Temple must be worse off than I thought.
+Well, I don't have anything else to do, so what do you want to know?
+"I want to know about the Mage of the dark arts." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm index 0d8c64cb1a..bea2d29750 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
-This is from the Priest of the Earth? He wants me to work even when I'm dead? Einhasad Temple must be worse off than I thought.
-Well, I don't have anything else to do, so what do you want to know?
-"I want to know about the Mage of the dark arts." +His name is Neid, short for Nidrah.
+I can't rest in peace until I find him.
+"Tell me about him." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm index 28c3e45082..21510b0369 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
-His name is Neid, short for Nidrah.
-I can't rest in peace until I find him.
-"Tell me about him." +The shock of decapitation has dulled my memory, so I don't remember him well, and his disciples burned all the records.
+I think I remember why I'm here.
+"Why?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm index 7915d4f626..4e952fc22f 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
-The shock of decapitation has dulled my memory, so I don't remember him well, and his disciples burned all the records.
-I think I remember why I'm here.
-"Why?" +I remember now! I hid the book about him in this well.
+The heads of those accused of following demons were thrown into it. If you enter the well, they'll attack you!
+"Is there no other way?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm index 1602c51e69..97f3d86747 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm @@ -1,5 +1,4 @@ Ghost of Adventurer:
-I remember now! I hid the book about him in this well.
-The heads of those accused of following demons were thrown into it. If you enter the well, they'll attack you!
-"Is there no other way?" +Of course! We just came up with another way.
+"What is it?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm index 77b5904575..a9cc52fc95 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm @@ -1,4 +1,8 @@ Ghost of Adventurer:
-Of course! We just came up with another way.
-"What is it?" +They aren't very smart! They'll attack if you touch the well.
+All you have to do is fight them.
+While you're fighting, I'll lift up the gate of the well.
+You can back out if you want to...
+"I'll do it!"
+"I quit." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm index 2f282d2950..a132e7c658 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm @@ -1,8 +1,3 @@ Ghost of Adventurer:
-They aren't very smart! They'll attack if you touch the well.
-All you have to do is fight them.
-While you're fighting, I'll lift up the gate of the well.
-You can back out if you want to...
-"I'll do it!"
-"I quit." +It's your loss, not mine. \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm index dca5a4f367..d1eb6864e4 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm @@ -1,2 +1,8 @@ Ghost of Adventurer:
-It's your loss, not mine. \ No newline at end of file +They aren't very smart! They'll attack if you touch the well.
+All you have to do is fight them.
+While you're fighting, I'll lift up the gate of the well.
+You can back out if you want to...
+"I'll do it!"
+"I don't want to do it." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-11.htm new file mode 100644 index 0000000000..9d4abdf298 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-11.htm @@ -0,0 +1,8 @@ +Ghost of Adventurer:
+Ok. Then, let's talk about the method. First, take this jewelry. If you hit the well, the spirits will come out.
+While you are fighting with the spirits, I will break the seal of the hidden report in the well
+Just, don't kill the spirit while I'm working. Because they will come back to the well if they die.
+If I break the seal, the color of the jewelry will change. After that, you can kill the spirit or do whatever you want. You got it?
+"I am not sure"
+"I see" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm index f9fe33c8e3..f7d3085a4a 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm @@ -1,8 +1,8 @@ Ghost of Adventurer:
-Ok. Then, let's talk about the method. First, take this jewelry. If you hit the well, the spirits will come out.
-While you are fighting with the spirits, I will break the seal of the hidden report in the well.
+If you hit the well, the spirits will come out.
+While you are fighting with the spirits, I will break the seal of the hidden report in the well
Just, don't kill the spirit while I'm working. Because they will come back to the well if they die.
If I break the seal, the color of the jewelry will change. After that, you can kill the spirit or do whatever you want. You got it?
-"I am not sure"
-"I see" +"I am not sure"
+"I see" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13.htm new file mode 100644 index 0000000000..59331f3c77 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13.htm @@ -0,0 +1,5 @@ +Ghost of Adventurer:
+What don't you get?
+Fight with them, don't kill them. When the jewelry changes color, find me.
+Don't kill the spirits before the jewelry changes color! + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13a.htm new file mode 100644 index 0000000000..27b90a54ce --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13a.htm @@ -0,0 +1,3 @@ +Ghost of Adventurer:
+OK! Go ahead! + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm index 59331f3c77..b81d0c45c6 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm @@ -1,5 +1,4 @@ Ghost of Adventurer:
-What don't you get?
-Fight with them, don't kill them. When the jewelry changes color, find me.
-Don't kill the spirits before the jewelry changes color! +Hey, why don't you do a good job? You can't just hit once and then run away like a child! Real work isn't easy!
+You must call the soul by beating the well, fight until the jewil changes color, and then investigate the will! Is that clear? \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm index 27b90a54ce..6f7e787ab9 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm @@ -1,3 +1,3 @@ Ghost of Adventurer:
-OK! Go ahead! +The report is at the gate of the well. Since I'm a ghost, you'll have to get it. \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm index ab40940eb9..2e511faf22 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm @@ -1,4 +1,3 @@ Ghost of Adventurer:
-Don't hit them and run away, and don't kill them too quickly!
-Lure the spirits out by hitting the well and fight them until the jewelry changes color. Then we'll investigate. +This is it! I'll break the first seal. Give it to Innocentin, only he can finish opening the lock. Until we meet again! \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm index 6f7e787ab9..9f04e88509 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm @@ -1,3 +1,3 @@ Ghost of Adventurer:
-The report is at the gate of the well. Since I'm a ghost, you'll have to get it. +This is my life's work! Quickly, find Innocentin! \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java index 607faf764c..2f31ba52e2 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java @@ -16,179 +16,322 @@ */ package quests.Q022_TragedyInVonHellmannForest; +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.Rnd; import org.l2jmobius.gameserver.ai.CtrlIntention; -import org.l2jmobius.gameserver.model.actor.Attackable; +import org.l2jmobius.gameserver.model.Location; import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.QuestTimer; import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.util.Util; import quests.Q021_HiddenTruth.Q021_HiddenTruth; public class Q022_TragedyInVonHellmannForest extends Quest { // NPCs - private static final int WELL = 31527; - private static final int TIFAREN = 31334; private static final int INNOCENTIN = 31328; + private static final int TIFAREN = 31334; + private static final int WELL = 31527; private static final int GHOST_OF_PRIEST = 31528; private static final int GHOST_OF_ADVENTURER = 31529; - + // Mobs + private static final int[] MOBS = + { + 21553, // Trampled Man + 21554, // Trampled Man + 21555, // Slaughter Executioner + 21556, // Slaughter Executioner + 21561, // Sacrificed Man + }; + private static final int SOUL_OF_WELL = 27217; // Items private static final int CROSS_OF_EINHASAD = 7141; private static final int LOST_SKULL_OF_ELF = 7142; private static final int LETTER_OF_INNOCENTIN = 7143; - private static final int GREEN_JEWEL_OF_ADVENTURER = 7144; - private static final int RED_JEWEL_OF_ADVENTURER = 7145; + private static final int JEWEL_OF_ADVENTURER_1 = 7144; + private static final int JEWEL_OF_ADVENTURER_2 = 7145; private static final int SEALED_REPORT_BOX = 7146; private static final int REPORT_BOX = 7147; - - // Monsters - private static final int SOUL_OF_WELL = 27217; - - private NpcInstance _ghostOfPriestInstance = null; - private NpcInstance _soulOfWellInstance = null; + // Misc + private static final int MIN_LEVEL = 63; + private static final Location PRIEST_LOC = new Location(38354, -49777, -1128); + private static final Location SOUL_WELL_LOC = new Location(34706, -54590, -2054); + private static int _tifarenOwner = 0; + private static NpcInstance _soulWellNpc = null; public Q022_TragedyInVonHellmannForest() { super(22, "Tragedy in von Hellmann Forest"); - registerQuestItems(LOST_SKULL_OF_ELF, REPORT_BOX, SEALED_REPORT_BOX, LETTER_OF_INNOCENTIN, RED_JEWEL_OF_ADVENTURER, GREEN_JEWEL_OF_ADVENTURER); - - addStartNpc(TIFAREN, INNOCENTIN); - addTalkId(INNOCENTIN, TIFAREN, GHOST_OF_PRIEST, GHOST_OF_ADVENTURER, WELL); - + addKillId(MOBS); + addKillId(SOUL_OF_WELL); addAttackId(SOUL_OF_WELL); - addKillId(SOUL_OF_WELL, 21553, 21554, 21555, 21556, 21561); + addStartNpc(TIFAREN); + addTalkId(INNOCENTIN, TIFAREN, WELL, GHOST_OF_PRIEST, GHOST_OF_ADVENTURER); + registerQuestItems(LOST_SKULL_OF_ELF, CROSS_OF_EINHASAD, REPORT_BOX, JEWEL_OF_ADVENTURER_1, JEWEL_OF_ADVENTURER_2, SEALED_REPORT_BOX); } @Override public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) { - String htmltext = event; - final QuestState st = player.getQuestState(getName()); - if (st == null) + final QuestState qs = player.getQuestState(getName()); + String htmltext = null; + if (qs == null) { return htmltext; } - if (event.equals("31334-03.htm")) + switch (event) { - final QuestState st2 = player.getQuestState(Q021_HiddenTruth.class.getSimpleName()); - if ((st2 != null) && st2.isCompleted() && (player.getLevel() >= 63)) + case "31529-02.htm": + case "31529-04.htm": + case "31529-05.htm": + case "31529-06.htm": + case "31529-07.htm": + case "31529-09.htm": + case "31529-13.htm": + case "31529-13a.htm": + case "31528-02.htm": + case "31528-05.htm": + case "31528-06.htm": + case "31528-07.htm": + case "31328-13.htm": + case "31328-06.htm": + case "31328-05.htm": + case "31328-02.htm": + case "31328-07.htm": + case "31328-08.htm": + case "31328-14.htm": + case "31328-15.htm": + case "31328-16.htm": + case "31328-17.htm": + case "31328-18.htm": + case "31334-12.htm": { - htmltext = "31334-02.htm"; + htmltext = event; + break; } - } - else if (event.equals("31334-04.htm")) - { - st.setState(State.STARTED); - st.set("cond", "1"); - st.playSound(QuestState.SOUND_ACCEPT); - } - else if (event.equals("31334-07.htm")) - { - if (!st.hasQuestItems(CROSS_OF_EINHASAD)) + case "31334-02.htm": { - st.set("cond", "2"); + if (qs.isCreated()) + { + final QuestState qs2 = player.getQuestState(Q021_HiddenTruth.class.getSimpleName()); + if ((player.getLevel() >= MIN_LEVEL) && (qs2 != null) && qs2.isCompleted()) + { + htmltext = event; + } + else + { + htmltext = "31334-03.htm"; + } + } + break; } - else + case "31334-04.htm": { - htmltext = "31334-06.htm"; + if (qs.isCreated()) + { + qs.setState(State.STARTED); + qs.set("cond", "1"); + qs.playSound(QuestState.SOUND_ACCEPT); + htmltext = event; + } + break; } - } - else if (event.equals("31334-08.htm")) - { - if (st.hasQuestItems(CROSS_OF_EINHASAD)) + case "31334-07.htm": { - st.set("cond", "4"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(CROSS_OF_EINHASAD, 1); + if (!qs.hasQuestItems(CROSS_OF_EINHASAD)) + { + qs.set("cond", "2"); + htmltext = event; + } + else + { + htmltext = "31334-06.htm"; + qs.set("cond", "3"); + } + break; } - else + case "31334-08.htm": { - st.set("cond", "2"); - htmltext = "31334-07.htm"; + if (qs.getInt("cond") == 3) + { + qs.set("cond", "4"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; } - } - else if (event.equals("31334-13.htm")) - { - if (_ghostOfPriestInstance != null) + case "31334-13.htm": { - st.set("cond", "6"); - htmltext = "31334-14.htm"; + final int cond = qs.getInt("cond"); + if (((5 <= cond) && (cond <= 7)) && qs.hasQuestItems(CROSS_OF_EINHASAD)) + { + if (_tifarenOwner == 0) + { + _tifarenOwner = player.getObjectId(); + final NpcInstance ghost2 = addSpawn(GHOST_OF_PRIEST, PRIEST_LOC, true, 0); + ghost2.setScriptValue(player.getObjectId()); + startQuestTimer("DESPAWN_GHOST2", 1000 * 120, ghost2, player); + ghost2.broadcastNpcSay("Did you call me, " + player.getName() + "?"); + if (((cond == 5) || (cond == 6)) && qs.hasQuestItems(LOST_SKULL_OF_ELF)) + { + qs.takeItems(LOST_SKULL_OF_ELF, -1); + qs.set("cond", "7"); + qs.playSound(QuestState.SOUND_MIDDLE); + } + htmltext = event; + } + else + { + qs.set("cond", "6"); + htmltext = "31334-14.htm"; + } + } + break; } - else + case "31528-04.htm": { - st.set("cond", "7"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(LOST_SKULL_OF_ELF, 1); - _ghostOfPriestInstance = addSpawn(GHOST_OF_PRIEST, 38418, -49894, -1104, 0, false, 120000); - _ghostOfPriestInstance.broadcastNpcSay("Did you call me, " + player.getName() + "?"); - startQuestTimer("ghost_cleanup", 118000, null, player, false); + if (npc.getScriptValue() == player.getObjectId()) + { + qs.playSound(QuestState.SOUND_ACCEPT); + htmltext = event; + } + break; } - } - else if (event.equals("31528-08.htm")) - { - st.set("cond", "8"); - st.playSound(QuestState.SOUND_MIDDLE); - - cancelQuestTimer("ghost_cleanup", null, player); - - if (_ghostOfPriestInstance != null) + case "31528-08.htm": { - _ghostOfPriestInstance.deleteMe(); - _ghostOfPriestInstance = null; + final QuestTimer qt = getQuestTimer("DESPAWN_GHOST2", npc, player); + if ((qt != null) && (npc.getScriptValue() == player.getObjectId())) + { + qt.cancel(); + npc.setScriptValue(0); + startQuestTimer("DESPAWN_GHOST2", 1000 * 3, npc, player); + qs.set("cond", "8"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; } - } - else if (event.equals("31328-10.htm")) - { - st.set("cond", "9"); - st.playSound(QuestState.SOUND_MIDDLE); - st.giveItems(LETTER_OF_INNOCENTIN, 1); - } - else if (event.equals("31529-12.htm")) - { - st.set("cond", "10"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(LETTER_OF_INNOCENTIN, 1); - st.giveItems(GREEN_JEWEL_OF_ADVENTURER, 1); - } - else if (event.equals("31527-02.htm")) - { - if (_soulOfWellInstance == null) + case "DESPAWN_GHOST2": { - _soulOfWellInstance = addSpawn(SOUL_OF_WELL, 34860, -54542, -2048, 0, false, 0); - - // Attack player. - ((Attackable) _soulOfWellInstance).addDamageHate(player, 0, 99999); - _soulOfWellInstance.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); + _tifarenOwner = 0; + if (npc.getScriptValue() != 0) + { + npc.broadcastNpcSay("I_M_CONFUSED_MAYBE_IT_S_TIME_TO_GO_BACK"); + } + npc.deleteMe(); + break; + } + case "31328-03.htm": + { + if (qs.getInt("cond") == 8) + { + + qs.takeItems(CROSS_OF_EINHASAD, -1); + htmltext = event; + } + break; + } + case "31328-09.htm": + { + if (qs.getInt("cond") == 8) + { + qs.giveItems(LETTER_OF_INNOCENTIN, 1); + qs.set("cond", "9"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; + } + case "31328-11.htm": + { + if ((qs.getInt("cond") == 14) && qs.hasQuestItems(REPORT_BOX)) + { + qs.takeItems(REPORT_BOX, -1); + qs.set("cond", "15"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; + } + case "31328-19.htm": + { + if (qs.getInt("cond") == 15) + { + qs.set("cond", "16"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; + } + case "31527-02.htm": + { + if ((qs.getInt("cond") == 10) && (_soulWellNpc == null)) + { + _soulWellNpc = addSpawn(SOUL_OF_WELL, SOUL_WELL_LOC, true, 0); + startQuestTimer("activateSoulOfWell", 90000, _soulWellNpc, player); + startQuestTimer("despawnSoulOfWell", 120000, _soulWellNpc, player); + _soulWellNpc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); + + htmltext = event; + } + else + { + htmltext = "31527-03.htm"; + } + break; + } + case "activateSoulOfWell": + { + // this enables onAttack ELSE IF block which allows the player to proceed the quest + npc.setScriptValue(1); + break; + } + case "despawnSoulOfWell": + { + // if the player fails to proceed the quest in 2 minutes, the soul is unspawned + if (!npc.isDead()) + { + _soulWellNpc = null; + } + npc.deleteMe(); + break; + } + case "31529-03.htm": + { + if ((qs.getInt("cond") == 9) && qs.hasQuestItems(LETTER_OF_INNOCENTIN)) + { + qs.set("memoState", "8"); + htmltext = event; + } + break; + } + case "31529-08.htm": + { + if (qs.getInt("memoState") == 8) + { + qs.set("memoState", "9"); + htmltext = event; + } + break; + } + case "31529-11.htm": + { + if (qs.getInt("memoState") == 9) + { + qs.giveItems(JEWEL_OF_ADVENTURER_1, 1); + qs.set("cond", "10"); + qs.playSound(QuestState.SOUND_MIDDLE); + qs.set("memoState", "10"); + htmltext = event; + } + break; } - } - else if (event.equals("attack_timer")) - { - st.set("cond", "11"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(GREEN_JEWEL_OF_ADVENTURER, 1); - st.giveItems(RED_JEWEL_OF_ADVENTURER, 1); - } - else if (event.equals("31328-13.htm")) - { - st.set("cond", "15"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(REPORT_BOX, 1); - } - else if (event.equals("31328-21.htm")) - { - st.set("cond", "16"); - st.playSound(QuestState.SOUND_MIDDLE); - } - else if (event.equals("ghost_cleanup")) - { - _ghostOfPriestInstance.broadcastNpcSay("I'm confused! Maybe it's time to go back."); - _ghostOfPriestInstance = null; - return null; } return htmltext; } @@ -196,271 +339,323 @@ public class Q022_TragedyInVonHellmannForest extends Quest @Override public String onTalk(NpcInstance npc, PlayerInstance player) { + final QuestState qs = player.getQuestState(getName()); String htmltext = getNoQuestMsg(); - final QuestState st = player.getQuestState(getName()); - if (st == null) + switch (npc.getNpcId()) { - return htmltext; - } - - switch (st.getState()) - { - case State.CREATED: - switch (npc.getNpcId()) + case TIFAREN: + { + switch (qs.getInt("cond")) { - case INNOCENTIN: - final QuestState st2 = player.getQuestState(Q021_HiddenTruth.class.getSimpleName()); - if ((st2 != null) && st2.isCompleted()) + case 0: + { + if (qs.isCreated()) { - if (!st.hasQuestItems(CROSS_OF_EINHASAD)) - { - htmltext = "31328-01.htm"; - st.giveItems(CROSS_OF_EINHASAD, 1); - st.playSound(QuestState.SOUND_ITEMGET); - } - else - { - htmltext = "31328-01b.htm"; - } + htmltext = "31334-01.htm"; + } + else if (qs.isCompleted()) + { + htmltext = getAlreadyCompletedMsg(); } break; - - case TIFAREN: - htmltext = "31334-01.htm"; + } + case 1: + case 3: + { + htmltext = "31334-05.htm"; break; - } - break; - - case State.STARTED: - final int cond = st.getInt("cond"); - switch (npc.getNpcId()) - { - case TIFAREN: - if ((cond == 1) || (cond == 2) || (cond == 3)) + } + case 4: + case 5: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { - htmltext = "31334-05.htm"; - } - else if (cond == 4) - { - htmltext = "31334-09.htm"; - } - else if ((cond == 5) || (cond == 6)) - { - if (st.hasQuestItems(LOST_SKULL_OF_ELF)) - { - htmltext = (_ghostOfPriestInstance == null) ? "31334-10.htm" : "31334-11.htm"; - } - else + if (!qs.hasQuestItems(LOST_SKULL_OF_ELF)) { htmltext = "31334-09.htm"; - st.set("cond", "4"); + } + else if (_tifarenOwner == 0) + { + htmltext = "31334-10.htm"; + } + else + { + htmltext = "31334-11.htm"; } } - else if (cond == 7) + break; + } + case 6: + case 7: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { - htmltext = (_ghostOfPriestInstance != null) ? "31334-15.htm" : "31334-17.htm"; + if (_tifarenOwner == 0) + { + htmltext = "31334-17.htm"; + } + else if (_tifarenOwner == player.getObjectId()) + { + htmltext = "31334-15.htm"; + } + else + { + htmltext = "31334-16.htm"; + qs.set("cond", "6"); + } } - else if (cond > 7) + break; + } + case 8: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { htmltext = "31334-18.htm"; } break; - - case INNOCENTIN: - if (cond < 3) + } + } + break; + } + case GHOST_OF_PRIEST: + { + if (npc.getScriptValue() == player.getObjectId()) + { + htmltext = "31528-01.htm"; + } + else + { + htmltext = "31528-03.htm"; + } + break; + } + case INNOCENTIN: + { + switch (qs.getInt("cond")) + { + case 2: + { + if (!qs.hasQuestItems(CROSS_OF_EINHASAD)) { - if (!st.hasQuestItems(CROSS_OF_EINHASAD)) - { - htmltext = "31328-01.htm"; - st.set("cond", "3"); - st.playSound(QuestState.SOUND_ITEMGET); - st.giveItems(CROSS_OF_EINHASAD, 1); - } - else - { - htmltext = "31328-01b.htm"; - } + qs.giveItems(CROSS_OF_EINHASAD, 1); + qs.set("cond", "3"); + htmltext = "31328-01.htm"; } - else if (cond == 3) + break; + } + case 3: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) + { + htmltext = "31328-01b.htm"; + } + break; + } + case 8: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { htmltext = "31328-02.htm"; } - else if (cond == 8) + else { - htmltext = "31328-03.htm"; - } - else if (cond == 9) - { - htmltext = "31328-11.htm"; - } - else if (cond == 14) - { - if (st.hasQuestItems(REPORT_BOX)) - { - htmltext = "31328-12.htm"; - } - else - { - st.set("cond", "13"); - } - } - else if (cond == 15) - { - htmltext = "31328-14.htm"; - } - else if (cond == 16) - { - htmltext = (player.getLevel() < 64) ? "31328-23.htm" : "31328-22.htm"; - st.exitQuest(false); - st.playSound(QuestState.SOUND_FINISH); + htmltext = "31328-04.htm"; } break; - - case GHOST_OF_PRIEST: - if (cond == 7) + } + case 9: + { + htmltext = "31328-09a.htm"; + break; + } + case 14: + { + if (qs.hasQuestItems(REPORT_BOX)) { - htmltext = "31528-01.htm"; - } - else if (cond == 8) - { - htmltext = "31528-08.htm"; + htmltext = "31328-10.htm"; } break; - - case GHOST_OF_ADVENTURER: - if (cond == 9) + } + case 15: + { + htmltext = "31328-12.htm"; + break; + } + case 16: + { + qs.rewardExpAndSp(345966, 31578); + qs.exitQuest(false); + if (player.getLevel() >= MIN_LEVEL) { - if (st.hasQuestItems(LETTER_OF_INNOCENTIN)) + htmltext = "31328-20.htm"; + } + else + { + htmltext = "31328-21.htm"; + } + break; + } + } + break; + } + case WELL: + { + switch (qs.getInt("cond")) + { + case 10: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_1)) + { + htmltext = "31527-01.htm"; + + } + break; + } + case 12: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_2) && !qs.hasQuestItems(SEALED_REPORT_BOX)) + { + qs.giveItems(SEALED_REPORT_BOX, 1); + qs.set("cond", "13"); + htmltext = "31527-04.htm"; + } + break; + } + case 13: + case 14: + case 15: + case 16: + { + htmltext = "31527-05.htm"; + break; + } + } + break; + } + case GHOST_OF_ADVENTURER: + { + switch (qs.getInt("cond")) + { + case 9: + { + if (qs.hasQuestItems(LETTER_OF_INNOCENTIN)) + { + switch (qs.getInt("memoState")) { - htmltext = "31529-01.htm"; - } - else - { - htmltext = "31529-10.htm"; - st.set("cond", "8"); + case 0: + { + htmltext = "31529-01.htm"; + break; + } + case 8: + { + htmltext = "31529-03a.htm"; + break; + } + case 9: + { + htmltext = "31529-10.htm"; + break; + } + default: + { + break; + } } } - else if (cond == 10) + break; + } + case 10: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_1)) { + final int id = qs.getInt("memoState"); + if (id == 10) + { + htmltext = "31529-12.htm"; + } + else if (id == 11) + { + htmltext = "31529-14.htm"; + } + } + break; + } + case 11: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_2) && !qs.hasQuestItems(SEALED_REPORT_BOX)) + { + htmltext = "31529-15.htm"; + qs.set("cond", "12"); + } + break; + } + case 13: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_2) && qs.hasQuestItems(SEALED_REPORT_BOX)) + { + qs.giveItems(REPORT_BOX, 1); + qs.takeItems(SEALED_REPORT_BOX, -1); + qs.takeItems(JEWEL_OF_ADVENTURER_2, -1); + qs.set("cond", "14"); htmltext = "31529-16.htm"; } - else if (cond == 11) - { - if (st.hasQuestItems(RED_JEWEL_OF_ADVENTURER)) - { - htmltext = "31529-17.htm"; - st.set("cond", "12"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(RED_JEWEL_OF_ADVENTURER, 1); - } - else - { - htmltext = "31529-09.htm"; - st.set("cond", "10"); - } - } - else if (cond == 12) + break; + } + case 14: + { + if (qs.hasQuestItems(REPORT_BOX)) { htmltext = "31529-17.htm"; } - else if (cond == 13) - { - if (st.hasQuestItems(SEALED_REPORT_BOX)) - { - htmltext = "31529-18.htm"; - st.set("cond", "14"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(SEALED_REPORT_BOX, 1); - st.giveItems(REPORT_BOX, 1); - } - else - { - htmltext = "31529-10.htm"; - st.set("cond", "12"); - } - } - else if (cond > 13) - { - htmltext = "31529-19.htm"; - } - break; - - case WELL: - if (cond == 10) - { - htmltext = "31527-01.htm"; - } - else if (cond == 11) - { - htmltext = "31527-03.htm"; - } - else if (cond == 12) - { - htmltext = "31527-04.htm"; - st.set("cond", "13"); - st.playSound(QuestState.SOUND_MIDDLE); - st.giveItems(SEALED_REPORT_BOX, 1); - } - else if (cond > 12) - { - htmltext = "31527-05.htm"; - } break; + } } break; - - case State.COMPLETED: - htmltext = getAlreadyCompletedMsg(); - break; + } } - return htmltext; } @Override - public String onAttack(NpcInstance npc, PlayerInstance attacker, int damage, boolean isPet) + public String onAttack(NpcInstance npc, PlayerInstance attacker, int damage, boolean isSummon) { - final QuestState st = attacker.getQuestState(getName()); - if ((st == null) || !st.isStarted() || isPet) + final QuestState qs = attacker.getQuestState(getName()); + if ((qs != null) && (qs.getInt("cond") == 10) && qs.hasQuestItems(JEWEL_OF_ADVENTURER_1)) { - return null; + if (qs.getInt("memoState") == 10) + { + qs.set("memoState", "11"); + } + else if (npc.isScriptValue(1)) + { + qs.takeItems(JEWEL_OF_ADVENTURER_1, -1); + qs.giveItems(JEWEL_OF_ADVENTURER_2, 1); + qs.set("cond", "11"); + } } - - if (getQuestTimer("attack_timer", null, attacker) != null) - { - return null; - } - - if (st.getInt("cond") == 10) - { - startQuestTimer("attack_timer", 20000, null, attacker, false); - } - - return null; + return super.onAttack(npc, attacker, damage, isSummon); } @Override - public String onKill(NpcInstance npc, PlayerInstance player, boolean isPet) + public String onKill(NpcInstance npc, PlayerInstance killer, boolean isSummon) { - final QuestState st = checkPlayerState(player, npc, State.STARTED); - if (st == null) + if (Util.checkIfInRange(Config.ALT_PARTY_RANGE, killer, npc, true)) { - return null; - } - - if (npc.getNpcId() != SOUL_OF_WELL) - { - if ((st.getInt("cond") == 4) && st.dropItems(LOST_SKULL_OF_ELF, 1, 1, 100000)) + if (npc.getNpcId() == SOUL_OF_WELL) { - st.set("cond", "5"); + _soulWellNpc = null; + } + else + { + final QuestState qs = killer.getQuestState(getName()); + if ((qs != null) && (qs.getInt("cond") == 4) && qs.hasQuestItems(CROSS_OF_EINHASAD) && !qs.hasQuestItems(LOST_SKULL_OF_ELF) && (Rnd.get(100) < 10)) + { + qs.giveItems(LOST_SKULL_OF_ELF, 1); + qs.set("cond", "5"); + } } } - else - { - cancelQuestTimer("attack_timer", null, player); - _soulOfWellInstance = null; - } - - return null; + return super.onKill(npc, killer, isSummon); } } \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java index 09cfaebcc9..245e00afeb 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java @@ -215,6 +215,10 @@ public class Q023_LidiasHeart extends Quest { htmltext = "31328-08.htm"; } + else if (cond == 5) + { + htmltext = "31328-10.htm"; + } else if (cond > 5) { htmltext = "31328-21.htm"; diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-01.htm similarity index 68% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-01.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-01.htm index 8a417ad424..82487abcd7 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-01.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-01.htm @@ -1,5 +1,5 @@ Dorian:
Are you the one who recovered the Silver Spear? Your reputation precedes you! Actually, I have a problem you may be able to help me with!
Would you be willing to help me?
-"I'll do it!" +"I'll do it!" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-00.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-02.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-00.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-02.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-03.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-02.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-03.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-04.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-03.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-04.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-05.htm new file mode 100644 index 0000000000..b5585d128b --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-05.htm @@ -0,0 +1,6 @@ +Dorian:
+Did you place the flower at the tombstone? Did you notice who was buried in that grave?
+Nidrah
+Lidia
+Rose + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-06.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-06.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-06.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-07.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-05.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-07.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-08.htm similarity index 59% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-07.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-08.htm index 6643e40e73..ec290026ed 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-07.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-08.htm @@ -1,4 +1,4 @@ Dorian:
Yes! Rose rests there... She was the maid Mr. Alfred, my former master, assigned to his daughter. They were about the same age.
-"Who is Alfred's daughter?" +"Who is Alfred's daughter?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-09.htm similarity index 59% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-07.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-09.htm index 6643e40e73..ec290026ed 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-07.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-09.htm @@ -1,4 +1,4 @@ Dorian:
Yes! Rose rests there... She was the maid Mr. Alfred, my former master, assigned to his daughter. They were about the same age.
-"Who is Alfred's daughter?" +"Who is Alfred's daughter?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-10.htm similarity index 58% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-08.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-10.htm index b007f29d7e..84edf6915a 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-08.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-10.htm @@ -1,4 +1,4 @@ Dorian:
-Why, she's Lady Lidia, current lord of this manor! She thought highly of Rose, and didn't want her coming back as an undead! Lady Lidia graciously allowed Rose to rest in peace. That's better than most others get around here!
-"How did Rose earn such a privilege?" +Why, she's Lady Lidia, current lord of this manor! She thought highly of Rose, and didn't want her coming back as an undead! Lady Lidia graciously allowed Rose to rest in peace. That's better than most others get around here!
+"How did Rose earn such a privilege?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-11.htm similarity index 62% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-09.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-11.htm index 68a64a5e88..44b9d0cc35 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-09.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-11.htm @@ -1,5 +1,5 @@ Dorian:
I don't know, exactly. All I know is, my fiance was with Lady Lidia, and died protecting her!
Anyway, thank you for taking the flower to Rose's grave.
-"It's the least I could do." +"It's the least I could do." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-12.htm similarity index 73% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-10.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-12.htm index 09a6b87d23..8d0612c004 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-10.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-12.htm @@ -1,6 +1,6 @@ Dorian:
Oh, don't be so modest! You remembered Rose's name! And you asked such respectful questions!
-You're obviously a wonderful person!
Do you suppose you could do something else for me?
+You're obviously a wonderful person!
Do you suppose you could do something else for me?
Recently my nights have been dreamless, and I've woken up with wounds that I don't remember getting! Something strange is going on in this village! Will you investigate?
-"Yes, I will." +"Yes, I will." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-13.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-11.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-13.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-14.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-12.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-14.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-15.htm new file mode 100644 index 0000000000..a10683cd6a --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-15.htm @@ -0,0 +1,5 @@ +Dorian:
+I can't remember last night at all, and I'm exhausted! Have you discovered anything?
+"There's a vampire!"
+"The villagers are changing into monsters!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16.htm similarity index 54% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-14.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16.htm index c311cd6139..62d7772c34 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-14.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16.htm @@ -1,4 +1,4 @@ Dorian:
A vampire, eh?! Hmm... I see. Is the lord of the manor coming down here making the rounds? Hmm...Why am I so tired then?
-"I'll tell you why! Because you're the vampire!" +"I'll tell you why! Because you're the vampire!" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16a.htm new file mode 100644 index 0000000000..2ceeb197ed --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16a.htm @@ -0,0 +1,5 @@ +Dorian:
+Don't you dare compare me to those idiots in the village!
+A monster, eh? And it only comes out at night?
+"That's right!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-17.htm new file mode 100644 index 0000000000..2e8999db60 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-17.htm @@ -0,0 +1,5 @@ +Dorian:
+Nooo!
+It can't be! Me? A vampire? It's true that the lord of the manor I serve is an undead... But that doesn't mean I'm a vampire!
+"Check out this crucifix!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-18.htm new file mode 100644 index 0000000000..ce5dc65b60 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-18.htm @@ -0,0 +1,6 @@ +Dorian:
+I gave you that! ...I see. Now I remember...
+Young master Einhart and... and... you! You were standing there... holding the holy symbol!
+Now I know... why the lord gave me such an order!
+"What order?" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-19.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-17.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-19.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-20.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-18.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-20.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-21.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-21.htm new file mode 100644 index 0000000000..8d0035f070 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-21.htm @@ -0,0 +1,3 @@ +Dorian:
+Oh, come in! Say, you must've dropped this the last time you were here! It looks very valuable! You should keep it in a safe place. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-22.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-22.htm new file mode 100644 index 0000000000..a3785ddebf --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-22.htm @@ -0,0 +1,5 @@ +Dorian:
+Did you see the maid of the lord? I have no memories after dark, so I have no idea what she's like!
+I've heard that she's quite beautiful! I was even told that she resembles my fiance!
+At least she's... alive! What a privilege, even if it's only during the day! Oh, well, I shouldn't be talking about this... + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-01.htm new file mode 100644 index 0000000000..e23ba45e84 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-01.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Long time no see. Things sure are quiet these days!
+"What do you know about an odd doll?" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-02.htm new file mode 100644 index 0000000000..6ad8b43ec0 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-02.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+What are you talking about?
+"Look at this!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-03.htm similarity index 57% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-03.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-03.htm index 70b578baab..6156fb80d7 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-03.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-03.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
Oh, that. It's an amulet to help my puppets collect bone pieces in the forest without getting hurt.
-"That's not what I heard." +"That's not what I heard." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-04.htm new file mode 100644 index 0000000000..af84ac3ae9 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-04.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+It may look a little odd, but it's just an amulet.
+"That's not what I heard." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-05.htm new file mode 100644 index 0000000000..067bdf93d2 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-05.htm @@ -0,0 +1,5 @@ + +Mysterious Wizard:
+What did you hear?
+"That it's related to Wizard Nidrah." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-06.htm new file mode 100644 index 0000000000..5568ef5570 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-06.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Where did you hear the name Nidrah?
+"From the person who told me to see you about the doll." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-07.htm similarity index 70% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-06.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-07.htm index 9756aceada..fb29a4b1d5 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-06.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-07.htm @@ -2,5 +2,5 @@ So, you're under the protection of Lady Lidia.
We've signed a mutual contract not to harm each other.
This doll was made by Nidrah, and tells the Lord of the Forest of the Dead not to attack its bearer.
-"How did you get it?" +"How did you get it?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-08.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-07.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-08.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-09.htm new file mode 100644 index 0000000000..2ee436901e --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-09.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+You trust me now? Tell me about Nidrah!
+"Allright, I'll tell you." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-10.htm new file mode 100644 index 0000000000..db632b746b --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-10.htm @@ -0,0 +1,5 @@ +Mysterious Wizard:
+So tell me!
+"You're gathering materials for the dark arts."
+"You signed a contract." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-11.htm new file mode 100644 index 0000000000..9e0b92832f --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-11.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Where is your proof?
+"Lady Lidia controls all the dead of this earth, a power nearly equal to a god's! One must be granted authority by her to have power over the dead in any capacity." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-12.htm new file mode 100644 index 0000000000..ba9a3d69ad --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-12.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+So?
+"Nobody is allowed here without permission. That you're here means you have power at least equal to the Lord of the Forest of the Dead." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-13.htm new file mode 100644 index 0000000000..29886f9964 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-13.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+So I made a mistake. What's wrong with that?
+"It's impossible to have a real nonaggression contract in this situation!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-14.htm new file mode 100644 index 0000000000..517eeb54f3 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-14.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+History is filled with such contracts. Do you know why?
+"Nonaggression contracts are signed between two equal powers. It stays in effect only as long as it benefits them. If one party becomes weaker, the contract is nullified." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-15.htm new file mode 100644 index 0000000000..89c08be357 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-15.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Go on.
+"The Lord of the Dead has absolute power here, why would she sign a contract with you? You must have power equal to hers, or else she reaps some benefit from not fighting you." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-16.htm similarity index 51% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-15.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-16.htm index c45b7782c6..0afc7693f2 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-15.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-16.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
You think I have something to do with Nidrah?
-"Yes." +"Yes." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-17.htm similarity index 50% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-16.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-17.htm index 6e4f16c7ad..f16975747f 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-16.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-17.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
Let's say for arguments sake that I'm Nidrah. What difference would that make?
-"Here's the missing page from the diary." +"Here's the missing page from the diary." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-18.htm similarity index 50% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-16.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-18.htm index 6e4f16c7ad..f16975747f 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-16.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-18.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
Let's say for arguments sake that I'm Nidrah. What difference would that make?
-"Here's the missing page from the diary." +"Here's the missing page from the diary." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-19.htm similarity index 68% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-17.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-19.htm index 73e62685ca..c1a808a1e8 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-17.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-19.htm @@ -1,5 +1,5 @@ Mysterious Wizard:
You found the diary! You're tracking Nidrah.
Going further may be difficult, you're following a dangerous man. If you insist, you'll need the key.
-"Key?" +"Key?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-20.htm similarity index 70% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-18.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-20.htm index 5de5e0c8fe..d7a6460ec4 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-18.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-20.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
The Priest of the Rune Township has the key. I'll give you the doll, it represents the person who carried the real authority in the Hellmann Forest and Rune Territory, even over Lidia.
-"Who is it?" +"Who is it?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-19.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-21.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-19.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-21.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-20.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-22.htm similarity index 77% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-20.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-22.htm index b537b2efec..7d182d0a43 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-20.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-22.htm @@ -1,3 +1,3 @@ -Mysterious Mage:
+Mysterious Wizard:
Visit the temple of the Rune Township if you want to learn more about them. Ask about the one who hides the truth... \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-01.htm similarity index 54% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-01.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-01.htm index 6be6e4bfe7..b275ba0b20 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-01.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-01.htm @@ -1,4 +1,4 @@ Tombstone:
Here lies Rose, a faithful, loving servant. May she rest in peace.
-Place flowers on the grave. +Place flowers on the grave. \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-02.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-02.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-02.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-03.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-03.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-03.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-01.htm similarity index 53% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-01.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-01.htm index 0d83526c24..4481cedf7f 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-01.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-01.htm @@ -1,4 +1,4 @@ Maid of Lidia:
My lady thanks you for recovering the Silver Spear. It's a family treasure.
-"I was doing my duty." +"I was doing my duty." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-02.htm similarity index 59% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-02.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-02.htm index 65ab1d3f6a..fadf978813 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-02.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-02.htm @@ -1,4 +1,4 @@ Maid of Lidia:
She knows how you helped her ancestors rest in peace. My lady knows all that happens in her forest!
-"Everything?" +"Everything?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-03.htm similarity index 61% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-03.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-03.htm index b85f92f9f8..1b42988859 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-03.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-03.htm @@ -1,4 +1,4 @@ Maid of Lidia:
My lady knows everything about your journeys here. She hopes you'll uncover all the details of what has transpired.
-"Please continue." +"Please continue." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-04.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-04.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-04.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-05.htm new file mode 100644 index 0000000000..09e4edc940 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-05.htm @@ -0,0 +1,5 @@ +Maid of Lidia:
+I don't know what it says, I wouldn't dream of reading the letter meant for my lord!
+I was told you had something for me?
+"Here's the hairpin." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-06.htm new file mode 100644 index 0000000000..8f85e63d36 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-06.htm @@ -0,0 +1,5 @@ +Maid of Lidia:
+This is Nidrah's work, a hairpin of Moon Face Flower. How beautiful!
+I must go now.
+"Wait!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07.htm new file mode 100644 index 0000000000..7b7810ae9c --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07.htm @@ -0,0 +1,3 @@ +Maid of Lidia:
+Oh no! Could you have dropped it in the village? Take the letter with you and ask around for it. Meet me again tomorrow night. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07a.htm new file mode 100644 index 0000000000..a3be166213 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07a.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+Do you have something for me?
+"Here's the hairpin." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-08.htm new file mode 100644 index 0000000000..9477ce1698 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-08.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+What is it?
+"What do you know about Nidrah?" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-09.htm new file mode 100644 index 0000000000..5dfabad70d --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-09.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+What is it?
+"Tell me everything you know about Nidrah!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-10.htm new file mode 100644 index 0000000000..b7a8055b12 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-10.htm @@ -0,0 +1,7 @@ +Maid of Lidia:
+Did I say Nidrah?
+What do you know of the name?
+"It's a tree."
+"It's a corpse."
+"It's a Mystic." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-11.htm new file mode 100644 index 0000000000..b7a8055b12 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-11.htm @@ -0,0 +1,7 @@ +Maid of Lidia:
+Did I say Nidrah?
+What do you know of the name?
+"It's a tree."
+"It's a corpse."
+"It's a Mystic." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-12.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-09.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-12.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-13.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-10.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-13.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-14.htm new file mode 100644 index 0000000000..c6b12b7834 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-14.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+What kind of Mystic was he?
+"A Mystic of Dark Arts!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-15.htm new file mode 100644 index 0000000000..a4063ea777 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-15.htm @@ -0,0 +1,5 @@ +Maid of Lidia:
+Oh! Only Lord Alfred and Lady Lidia know. Even Einhalder thinks he's an ordinary Mystic! How do you know of this?
+"I read the diary."
+"How do you know?" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-16.htm new file mode 100644 index 0000000000..2ee3d48da9 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-16.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+Did you read of the contract between Nidrah and my lady in the diary?
+"Now you must tell me what you know!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-17.htm new file mode 100644 index 0000000000..267d3468c2 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-17.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+How do you know about Nidrah? Are you the last survivor? If so, you'll never get out of this forest alive...or dead!
+"I read the diary." + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-18.htm similarity index 66% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-15.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-18.htm index 94b2137963..a4d181e8fa 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-15.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-18.htm @@ -1,5 +1,5 @@ Maid of Lidia:
I was there when the contract was signed, but the memory of the undead is not very clear.
If you find out what's on the missing page, when the contract was signed, I'll tell you more.
-"I've already come this far." +"I've already come this far." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-19.htm similarity index 100% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-16.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-19.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-20.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-16.htm rename to L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-20.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/Q024_InhabitantsOfTheForestOfTheDead.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/Q024_InhabitantsOfTheForestOfTheDead.java new file mode 100644 index 0000000000..e3ef4a3414 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/Q024_InhabitantsOfTheForestOfTheDead.java @@ -0,0 +1,394 @@ +/* + * 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 . + */ +package quests.Q024_InhabitantsOfTheForestOfTheDead; + +import org.l2jmobius.gameserver.enums.ChatType; +import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.serverpackets.CreatureSay; + +import quests.Q023_LidiasHeart.Q023_LidiasHeart; + +public class Q024_InhabitantsOfTheForestOfTheDead extends Quest +{ + // NPCs + private static final int DORIAN = 31389; + private static final int WIZARD = 31522; + private static final int TOMBSTONE = 31531; + private static final int MAID_OF_LIDIA = 31532; + private static final int[] MOBS = + { + 21557, // BONE_SNATCHER + 21558, // BONE_SNATCHER_A + 21560, // BONE_SHAPER + 21563, // BONE_COLLECTOR + 21564, // SKULL_COLLECTOR + 21565, // BONE_ANIMATOR + 21566, // SKULL_ANIMATOR + 21567, // BONE_SLAYER + }; + // Items + private static final int LETTER = 7065; + private static final int HAIRPIN = 7148; + private static final int TOTEM = 7151; + private static final int FLOWER = 7152; + private static final int SILVER_CROSS = 7153; + private static final int BROKEN_SILVER_CROSS = 7154; + private static final int SUSPICIOUS_TOTEM = 7156; + + public Q024_InhabitantsOfTheForestOfTheDead() + { + super(24, "Inhabitants of the Forest of the Dead"); + + addStartNpc(DORIAN); + addTalkId(DORIAN, TOMBSTONE, MAID_OF_LIDIA, WIZARD); + registerQuestItems(FLOWER, SILVER_CROSS, BROKEN_SILVER_CROSS, LETTER, HAIRPIN, TOTEM); + addKillId(MOBS); + addAggroRangeEnterId(25332); + } + + @Override + public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) + { + String htmltext = event; + QuestState st = player.getQuestState(getName()); + if (st == null) + { + return event; + } + if (event.equals("31389-03.htm")) + { + st.setState(State.STARTED); + st.set("cond", "1"); + st.set("state", "1"); + st.playSound("ItemSound.quest_accept"); + st.giveItems(FLOWER, 1); + } + else if (event.equals("31389-08.htm")) + { + st.set("state", "3"); + } + else if (event.equals("31389-13.htm")) + { + st.set("cond", "3"); + st.set("state", "4"); + st.playSound("ItemSound.quest_middle"); + st.giveItems(SILVER_CROSS, 1); + } + else if (event.equals("31389-18.htm")) + { + st.playSound("InterfaceSound.charstat_open_01"); + } + else if (event.equals("31389-19.htm")) + { + st.set("cond", "5"); + st.set("state", "5"); + st.takeItems(BROKEN_SILVER_CROSS, -1); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31522-03.htm")) + { + st.set("state", "12"); + st.takeItems(TOTEM, -1); + } + else if (event.equals("31522-08.htm")) + { + st.set("cond", "11"); + st.set("state", "13"); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31522-17.htm")) + { + st.set("state", "14"); + } + else if (event.equals("31522-21.htm")) + { + st.giveItems(SUSPICIOUS_TOTEM, 1); + st.playSound("ItemSound.quest_finish"); + st.exitQuest(false); + } + else if (event.equals("31532-04.htm")) + { + st.set("cond", "6"); + st.set("state", "6"); + st.giveItems(LETTER, 1); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31532-06.htm")) + { + if (st.hasQuestItems(HAIRPIN)) + { + st.set("state", "8"); + st.takeItems(LETTER, -1); + st.takeItems(HAIRPIN, -1); + } + else + { + st.set("cond", "7"); + st.set("state", "7"); + htmltext = "31532-07.htm"; + } + } + else if (event.equals("31532-10.htm")) + { + st.set("state", "9"); + } + else if (event.equals("31532-14.htm")) + { + st.set("state", "10"); + } + else if (event.equals("31532-19.htm")) + { + st.set("cond", "9"); + st.set("state", "11"); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31531-02.htm")) + { + st.set("cond", "2"); + st.set("state", "2"); + st.takeItems(FLOWER, -1); + st.playSound("ItemSound.quest_middle"); + } + + return htmltext; + } + + @Override + public String onTalk(NpcInstance npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(); + QuestState st = player.getQuestState(getName()); + if (st == null) + { + return htmltext; + } + switch (st.getState()) + { + case State.CREATED: + QuestState st2 = player.getQuestState(Q023_LidiasHeart.class.getSimpleName()); + if ((st2 != null) && st2.isCompleted() && (player.getLevel() >= 65)) + { + htmltext = "31389-01.htm"; + } + else + { + htmltext = "31389-02.htm"; + } + break; + case State.STARTED: + int state = st.getInt("state"); + switch (npc.getNpcId()) + { + case 31389: + if (state == 1) + { + htmltext = "31389-04.htm"; + return htmltext; + } + else if (state == 2) + { + htmltext = "31389-05.htm"; + return htmltext; + } + else if (state == 3) + { + htmltext = "31389-09.htm"; + return htmltext; + } + else if (state == 4) + { + if (st.hasQuestItems(SILVER_CROSS)) + { + htmltext = "31389-14.htm"; + } + else if (st.hasQuestItems(BROKEN_SILVER_CROSS)) + { + htmltext = "31389-15.htm"; + return htmltext; + } + + return htmltext; + } + else if (state == 5) + { + htmltext = "31389-20.htm"; + return htmltext; + } + else + { + if ((state == 7) && !st.hasQuestItems(HAIRPIN)) + { + htmltext = "31389-21.htm"; + st.set("cond", "8"); + st.giveItems(HAIRPIN, 1); + st.playSound("ItemSound.quest_middle"); + } + else if (((state == 7) && st.hasQuestItems(HAIRPIN)) || (state == 6)) + { + htmltext = "31389-22.htm"; + return htmltext; + } + + return htmltext; + } + case 31522: + if ((state == 11) && st.hasQuestItems(TOTEM)) + { + htmltext = "31522-01.htm"; + return htmltext; + } + else if (state == 12) + { + htmltext = "31522-04.htm"; + return htmltext; + } + else + { + if (state == 13) + { + htmltext = "31522-09.htm"; + } + else if (state == 14) + { + htmltext = "31522-18.htm"; + return htmltext; + } + + return htmltext; + } + case 31531: + if ((state == 1) && st.hasQuestItems(FLOWER)) + { + htmltext = "31531-01.htm"; + st.playSound("AmdSound.d_wind_loot_02"); + } + else if (state == 2) + { + htmltext = "31531-03.htm"; + return htmltext; + } + + return htmltext; + case 31532: + if (state == 5) + { + htmltext = "31532-01.htm"; + return htmltext; + } + else if ((state == 6) && st.hasQuestItems(LETTER)) + { + htmltext = "31532-05.htm"; + return htmltext; + } + else if (state == 7) + { + htmltext = "31532-07a.htm"; + return htmltext; + } + else if (state == 8) + { + htmltext = "31532-08.htm"; + return htmltext; + } + else if (state == 9) + { + htmltext = "31532-11.htm"; + return htmltext; + } + else + { + if (state == 10) + { + htmltext = "31532-15.htm"; + } + else if (state == 11) + { + htmltext = "31532-20.htm"; + return htmltext; + } + + return htmltext; + } + default: + return htmltext; + } + case State.COMPLETED: + if (npc.getNpcId() == 31522) + { + htmltext = "31522-22.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(); + } + } + + return htmltext; + } + + @Override + public String onAggroRangeEnter(NpcInstance npc, PlayerInstance player, boolean isPet) + { + if (isPet) + { + npc.getAttackByList().remove(player.getPet()); + } + else + { + npc.getAttackByList().remove(player); + final QuestState qs = player.getQuestState(getName()); + if ((qs != null) && (qs.getQuestItemsCount(SILVER_CROSS) > 0)) + { + qs.takeItems(SILVER_CROSS, -1); + qs.giveItems(BROKEN_SILVER_CROSS, 1); + qs.set("cond", "4"); + for (PlayerInstance nearby : npc.getKnownList().getKnownPlayers().values()) + { + nearby.sendPacket(new CreatureSay(npc.getObjectId(), ChatType.GENERAL, npc.getName(), "That sign!")); + } + } + } + return super.onAggroRangeEnter(npc, player, isPet); + } + + @Override + public String onKill(NpcInstance npc, PlayerInstance player, boolean isSummon) + { + final PlayerInstance partyMember = getRandomPartyMember(player, npc, "9"); + if (partyMember == null) + { + return null; + } + + final QuestState st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } + if (st.dropItems(TOTEM, 1, 1, 100000)) + { + st.set("cond", "10"); + } + + return null; + } + +} \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-04.htm deleted file mode 100644 index 92dc974d11..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-04.htm +++ /dev/null @@ -1,6 +0,0 @@ -Dorian:
-Did you place the flower at the tombstone? Did you notice who was buried in that grave?
-Nidrah
-Lidia
-Rose - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-13.htm deleted file mode 100644 index 3651c2fa32..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-13.htm +++ /dev/null @@ -1,5 +0,0 @@ -Dorian:
-I can't remember last night at all, and I'm exhausted! Have you discovered anything?
-"There's a vampire!"
-"The villagers are changing into monsters!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-15.htm deleted file mode 100644 index d430d7b775..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-15.htm +++ /dev/null @@ -1,5 +0,0 @@ -Dorian:
-Nooo!
-It can't be! Me? A vampire? It's true that the lord of the manor I serve is an undead... But that doesn't mean I'm a vampire!
- "Check out this crucifix!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-16.htm deleted file mode 100644 index dc9029528b..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-16.htm +++ /dev/null @@ -1,6 +0,0 @@ -Dorian:
-I gave you that! ...I see. Now I remember...
-Young master Einhart and... and... you! You were standing there... holding the holy symbol!
-Now I know... why the lord gave me such an order!
-"What order?" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-01.htm deleted file mode 100644 index 8f6aa84069..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Long time no see. Things sure are quiet these days!
-"What do you know about an odd doll?" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-02.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-02.htm deleted file mode 100644 index 9c13009461..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-What are you talking about?
-"Look at this!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-04.htm deleted file mode 100644 index 1c105bd265..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-What did you hear?
-"That it's related to Wizard Nidrah." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-05.htm deleted file mode 100644 index 14fe3579b2..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Where did you hear the name Nidrah?
-"From the person who told me to see you about the doll." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-08.htm deleted file mode 100644 index 2bde77b5ce..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-08.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-You trust me now? Tell me about Nidrah!
-"Allright, I'll tell you." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-09.htm deleted file mode 100644 index 24295ee810..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-09.htm +++ /dev/null @@ -1,5 +0,0 @@ -Mysterous Wizard:
-So tell me!
-"You're gathering materials for the dark arts."
-"You signed a contract." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-10.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-10.htm deleted file mode 100644 index 213ccb24c6..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-10.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Where is your proof?
-"Lady Lidia controls all the dead of this earth, a power nearly equal to a god's! One must be granted authority by her to have power over the dead in any capacity." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-11.htm deleted file mode 100644 index 230df01102..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-11.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-So?
-"Nobody is allowed here without permission. That you're here means you have power at least equal to the Lord of the Forest of the Dead." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-12.htm deleted file mode 100644 index 21fc5db4a2..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-12.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-So I made a mistake. What's wrong with that?
-"It's impossible to have a real nonaggression contract in this situation!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-13.htm deleted file mode 100644 index 8a38c9aec4..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-13.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-History is filled with such contracts. Do you know why?
-"Nonaggression contracts are signed between two equal powers. It stays in effect only as long as it benefits them. If one party becomes weaker, the contract is nullified." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-14.htm deleted file mode 100644 index 5afd343473..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-14.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Go on.
-"The Lord of the Dead has absolute power here, why would she sign a contract with you? You must have power equal to hers, or else she reaps some benefit from not fighting you." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-05.htm deleted file mode 100644 index cd8e642e66..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-I don't know what it says, I wouldn't dream of reading the letter meant for my lord!
I was told you had something for me?
-"Here's the hairpin." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-06.htm deleted file mode 100644 index f5d6e5d1e1..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-06.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-This is Neidrahu's work, a hairpin of Moon Face Flower. How beautiful!
-"Wait!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-07.htm deleted file mode 100644 index e18e6f2e19..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-07.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-What is it?
-"What do you know about Neidrahu?" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-08.htm deleted file mode 100644 index 419332f64f..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-08.htm +++ /dev/null @@ -1,7 +0,0 @@ -Maid of Lidia:
-Did I say Neidrahu?
-What do you know of the name?
-"It's a tree."
-"It's a corpse."
-"It's a Mystic." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-11.htm deleted file mode 100644 index c8a6252f19..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-11.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-What kind of Mystic was he?
-"A Mystic of Dark Arts!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-12.htm deleted file mode 100644 index 7a120f5098..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-12.htm +++ /dev/null @@ -1,5 +0,0 @@ -Maid of Lidia:
-Oh! Only Lord Alfred and Lady Lidia know. Even Einhalder thinks he's an ordinary Mystic! How do you know of this?
-"I read the diary."
-"How do you know?" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-13.htm deleted file mode 100644 index 90629913af..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-13.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-Did you read of the contract between Neidrahu and my lady in the diary?
-"Now you must tell me what you know!" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-14.htm deleted file mode 100644 index 156ac86a60..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-14.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-How do you know about Neidrahu? Are you the last survivor? If so, you'll never get out of this forest alive...or dead!
-"I read the diary." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/Q024_InhabitantsOfTheForrestOfTheDead.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/Q024_InhabitantsOfTheForrestOfTheDead.java deleted file mode 100644 index 1de2df9e4d..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/Q024_InhabitantsOfTheForrestOfTheDead.java +++ /dev/null @@ -1,284 +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 . - */ -package quests.Q024_InhabitantsOfTheForrestOfTheDead; - -import org.l2jmobius.gameserver.enums.ChatType; -import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; -import org.l2jmobius.gameserver.model.quest.State; -import org.l2jmobius.gameserver.network.serverpackets.CreatureSay; - -import quests.Q023_LidiasHeart.Q023_LidiasHeart; - -/** - * @author Mobius - * @note Based on python script - */ -public class Q024_InhabitantsOfTheForrestOfTheDead extends Quest -{ - // NPCs - private static final int DORIAN = 31389; - private static final int WIZARD = 31522; - private static final int TOMBSTONE = 31531; - private static final int MAID_OF_LIDIA = 31532; - // Items - private static final int LETTER = 7065; - private static final int HAIRPIN = 7148; - private static final int TOTEM = 7151; - private static final int FLOWER = 7152; - private static final int SILVER_CROSS = 7153; - private static final int BROKEN_SILVER_CROSS = 7154; - private static final int SUSPICIOUS_TOTEM = 7156; - - public Q024_InhabitantsOfTheForrestOfTheDead() - { - super(24, "Inhabitants of the Forest of the Dead"); - - addStartNpc(DORIAN); - addTalkId(DORIAN, TOMBSTONE, MAID_OF_LIDIA, WIZARD); - registerQuestItems(FLOWER, SILVER_CROSS, BROKEN_SILVER_CROSS, LETTER, HAIRPIN, TOTEM); - addAggroRangeEnterId(25332); - } - - @Override - public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) - { - final String htmltext = event; - final QuestState qs = player.getQuestState(getName()); - if (qs == null) - { - return htmltext; - } - - switch (event) - { - case "31389-02.htm": - { - qs.giveItems(FLOWER, 1); - qs.set("cond", "1"); - qs.playSound("ItemSound.quest_accept"); - qs.setState(State.STARTED); - break; - } - case "31389-11.htm": - { - qs.set("cond", "3"); - qs.playSound("ItemSound.quest_middle"); - qs.giveItems(SILVER_CROSS, 1); - break; - } - case "31389-16.htm": - { - qs.playSound("InterfaceSound.charstat_open_01"); - break; - } - case "31389-17.htm": - { - qs.takeItems(BROKEN_SILVER_CROSS, -1); - qs.giveItems(HAIRPIN, 1); - qs.set("cond", "5"); - break; - } - case "31522-03.htm": - { - qs.takeItems(TOTEM, -1); - break; - } - case "31522-07.htm": - { - qs.set("cond", "11"); - break; - } - case "31522-19.htm": - { - qs.giveItems(SUSPICIOUS_TOTEM, 1); - qs.rewardExpAndSp(242105, 22529); - qs.exitQuest(true); - qs.playSound("ItemSound.quest_finish"); - break; - } - case "31531-02.htm": - { - qs.playSound("ItemSound.quest_middle"); - qs.set("cond", "2"); - qs.takeItems(FLOWER, -1); - break; - } - case "31532-04.htm": - { - qs.playSound("ItemSound.quest_middle"); - qs.giveItems(LETTER, 1); - qs.set("cond", "6"); - break; - } - case "31532-06.htm": - { - qs.takeItems(HAIRPIN, -1); - qs.takeItems(LETTER, -1); - break; - } - case "31532-16.htm": - { - qs.playSound("ItemSound.quest_middle"); - qs.set("cond", "9"); - break; - } - } - return htmltext; - } - - @Override - public String onTalk(NpcInstance npc, PlayerInstance player) - { - String htmltext = getNoQuestMsg(); - final QuestState qs = player.getQuestState(getName()); - if (qs == null) - { - return htmltext; - } - - final int npcId = npc.getNpcId(); - final int state = qs.getState(); - if (state == State.COMPLETED) - { - if (npcId == WIZARD) - { - htmltext = "31522-20.htm"; - } - else - { - htmltext = getAlreadyCompletedMsg(); - } - } - final int cond = qs.getInt("cond"); - if (npcId == DORIAN) - { - if (state == State.CREATED) - { - final QuestState qs2 = player.getQuestState(Q023_LidiasHeart.class.getSimpleName()); - if (qs2 != null) - { - if ((qs2.getState() == State.COMPLETED) && (player.getLevel() >= 65)) - { - htmltext = "31389-01.htm"; - } - else - { - htmltext = "31389-00.htm"; - } - } - else - { - htmltext = "31389-00.htm"; - } - } - else if (cond == 1) - { - htmltext = "31389-03.htm"; - } - else if (cond == 2) - { - htmltext = "31389-04.htm"; - } - else if (cond == 3) - { - htmltext = "31389-12.htm"; - } - else if (cond == 4) - { - htmltext = "31389-13.htm"; - } - else if (cond == 5) - { - htmltext = "31389-18.htm"; - } - } - else if (npcId == TOMBSTONE) - { - if (cond == 1) - { - qs.playSound("AmdSound.d_wind_loot_02"); - htmltext = "31531-01.htm"; - } - else if (cond == 2) - { - htmltext = "31531-03.htm"; - } - } - else if (npcId == MAID_OF_LIDIA) - { - if (cond == 5) - { - htmltext = "31532-01.htm"; - } - else if (cond == 6) - { - if ((qs.getQuestItemsCount(LETTER) > 0) && (qs.getQuestItemsCount(HAIRPIN) > 0)) - { - htmltext = "31532-05.htm"; - } - else - { - htmltext = "31532-07.htm"; - } - } - else if (cond == 9) - { - htmltext = "31532-16.htm"; - } - } - else if (npcId == WIZARD) - { - if (cond == 10) - { - htmltext = "31522-01.htm"; - } - else if (cond == 11) - { - htmltext = "31522-08.htm"; - } - } - return htmltext; - } - - @Override - public String onAggroRangeEnter(NpcInstance npc, PlayerInstance player, boolean isPet) - { - if (isPet) - { - npc.getAttackByList().remove(player.getPet()); - } - else - { - npc.getAttackByList().remove(player); - final QuestState qs = player.getQuestState(getName()); - if ((qs != null) && (qs.getQuestItemsCount(SILVER_CROSS) > 0)) - { - qs.takeItems(SILVER_CROSS, -1); - qs.giveItems(BROKEN_SILVER_CROSS, 1); - qs.set("cond", "4"); - for (PlayerInstance nearby : npc.getKnownList().getKnownPlayers().values()) - { - nearby.sendPacket(new CreatureSay(npc.getObjectId(), ChatType.GENERAL, npc.getName(), "That sign!")); - } - } - } - return super.onAggroRangeEnter(npc, player, isPet); - } -} \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java index 251f9627d1..74c41c00e5 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.model.quest.State; import org.l2jmobius.gameserver.network.serverpackets.CreatureSay; -import quests.Q024_InhabitantsOfTheForrestOfTheDead.Q024_InhabitantsOfTheForrestOfTheDead; +import quests.Q024_InhabitantsOfTheForestOfTheDead.Q024_InhabitantsOfTheForestOfTheDead; /** * @author Mobius @@ -240,7 +240,7 @@ public class Q025_HidingBehindTheTruth extends Quest { if (npcId == BENEDICT) { - final QuestState qs2 = player.getQuestState(Q024_InhabitantsOfTheForrestOfTheDead.class.getSimpleName()); + final QuestState qs2 = player.getQuestState(Q024_InhabitantsOfTheForestOfTheDead.class.getSimpleName()); if (qs2 != null) { if ((qs2.getState() == State.COMPLETED) && (player.getLevel() >= 66)) diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java index e18fa05b30..e05247f7d4 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java @@ -28,7 +28,7 @@ public class Q027_ChestCaughtWithABaitOfWind extends Quest { // NPCs private static final int LANOSCO = 31570; - private static final int SHALING = 31442; + private static final int SHALING = 31434; // Items private static final int LARGE_BLUE_TREASURE_CHEST = 6500; diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm index 800e942b99..0c630986eb 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm @@ -10,7 +10,8 @@ Now choose your second number.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm index b39aa7b513..059a7714ae 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm @@ -10,7 +10,8 @@ Now choose your third number.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm index 0db8e958b4..19e9c70204 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm index 49ebcb3e55..7bfdb95817 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm @@ -10,7 +10,8 @@ Make your fourth choice. Choose carefully.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm index 58ca746e56..4e20cc75ba 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm @@ -1,5 +1,5 @@ Warehouse Freightman Cliff:
-You have already chosen that number. Make your third choice again.
+You have already chosen that number. Make your third choice again.
1     2     3     @@ -10,7 +10,8 @@ You have already chosen that number. Make your third choice again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm index 127e96ca49..2cd8d9850c 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm @@ -10,7 +10,8 @@ You're almost done. Now, choose your fifth number carefully.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm index eaadbdc98a..769465047d 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm @@ -10,7 +10,8 @@ You have already chosen that number. Make your fourth choice again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm index 157cd9891e..6c1ec048a6 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm @@ -10,7 +10,8 @@ Now make your final choice.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm index 32f1c269f3..1b25bf0f46 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm @@ -10,7 +10,8 @@ I realize this game is a bit confusing at first. You have selected a number that 8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm index 46867f5160..55552d9fe6 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm @@ -4,7 +4,8 @@ You've created 3 lines! The red-colored numbers on the bingo panel below are the .
.
Puff puff... it's very dusty. Here it is! Do you like it?
- +
+ @@ -16,5 +17,6 @@ Puff puff... it's very dusty. Here it is! Do you like it?
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm index 183221962a..5c8672bc41 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm @@ -1,6 +1,7 @@ Warehouse Freightman Cliff:
Hmm... Unfortunately, your numbers did not create 3 lines. Better luck next time. The red-colored numbers on the panel are the ones you chose.
- +
+ @@ -12,5 +13,6 @@ Hmm... Unfortunately, your numbers did not create 3 lines. Better luck next time -
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm index 64feba2a6c..1970858f36 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm @@ -5,7 +5,8 @@ Usually, I don't give a reward when you don't create a single line, but I feel s .
.
Take this. I hope it will help improve your luck!
- +
+ @@ -17,5 +18,6 @@ Take this. I hope it will help improve your luck!
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm index 324e6f6db4..bc3fa18644 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm @@ -10,7 +10,8 @@ You have already chosen that number. Please choose your sixth number again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm index 4f138498b7..7f9314213d 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm @@ -10,7 +10,8 @@ Now, choose your second number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm index 3c34266dd4..fe47fc1a32 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm @@ -10,7 +10,8 @@ Now, choose your third number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm index 462525c1a7..b9436cf2e7 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your second number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm index 7f6b8bb7c5..ef9d8d6eee 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm @@ -10,7 +10,8 @@ Now choose your fourth number!
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm index 2d03aa511d..2b67b2e67c 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your third number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm index d913c516ae..ce2702c111 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm @@ -10,7 +10,8 @@ Now, choose your fifth number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,4 +23,5 @@ For your information, your current selection is shown below.
-
\ No newline at end of file + + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm index 917813f54c..e7b4c07e46 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your fourth number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm index f0927fefe4..6aaec37619 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm @@ -10,7 +10,8 @@ Now choose your final number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm index 3d0c770d36..6edf1ee292 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your fifth number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm index eb53ea6795..088ffa5550 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm @@ -4,7 +4,8 @@ You've created 3 lines! The red colored numbers on the bingo panel below are the .
.
Puff puff... it's very dusty. Here it is. Do you like it?
- +
+ @@ -16,5 +17,6 @@ Puff puff... it's very dusty. Here it is. Do you like it?
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm index 5df0f12c1a..dd752f19a5 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm @@ -1,6 +1,7 @@ Warehouse Chief Baxt:
Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose.
- +
+ @@ -12,5 +13,6 @@ Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers -
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm index c367f4f84e..2956ffaf5b 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm @@ -5,7 +5,8 @@ Usually, I don't give a reward when you don't create a single line, but since I' .
.
Here, take this. I hope it will bring you better luck in the future.
- +
+ @@ -17,5 +18,6 @@ Here, take this. I hope it will bring you better luck in the future.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm index f2a3c7e7f9..47d40f2f61 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm @@ -10,7 +10,8 @@ You've already chosen that number. Please choose your sixth number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java index dabd236f1f..6c89f5d941 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java @@ -68,48 +68,48 @@ public class Q384_WarehouseKeepersPastime extends Quest CHANCES.put(20605, 150000); // Weird Drake } - private static final int[][] INDEX_MAP = + private static final int[][] MATRICE_3X3_LINES = new int[][] { { 1, 2, 3 - }, // line 1 + }, { 4, 5, 6 - }, // line 2 + }, { 7, 8, 9 - }, // line 3 + }, { 1, 4, 7 - }, // column 1 + }, { 2, 5, 8 - }, // column 2 + }, { 3, 6, 9 - }, // column 3 + }, { 1, 5, 9 - }, // diagonal 1 + }, { 3, 5, 7 - }, // diagonal 2 + } }; private static final int[][] _rewards_10_win = @@ -302,10 +302,10 @@ public class Q384_WarehouseKeepersPastime extends Quest else if (event.startsWith("select_3-")) // pick #6 { // Stores the current event for future use. - final String number = event.substring(9); + String number = event.substring(9); // Restore the player array. - final String playerArray = st.getString("playerArray"); + String playerArray = st.getString("playerArray"); // Verify if the given number is already on the player array, if yes, it's invalid, otherwise calculate reward. if (Util.contains(playerArray.split(""), number)) @@ -315,23 +315,28 @@ public class Q384_WarehouseKeepersPastime extends Quest else { // No need to store the String on player db, but still need to update it. - final String[] playerChoice = playerArray.concat(number).split(""); + String playerChoice = playerArray.concat(number); // Transform the generated board (9 string length) into a 2d matrice (3x3 int). - final String[] board = st.getString("board").split(""); + String[] board = ((String) st.get("board")).split(""); // test for all line combination int winningLines = 0; - for (int[] map : INDEX_MAP) + int[][] var12 = MATRICE_3X3_LINES; + int var13 = var12.length; + int var14; + for (var14 = 0; var14 < var13; ++var14) { - // test line combination + int[] map = var12[var14]; boolean won = true; - for (int index : map) - { - won &= Util.contains(playerChoice, board[index]); - } + int[] var17 = map; + int var18 = map.length; - // cut the loop, when you won + for (int var19 = 0; var19 < var18; ++var19) + { + int index = var17[var19]; + won &= playerChoice.contains(board[index - 1]); + } if (won) { winningLines++; @@ -377,8 +382,8 @@ public class Q384_WarehouseKeepersPastime extends Quest for (int i = 1; i < 10; i++) { - htmltext = htmltext.replace("", board[i]); - htmltext = htmltext.replace("", (Util.contains(playerChoice, board[i])) ? "ff0000" : "ffffff"); + htmltext = htmltext.replace("", board[i - 1]); + htmltext = htmltext.replace("", playerChoice.contains(board[i - 1]) ? "ff0000" : "ffffff"); } } } @@ -390,7 +395,7 @@ public class Q384_WarehouseKeepersPastime extends Quest public String onTalk(NpcInstance npc, PlayerInstance player) { String htmltext = getNoQuestMsg(); - final QuestState st = player.getQuestState(getName()); + QuestState st = player.getQuestState(getName()); if (st == null) { return htmltext; @@ -399,21 +404,27 @@ public class Q384_WarehouseKeepersPastime extends Quest switch (st.getState()) { case State.CREATED: - htmltext = (player.getLevel() < 40) ? "30182-04.htm" : "30182-01.htm"; + { + htmltext = player.getLevel() < 40 ? "30182-04.htm" : "30182-01.htm"; break; - + } case State.STARTED: + { switch (npc.getNpcId()) { - case CLIFF: - htmltext = (st.getQuestItemsCount(MEDAL) < 10) ? "30182-06.htm" : "30182-07.htm"; + case 30182: + { + htmltext = st.getQuestItemsCount(5964) < 10 ? "30182-06.htm" : "30182-07.htm"; break; - - case BAXT: - htmltext = (st.getQuestItemsCount(MEDAL) < 10) ? "30685-01.htm" : "30685-02.htm"; + } + case 30685: + { + htmltext = st.getQuestItemsCount(5964) < 10 ? "30685-01.htm" : "30685-02.htm"; break; + } } break; + } } return htmltext; @@ -427,20 +438,18 @@ public class Q384_WarehouseKeepersPastime extends Quest { return null; } - partyMember.getQuestState(getName()).dropItems(MEDAL, 1, 0, CHANCES.get(npc.getNpcId())); - return null; } private static final String fillBoard(QuestState st, String htmltext) { - final String[] playerArray = st.getString("playerArray").split(""); - final String[] board = st.getString("board").split(""); String result = htmltext; - for (int i = 1; i < 10; i++) + String playerArray = (String) st.get("playerArray"); + String[] board = ((String) st.get("board")).split(""); + for (int i = 1; i < 10; ++i) { - result = result.replace("", (Util.contains(playerArray, board[i])) ? board[i] : "?"); + result = result.replace("", playerArray.contains(board[i - 1]) ? board[i - 1] : "?"); } return result; } diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-01.htm new file mode 100644 index 0000000000..ea636a91cc --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-01.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+The Iron Gate Guild is dedicated to keeping its customers' goods safe and sound. Our warehouses are virtual fortresses, strong and solid.
+We now use Infernium for our warehouse doors, locks and exterior walls. There's nothing stronger that we know of. But...
+"But what?" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-03.htm new file mode 100644 index 0000000000..8a823942cb --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-03.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+Something happened a few days ago. The Blacksmith who was refining Infernium was attacked by monsters, and all the Infernium ore were stolen. That ore was going to be used to construct a new, state-of-the-art warehouse. We must retrieve them at all costs!
+Will you help us retrieve the Infernium ore? We will gladly pay you...
+Say yes. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-04.htm new file mode 100644 index 0000000000..cdb488bf57 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-04.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+The Iron Gate Guild is dedicated to keeping its customers' goods safe and sound. Our warehouses are virtual fortresses, strong and solid.
+We now use Infernium for our warehouse doors, locks and exterior walls. There's nothing stronger that we know of. But... Eh, no, never mind. It's too early to tell you this story.
+(Only characters who are level 58 or higher may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-05.htm new file mode 100644 index 0000000000..dc9632ffb7 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-05.htm @@ -0,0 +1,4 @@ +Warehouse Keeper Romp:
+Good! For every 100 Infernium Ores you recover, I will give you a chance to play bingo. If you do well in bingo you will also receive a nice reward: a necessary ingredient for the manufacture of an A-Grade weapon. Nice, eh?
+Oh! I forgot to tell you something important. From the footprints, fur and eyewitness testimony, the monsters that attacked the blacksmith shop seem to be Glow Wisps, Marsh Predators, Hames Orc Snipers, Cursed Guardians, Hames Orc Overlords, Wretched Archers, Grave Lichs, Grave Predators, Crimson Drakes, Kadios, Fallen Orc Shamans, Sharp Talon Tigers, Past Knights, Hungered Corpses, Bloody Lords, Bloody Ghosts, Dark Guards, Death Agents, Spiteful Soul Leaders, Spiteful Soul Wizards, Giant's Shadows, Past Creatures, Warriors of Ancient Times and Soldiers of Ancient Times. Please help us -- our Guild's pride is at stake! + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-06.htm new file mode 100644 index 0000000000..46d8621200 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-06.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+As I told you, hunt Glow Wisps, Marsh Predators, Hames Orc Snipers, Cursed Guardians, Hames Orc Overlords, Wretched Archers, Grave Lichs, Grave Predators, Crimson Drakes, Kadios, Fallen Orc Shamans, Sharp Talon Tigers, Past Knights, Hungered Corpses, Bloody Lords, Bloody Ghosts, Dark Guards, Death Agents, Spiteful Soul Leaders, Spiteful Soul Wizards, Giant's Shadows, Past Creatures, Warriors of Ancient Times and Soldiers of Ancient Times and bring back the Infernium Ores they stole. For every 100 Infernium Ores you recover, I will give you a chance to play bingo. If you do well in bingo you will also receive a nice reward: a necessary ingredient for the manufacture of an A-Grade weapon. Nice, eh? Please hurry-- our Guild's pride is at stake!
+Listen to the rules of bingo.
+Say you want to quit. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-07.htm new file mode 100644 index 0000000000..cf4c17ded6 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-07.htm @@ -0,0 +1,6 @@ +Warehouse Keeper Romp:
+Did you recover the Infernium Ores? Then let's play bingo!
+Oh, make sure you have enough spaces in your inventory before we start playing. I'd hate for you to do well and then not be able to actually receive the item!
+Use 100 Infernium Ores to play bingo.
+Listen to the rules of bingo. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-08.htm new file mode 100644 index 0000000000..55ebae8402 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-08.htm @@ -0,0 +1,4 @@ +Warehouse Keeper Romp:
+Ah well. You haven't yet recovered all the stolen Infernium Ores, but I suppose you have other concerns to deal with, too...
+If you change your mind and want to help us again, please come see me. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-09.htm new file mode 100644 index 0000000000..d79ec4dd49 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-09.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+I'll place numbers 1-9 on a 3x3 number pad. Then you need to pick 6 numbers out of 1-9. When you have finished making your choices, we count how many horizontal, vertical and diagonal lines were created by your choice of numbers. Is that clear enough? I think you'll understand once you play.
+If your numbers make 3 lines, I'll give you a reward.
+Back + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-11.htm new file mode 100644 index 0000000000..f4dce8ac5b --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-11.htm @@ -0,0 +1,4 @@ +Warehouse Keeper Romp:
+Well? It looks like you have only a few Infernium Ores here. Is this all you brought?
+Please go back and collect more before seeing me again. + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-12.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-12.htm new file mode 100644 index 0000000000..837bdabe32 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-12.htm @@ -0,0 +1,14 @@ +Warehouse Keeper Romp:
+I placed numbers ranging from 1-9 on a numberpad. Of course I won't show you what they are!
+But I will take 100 Infernium Ores in advance. If you quit midgame, I won't give them back! Understand?
+Now it's time for you to pick 6 numbers ranging from 1-9. Pick your first number.
+1     +2     +3     +4     +5     +6     +7     +8     +9 + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-13.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-13.htm new file mode 100644 index 0000000000..716a986191 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-13.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Now, pick your second number.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-14.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-14.htm new file mode 100644 index 0000000000..0c37840128 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-14.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Ready to pick your third number?
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-15.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-15.htm new file mode 100644 index 0000000000..372834cd16 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-15.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+That number has been picked already. Pick the second number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-16.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-16.htm new file mode 100644 index 0000000000..f17e62af2f --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-16.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Time for the fourth number. Pick it well...
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-17.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-17.htm new file mode 100644 index 0000000000..550fae6cc4 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-17.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+That number has been picked already. Pick the third number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-18.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-18.htm new file mode 100644 index 0000000000..6bb1a8e49e --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-18.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+You're almost finished. Choose your fifth number carefully.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-19.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-19.htm new file mode 100644 index 0000000000..2c55a8a284 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-19.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+The number you have picked has already been chosen. Pick the fourth number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-20.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-20.htm new file mode 100644 index 0000000000..eec3437ea5 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-20.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Good! Now, it's time to pick your sixth and final number.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-21.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-21.htm new file mode 100644 index 0000000000..7013752a40 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-21.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Are you starting to get a little confused because of all the numbers? You chose one that has already been picked. Pick the fifth number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-22.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-22.htm new file mode 100644 index 0000000000..dcf7e53448 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-22.htm @@ -0,0 +1,20 @@ +Warehouse Keeper Romp:
+Ah! Congratulations! You can see your choices in red on the bingo pad below. As you can see, you made 3 lines. Well done. As promised, here is your reward.
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-23.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-23.htm new file mode 100644 index 0000000000..6106c7015e --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-23.htm @@ -0,0 +1,20 @@ +Warehouse Keeper Romp:
+Oh... You can see your choices in red on the bingo pad below. Unfortunately, you didn't end up with 3 lines. Better luck next time!
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-24.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-24.htm new file mode 100644 index 0000000000..4e0f66262d --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-24.htm @@ -0,0 +1,22 @@ +Warehouse Keeper Romp:
+You are a seriously unlucky person! Your choices are in red on the bingo pad below. As you can see, you didn't even make a single line! You know, that's actually harder to do than to complete all 3 lines.
+Usually, we only reward winners, but I want to do something nice for you to keep your spirits up.
+Here, take this. I hope it helps!
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-25.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-25.htm new file mode 100644 index 0000000000..c44efa8204 --- /dev/null +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/30843-25.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+The number you picked has already been chosen. Pick the sixth number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java index 1370fc76fd..302bb20a85 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java @@ -20,6 +20,7 @@ import java.util.HashMap; import java.util.Map; import org.l2jmobius.commons.util.Rnd; +import org.l2jmobius.commons.util.StringUtil; import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; import org.l2jmobius.gameserver.model.quest.Quest; @@ -27,196 +28,284 @@ import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.model.quest.State; /** - * Adapted from FirstTeam Interlude + * Adapted for StayOnly from python. */ public class Q386_StolenDignity extends Quest { private static final int ROMP = 30843; - private static final int STOLEN_INFERIUM_ORE = 6363; - private static final int REQUIRED_STOLEN_INFERIUM_ORE = 100; - private static final Map DROP_CHANCES = new HashMap<>(); + private static final int STOLEN_INFERNIUM_ORE = 6363; + private static final Map CHANCES = new HashMap<>(); static { - DROP_CHANCES.put(20670, 14); - DROP_CHANCES.put(20671, 14); - DROP_CHANCES.put(20954, 11); - DROP_CHANCES.put(20956, 13); - DROP_CHANCES.put(20958, 13); - DROP_CHANCES.put(20959, 13); - DROP_CHANCES.put(20960, 11); - DROP_CHANCES.put(20964, 13); - DROP_CHANCES.put(20969, 19); - DROP_CHANCES.put(20967, 18); - DROP_CHANCES.put(20970, 18); - DROP_CHANCES.put(20971, 18); - DROP_CHANCES.put(20974, 28); - DROP_CHANCES.put(20975, 28); - DROP_CHANCES.put(21001, 14); - DROP_CHANCES.put(21003, 18); - DROP_CHANCES.put(21005, 14); - DROP_CHANCES.put(21020, 16); - DROP_CHANCES.put(21021, 15); - DROP_CHANCES.put(21259, 15); - DROP_CHANCES.put(21089, 13); - DROP_CHANCES.put(21108, 19); - DROP_CHANCES.put(21110, 18); - DROP_CHANCES.put(21113, 25); - DROP_CHANCES.put(21114, 23); - DROP_CHANCES.put(21116, 25); + CHANCES.put(20970, 208000); + CHANCES.put(20971, 299000); + CHANCES.put(20958, 170000); + CHANCES.put(20960, 149000); + CHANCES.put(20963, 199000); + CHANCES.put(20670, 202000); + CHANCES.put(21114, 352000); + CHANCES.put(20959, 273000); + CHANCES.put(21020, 478000); + CHANCES.put(21258, 487000); + CHANCES.put(21003, 173000); + CHANCES.put(20969, 205000); + CHANCES.put(21108, 245000); + CHANCES.put(21005, 211000); + CHANCES.put(21116, 487000); + CHANCES.put(21113, 370000); + CHANCES.put(20954, 184000); + CHANCES.put(20671, 211000); + CHANCES.put(21110, 260000); + CHANCES.put(20967, 257000); + CHANCES.put(20956, 216000); + CHANCES.put(21021, 234000); + CHANCES.put(21259, 487000); + CHANCES.put(20974, 440000); + CHANCES.put(20975, 390000); + CHANCES.put(21001, 214000); } - protected static final Map BINGOS = new HashMap<>(); - // @formatter:off - protected static final int[][] REWARDS_WIN = + private static final int[] REWARDS = new int[] { - {5529, 10}, {5532, 10}, {5533, 10}, {5534, 10}, {5535, 10}, {5536, 10}, {5537, 10}, {5538, 10}, {5539, 10}, {5541, 10}, {5542, 10}, - {5543, 10}, {5544, 10}, {5545, 10}, {5546, 10}, {5547, 10}, {5548, 10}, {8331, 10}, {8341, 10}, {8342, 10}, {8346, 10}, {8349, 10}, - {8712, 10}, {8713, 10}, {8714, 10}, {8715, 10}, {8716, 10}, {8717, 10}, {8718, 10}, {8719, 10}, {8720, 10}, {8721, 10}, {8722, 10} + 5529, + 5532, + 5533, + 5534, + 5535, + 5536, + 5537, + 5538, + 5539, + 5541, + 5542, + 5543, + 5544, + 5545, + 5546, + 5547, + 5548, + 8331, + 8341, + 8342, + 8349, + 8346 }; - protected static final int[][] REWARDS_LOSE = + public static final int[][] MATRICE_3X3_LINES = new int[][] { - {5529, 4}, {5532, 4}, {5533, 4}, {5534, 4}, {5535, 4}, {5536, 4}, {5537, 4}, {5538, 4}, {5539, 4}, {5541, 4}, {5542, 4}, - {5543, 4}, {5544, 4}, {5545, 4}, {5546, 4}, {5547, 4}, {5548, 4}, {8331, 4}, {8341, 4}, {8342, 4}, {8346, 4}, {8349, 4}, - {8712, 4}, {8713, 4}, {8714, 4}, {8715, 4}, {8716, 4}, {8717, 4}, {8718, 4}, {8719, 4}, {8720, 4}, {8721, 4}, {8722, 4} + { + 1, + 2, + 3 + }, + { + 4, + 5, + 6 + }, + { + 7, + 8, + 9 + }, + { + 1, + 4, + 7 + }, + { + 2, + 5, + 8 + }, + { + 3, + 6, + 9 + }, + { + 1, + 5, + 9 + }, + { + 3, + 5, + 7 + } }; - // @formatter:on public Q386_StolenDignity() { super(386, "Stolen Dignity"); - addStartNpc(ROMP); addTalkId(ROMP); - for (int killId : DROP_CHANCES.keySet()) - { - addKillId(killId); - } - } - - @Override - public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) - { - final QuestState st = player.getQuestState(getName()); - if (st == null) - { - return event; - } - - if ("warehouse_keeper_romp_q0386_05.htm".equalsIgnoreCase(event)) - { - st.setState(State.STARTED); - st.set("cond", "1"); - st.playSound("ItemSound.quest_accept"); - } - else if ("warehouse_keeper_romp_q0386_08.htm".equalsIgnoreCase(event)) - { - st.playSound("ItemSound.quest_finish"); - st.exitQuest(true); - } - else if ("game".equalsIgnoreCase(event)) - { - if (st.getQuestItemsCount(STOLEN_INFERIUM_ORE) < REQUIRED_STOLEN_INFERIUM_ORE) - { - return "warehouse_keeper_romp_q0386_11.htm"; - } - st.takeItems(STOLEN_INFERIUM_ORE, REQUIRED_STOLEN_INFERIUM_ORE); - final int char_obj_id = st.getPlayer().getObjectId(); - if (BINGOS.containsKey(char_obj_id)) - { - BINGOS.remove(char_obj_id); - } - final Bingo bingo = new Bingo(st); - BINGOS.put(char_obj_id, bingo); - return bingo.getDialog(""); - } - else if (event.contains("choice-")) - { - final int char_obj_id = st.getPlayer().getObjectId(); - if (!BINGOS.containsKey(char_obj_id)) - { - return null; - } - final Bingo bingo = BINGOS.get(char_obj_id); - return bingo.Select(event.replaceFirst("choice-", "")); - } - return event; + addKillId(CHANCES.keySet()); } @Override public String onTalk(NpcInstance npc, PlayerInstance player) { - final String htmltext = getNoQuestMsg(); - final QuestState st = player.getQuestState(getName()); + String htmltext = getNoQuestMsg(); + QuestState st = player.getQuestState("Q386_StolenDignity"); if (st == null) { return htmltext; } + switch (st.getState()) + { + case State.CREATED: + { + htmltext = player.getLevel() < 58 ? "30843-04.htm" : "30843-01.htm"; + break; + } + case State.STARTED: + { + htmltext = st.getQuestItemsCount(6363) < 100 ? "30843-06.htm" : "30843-07.htm"; + } + } - if (st.getState() != 1) + return htmltext; + } + + @Override + public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) + { + String htmltext = event; + QuestState st = player.getQuestState("Q386_StolenDignity"); + if (st == null) { - return (st.getQuestItemsCount(STOLEN_INFERIUM_ORE) < REQUIRED_STOLEN_INFERIUM_ORE) ? "warehouse_keeper_romp_q0386_06.htm" : "warehouse_keeper_romp_q0386_07.htm"; + return event; } - if (st.getPlayer().getLevel() < 58) + + if (event.equals("30843-05.htm")) { + st.setState(State.STARTED); + st.set("cond", "1"); + st.set("state", "1"); + st.playSound("ItemSound.quest_accept"); + } + else if (event.equals("30843-08.htm")) + { + st.playSound("ItemSound.quest_giveup"); st.exitQuest(true); - return "warehouse_keeper_romp_q0386_04.htm"; } - return "warehouse_keeper_romp_q0386_01.htm"; + else if (event.equals("30843-12.htm")) + { + if (st.getQuestItemsCount(6363) < 100) + { + htmltext = "30843-11.htm"; + } + else + { + st.set("board", StringUtil.scrambleString("123456789")); + st.takeItems(6363, 100); + } + } + else if (event.startsWith("select_1-")) + { + st.set("playerArray", event.substring(9)); + htmltext = fillBoard(st, getHtmlText("30843-13.htm")); + } + else + { + String number; + String playerArray; + if (event.startsWith("select_2-")) + { + number = event.substring(9); + playerArray = (String) st.get("playerArray"); + if (playerArray.contains(number)) + { + htmltext = fillBoard(st, getHtmlText("30843-" + (13 + (2 * playerArray.length())) + ".htm")); + } + else + { + st.set("playerArray", playerArray.concat(number)); + htmltext = fillBoard(st, getHtmlText("30843-" + (12 + (2 * playerArray.length())) + ".htm")); + } + } + else if (event.startsWith("select_3-")) + { + number = event.substring(9); + playerArray = (String) st.get("playerArray"); + if (playerArray.contains(number)) + { + htmltext = fillBoard(st, getHtmlText("30843-25.htm")); + } + else + { + String playerChoice = playerArray.concat(number); + String[] board = ((String) st.get("board")).split(""); + int winningLines = 0; + int[][] var11 = MATRICE_3X3_LINES; + int var12 = var11.length; + + for (int var13 = 0; var13 < var12; ++var13) + { + int[] map = var11[var13]; + boolean won = true; + int[] var16 = map; + int var17 = map.length; + + for (int var18 = 0; var18 < var17; ++var18) + { + int index = var16[var18]; + won &= playerChoice.contains(board[index - 1]); + } + + if (won) + { + ++winningLines; + } + } + + if (winningLines == 3) + { + htmltext = getHtmlText("30843-22.htm"); + st.rewardItems(REWARDS[Rnd.get(REWARDS.length)], 4); + } + else if (winningLines == 0) + { + htmltext = getHtmlText("30843-24.htm"); + st.rewardItems(REWARDS[Rnd.get(REWARDS.length)], 10); + } + else + { + htmltext = getHtmlText("30843-23.htm"); + } + + for (int i = 1; i < 10; ++i) + { + htmltext = htmltext.replace("", board[i - 1]); + htmltext = htmltext.replace("", playerChoice.contains(board[i - 1]) ? "ff0000" : "ffffff"); + } + } + } + } + + return htmltext; } @Override public String onKill(NpcInstance npc, PlayerInstance player, boolean isPet) { - final QuestState st = player.getQuestState(getName()); - if (st == null) + final PlayerInstance partyMember = getRandomPartyMemberState(player, npc, State.STARTED); + if (partyMember == null) { return null; } - - final Integer chance = DROP_CHANCES.get(npc.getNpcId()); - if ((chance != null) && (Rnd.get(100) < chance)) - { - st.giveItems(STOLEN_INFERIUM_ORE, 1); - } + partyMember.getQuestState(getName()).dropItems(STOLEN_INFERNIUM_ORE, 1, 0, CHANCES.get(npc.getNpcId())); return null; } - public static class Bingo extends ai.others.Bingo + private static final String fillBoard(QuestState st, String htmltext) { - protected static final String MSG_BEGIN = "I've arranged the numbers 1 through 9 on the grid. Don't peek!
Let me have the " + REQUIRED_STOLEN_INFERIUM_ORE + " Infernium Ores. Too many players try to run away without paying when it becomes obvious that they're losing...
OK, select six numbers between 1 and 9. Choose the %choicenum% number."; - protected static final String MSG_AGAIN = "You've already chosen that number. Make your %choicenum% choice again."; - protected static final String MSG_ZERO_LINES = "Wow! How unlucky can you get? Your choices are highlighted in red below. As you can see, your choices didn't make a single line! Losing this badly is actually quite rare!
You look so sad, I feel bad for you... Wait here...
.
.
.
Take this... I hope it will bring you better luck in the future."; - protected static final String MSG_THREE_LINES = "Excellent! As you can see, you've formed three lines! Congratulations! As promised, I'll give you some unclaimed merchandise from the warehouse. Wait here...
.
.
.
Whew, it's dusty! OK, here you go. Do you like it?"; - protected static final String MSG_LOSE = "Oh, too bad. Your choices didn't form three lines. You should try again... Your choices are highlighted in red."; - private static final String TEMPLATE_CHOICE = "%n%     "; - - private final QuestState _qs; - - public Bingo(QuestState qs) + String result = htmltext; + String playerArray = (String) st.get("playerArray"); + String[] board = ((String) st.get("board")).split(""); + for (int i = 1; i < 10; ++i) { - super(TEMPLATE_CHOICE); - _qs = qs; - } - - @Override - protected String getFinal() - { - final String result = super.getFinal(); - if (lines == 3) - { - reward(REWARDS_WIN); - } - else if (lines == 0) - { - reward(REWARDS_LOSE); - } - BINGOS.remove(_qs.getPlayer().getObjectId()); - return result; - } - - private void reward(int[][] rew) - { - final int[] r = rew[Rnd.get(rew.length)]; - _qs.giveItems(r[0], r[1]); + result = result.replace("", playerArray.contains(board[i - 1]) ? board[i - 1] : "?"); } + return result; } } diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_01.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_01.htm deleted file mode 100644 index 1e5f9e0f57..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-We of the Iron Gate Guild work hard every day to keep the items deposited by customers safe and secure. We're always looking for new ways to improve our security.
Recently we've been using infernium to reinforce our doors, locks and outer walls. You can have the utmost confidence in the strength of our warehouse, the apex of workmanship of the Iron Gate Guild. But...
-"But...?" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_03.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_03.htm deleted file mode 100644 index 48165b7dcf..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_03.htm +++ /dev/null @@ -1,5 +0,0 @@ -Warehouse Freightman Romp:
-Recently the blacksmith shop that had been refining infernium for us was attacked by monsters and all of the ore was stolen. We must get it back...
-Will you help us recover the Infernium Ore? You'll be well-rewarded.
-"I'll help." - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_04.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_04.htm deleted file mode 100644 index 984a9d3e00..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_04.htm +++ /dev/null @@ -1,5 +0,0 @@ -Warehouse Freightman Romp:
-We of the Iron Gate Guild work hard every day to keep the items deposited by customers safe and secure. We're always looking for new ways to improve our security.
-Recently we've been using infernium to reinforce our doors, locks and outer walls. You can have the utmost confidence in the strength of our warehouse, the apex of workmanship of the Iron Gate Guild. It's the apex of workmanship of the Iron Gate Guild. But... No, I'm afraid you aren't ready for this...
-(This quest may only be undertaken by characters of level 58 and above.) - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_05.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_05.htm deleted file mode 100644 index 38b1d49c8a..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-Good idea! I will give you a chance to play a bingo game for every 100 stolen Infernium Ores you recover. Of course, since the honor of our guild depends on it, you will also be well-rewarded if you do well in the bingo game. We will give you one of the necessary ingredients to manufacture an A-Grade weapon. How about it? Interested?
-Oh! I forgot to tell you something important. From the footprints, fur and the testimony of the witness, the monsters that attacked the blacksmith shop seem to be a Glow Wisp, Marsh Predator, Hames Orc Sniper, Cursed Guardian, Hames Orc Overlord, Wretched Archer, Grace Lich, Grave Predator, Crimson Drake, Kadios, Fallen Orc Shaman, Sharp Talon Tiger, Past Knight, Hungered Corpse, Bloody Lord, Bloody Ghost, Dark Guard, Death Agent, Spiteful Soul Leader, Spiteful Soul Wizard, Giant's Shadow, Past Creature, Warrior of Ancient Timesand Soldier of Ancient Times. Good luck! - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_06.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_06.htm deleted file mode 100644 index f50396472a..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_06.htm +++ /dev/null @@ -1,5 +0,0 @@ -Warehouse Freightman Romp:
-As I told you before, defeat the Glow Wisp, Marsh Predator, Hames Orc Sniper, Cursed Guardian, Hames Orc Overlord, Wretched Archer, Grace Lich, Grave Predator, Crimson Drake, Kadios, Fallen Orc Shaman, Sharp Talon Tiger, Past Knight, Hungered Corpse, Bloody Lord, Bloody Ghost, Dark Guard, Death Agent, Spiteful Soul Leader, Spiteful Soul Wizard, Giant's Shadow, Past Creature, Warrior of Ancient Times and Soldier of Ancient Times and bring back the Infernium Ores they stole. I will give you a chance to play a bingo game for every 100 Infernium Ores you bring. Of course, since the honor of our guild depends on it, you will also be well-rewarded if you do well in the bingo game. We will give you one of the necessary ingredients to manufacture an A-Grade weapon. How about it? Interested? Then hurry up!
-Listen to a description of the rules.
-Say you want to quit. - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_07.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_07.htm deleted file mode 100644 index ae790d8cbe..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_07.htm +++ /dev/null @@ -1,6 +0,0 @@ -Warehouse Freightman Romp:
-Have you brought me the Infernium Ore? Then let's play Bingo!
-Oh, by the way, before you start playing Bingo, make sure that you have enough room in your inventory. It would be a shame if you weren't able to carry away all your winnings, wouldn't it?
-Bet 100 Infernium Ore and play Bingo
-"How do you play Bingo?" - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_08.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_08.htm deleted file mode 100644 index d1d30e0e1d..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_08.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-Oh, how disappointing! You haven't recovered all of the Stolen Infernium Ore. I suppose you have an excuse for your abject failure...
-If you want to help us again, come back anytime. - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09.htm deleted file mode 100644 index bcdc46809c..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-I've arranged the numbers 1-9 on a 3 x 3 grid. You must choose six numbers between 1 and 9. If your selections create 3 vertical, horizontal or diagonal lines, you win! If you don't understand yet, it should become clearer when we play a game...
-Go back. - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09a.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09a.htm deleted file mode 100644 index efc89fb473..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09a.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-I will arrange the numbers 1-9 randomly on the panel. Don't peek! Next you'll choose 6 numbers between 1 and 9. If your numbers form 3 lines, either horizontal, vertical or diagonal, you win! Do you understand? Once we get started, you'll get it...
-Oh, did I mention that you get a prize from the warehouse if you win? - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_11.htm b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_11.htm deleted file mode 100644 index e901827208..0000000000 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_11.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-You don't have enough infernium. Have you lost something?
-Come back when you have more. - \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/QuestMasterHandler.java index 296262d225..1d27ebddf8 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -42,7 +42,7 @@ import quests.Q020_BringUpWithLove.Q020_BringUpWithLove; import quests.Q021_HiddenTruth.Q021_HiddenTruth; import quests.Q022_TragedyInVonHellmannForest.Q022_TragedyInVonHellmannForest; import quests.Q023_LidiasHeart.Q023_LidiasHeart; -import quests.Q024_InhabitantsOfTheForrestOfTheDead.Q024_InhabitantsOfTheForrestOfTheDead; +import quests.Q024_InhabitantsOfTheForestOfTheDead.Q024_InhabitantsOfTheForestOfTheDead; import quests.Q025_HidingBehindTheTruth.Q025_HidingBehindTheTruth; import quests.Q027_ChestCaughtWithABaitOfWind.Q027_ChestCaughtWithABaitOfWind; import quests.Q028_ChestCaughtWithABaitOfIcyAir.Q028_ChestCaughtWithABaitOfIcyAir; @@ -346,7 +346,7 @@ public class QuestMasterHandler Q021_HiddenTruth.class, Q022_TragedyInVonHellmannForest.class, Q023_LidiasHeart.class, - Q024_InhabitantsOfTheForrestOfTheDead.class, + Q024_InhabitantsOfTheForestOfTheDead.class, Q025_HidingBehindTheTruth.class, Q027_ChestCaughtWithABaitOfWind.class, Q028_ChestCaughtWithABaitOfIcyAir.class, diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/quest/Quest.java index d6797069f1..8bd64cf635 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/quest/Quest.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/gameserver/model/quest/Quest.java @@ -873,6 +873,18 @@ public class Quest extends ManagedScript } } + /** + * Add this quest to the list of quests that the passed mob will respond to for Kill Events. + * @param killIds A serie of ids. + */ + public void addKillId(Collection killIds) + { + for (int killId : killIds) + { + addEventId(killId, EventType.ON_KILL); + } + } + /** * Add this quest to the list of quests that the passed npc will respond to for Talk Events. * @param talkId : ID of the NPC diff --git a/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/spawnlist.sql b/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/spawnlist.sql index f1cf4bcae9..9ad625def2 100644 --- a/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/spawnlist.sql +++ b/L2J_Mobius_C6_Interlude/dist/db_installer/sql/game/spawnlist.sql @@ -38049,4 +38049,8 @@ INSERT INTO `spawnlist` VALUES (NULL,'innadril_castle_npc',1,'35653',116253,249588,-786,0,0,41905,60,0,0), (NULL,'goddard_castle_npc',1,'35654',147232,-49328,-2240,0,0,16384,60,0,0), (NULL,'rune_castle_npc',1,'35655',10280,-48766,-546,0,0,182,60,0,0), -(NULL,'schuttgart_castle_npc',1,'35656',77320,-153372,-512,0,0,16384,60,0,0); \ No newline at end of file +(NULL,'schuttgart_castle_npc',1,'35656',77320,-153372,-512,0,0,16384,60,0,0); + +-- Dr. Chaos Secret Bookshelf -- +INSERT INTO `spawnlist` VALUES +(NULL,'dr_chaos_bookshelf', 1, '32045', 96313, -110455, -3340, 0, 0, 50600, 60, 0, 0); diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/7064.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/7064.htm new file mode 100644 index 0000000000..6ef1b78776 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/7064.htm @@ -0,0 +1,6 @@ +Lidia's Diary:
+The eighth day of the month of Shilen.

+The comet burns brighter than ever! +I hope it's not true what they say about bad things always happening in the month of Shilen!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/8059.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/8059.htm new file mode 100644 index 0000000000..45326d501c --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/8059.htm @@ -0,0 +1,4 @@ +Research Log:
+The Research Report is unlocked. Dr. Chaos' handsome signature is on the cover.
+Read the report + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-02.htm new file mode 100644 index 0000000000..a6b90ab58d --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-02.htm @@ -0,0 +1,9 @@ +Lidia's Diary:
+The tenth day of the month of Shilen.

+Father's been very busy lately. +He and my brother stay up talking late into the night! +Visitors came this afternoon. +Usually, he would have offered them refreshments and small talk, but today he just escorted them directly into his den! +What's gotten into him?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-03.htm new file mode 100644 index 0000000000..478ad051f2 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-03.htm @@ -0,0 +1,8 @@ +Lidia's Diary:
+The thirteenth day of the month of Shilen.

+I met a stranger named Nidrah today! +He has a gorgeous black robe and a very impressive mustache! +Rose says he's a Dark Mage! +What's he doing here?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-04.htm new file mode 100644 index 0000000000..f20bed5392 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-04.htm @@ -0,0 +1,8 @@ +Lidia Diary:
+The twenty-second day of the month of Shilen.

+I overheard my father talking while I was serving tea to the guest.
+He was going on and on about starting a revolution! +What is he thinking?
+We lost too much in the last war, even poor Rose's only brother!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-05.htm new file mode 100644 index 0000000000..60d5edad3b --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-05.htm @@ -0,0 +1,7 @@ +Lidia Diary:
+the twenty-third day of Shilen.

+Father's spending too much time with Nidrah! +He's neglecting the territory and he's always angry! +Like he's got something to prove!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06.htm new file mode 100644 index 0000000000..d447296773 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06.htm @@ -0,0 +1,11 @@ +Lidia's Diary:
+The twenty-fourth day of Shilen.

+Rose delivered my invitation to Nidrah, and he accepted too easily!
+I was so rushed when I made the preparations! +I must've made a thousand mistakes, but he never complained once! +Was he just being nice? +Or maybe he didn't care!
+He told me that he was here on business; business having nothing to do with our family. +What is he up to?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06a.htm new file mode 100644 index 0000000000..ce11289a69 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06a.htm @@ -0,0 +1,14 @@ +Lidia's Diary:
+The thirtieth day of the month of Shilen.

+Tomorrow's the big day! +I wasn't able to talk Father out of it. +Nidrah's words just made too much sense!
+The royal authority of Rune has been tenuous for ages, and something must be done! +Brother Eilhalder said that our family's primary role is to protect Rune itself, not the royal family!
+I'm not sure I believe all that...
+Nidrah came to me this evening. +He told me that no matter what I decided, I must always show courage in terrible times. +What did he mean by that? +I've always been courageous!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06b.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06b.htm new file mode 100644 index 0000000000..140af6fc53 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-06b.htm @@ -0,0 +1,4 @@ +Lidia's Diary:
+I was betrayed!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-07.htm new file mode 100644 index 0000000000..7999a24874 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-07.htm @@ -0,0 +1,11 @@ +Lidia's Diary:
+Everyone is dead. +I was finally able to see Nidrah, by using some terrible tricks I won't divulge here! +I just had to see him! +He was my only hope! +He agreed to see me, even though he was in the middle of a ceremony! +He reminded me what he'd said before. +He said to have courage and act! +I'm sure now that the time is right!
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-08.htm new file mode 100644 index 0000000000..23fd98a9b0 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-08.htm @@ -0,0 +1,17 @@ +Lidia's Diary:
+The Darkness of Abyss

+The starlight is reflected in his smile.
+He speaks of courage, but I don't know where or even who I am!
+Can a crazy person have courage? +Who knows?
+His laughter rings out, and again the word, courage. +The are other words, but they're in an otherworldly language I don't understand.
+The Dark Mage with his dark smile speaks softly to me, holding my hand in the dark night.
+Courage. +Courage. +Courage. +Nothing else matters.
+My ceremony is still going on! +What brings you here so late?
+"I'm here to ask you for a favor." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-09.htm new file mode 100644 index 0000000000..85f0685d22 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-09.htm @@ -0,0 +1,5 @@ +Lidia's Diary:
+He laughed and said that we'd all been deceived, and there was nothing he could do! +I was late for my ceremony.
+Please help me! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-10.htm new file mode 100644 index 0000000000..11b84b2602 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-10.htm @@ -0,0 +1,11 @@ +Lidia's Diary:
+I don't know why I'm here! +He seems to know every one of my deepest secrets! +He asked me what I wasn't willing to give up. +I was honest with him, but I can't remember what I said. +Whatever it was, I lost it! +Did that really happen? +He claims I imagined it all! +He accuses me of betraying my family, my life, my god and even natural law!
+"I don't know about all that!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-11.htm new file mode 100644 index 0000000000..a41e94c164 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-11.htm @@ -0,0 +1,6 @@ +Lidia Diary:
+I'll never understand him if I live a thousand years! +One moment he's oblivious and forlorn and the next perfectly content! +He asked me again...
+"What do you want more than anything in the world?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-12.htm new file mode 100644 index 0000000000..480930062e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-12.htm @@ -0,0 +1,4 @@ +Lidia's Diary:
+[Illegible scribblings and scratches]
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-13.htm new file mode 100644 index 0000000000..7a3249c3d0 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-13.htm @@ -0,0 +1,15 @@ +Lidia's Diary:
+[A different handwriting]
+I don't understand! +Obviously I did it, but without knowing! +I look in the mirror and her face looks back at me, but there is no mirror! +Only an image. +I don't understand any of this! +Where are my memories? +They seem to be there, but unaccessible! +He must have done something to me!
+Everything that happens is recorded but forgotten! +Both regret and satisfaction are the result. +The Moon Face Flower on your hairpin will seal this Contract.
+I swear this by my ancient, long-forgotten name! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-14.htm new file mode 100644 index 0000000000..f57e90e25c --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-14.htm @@ -0,0 +1,5 @@ +Lidia's Diary:

+A scroll full of nervous scribbling
+tattered and torn
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-15.htm new file mode 100644 index 0000000000..56d74b4554 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-15.htm @@ -0,0 +1,27 @@ +Lidia's Diary:
+.......................................................................................she's dead. +I'm here alone and she is dead. +Who is she? +I'm here. +Who am I? +She's in the castle. +Who is she? +We had a deal. +What deal? +Who is he? +I said I would it. +Do what? +I lost it. +Lost what? +I got it. +Got what? +Turn the page. +Who is he?
+I said I would do it. +Do what? +I lost it. +What? +I got it. +Got what?
+Turn the page. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-16.htm new file mode 100644 index 0000000000..0295fb897c --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/lidias_diary/7064-16.htm @@ -0,0 +1,3 @@ +Lidia's Diary:
+Return to the beginning + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-1.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-1.htm new file mode 100644 index 0000000000..dd8a97cb63 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-1.htm @@ -0,0 +1,8 @@ +Research Log:
+Period 3 May
+What miserable weather! Why is it still so cold?
+It's been a month since I left those disgusting Dwarves. The unbelievable hardship I've seen since then has been devastating.
+I made my way to a gigantic, ancient Research Lab. Thousands of dead Golems strewn about.
+I managed to squeeze through a little crack in the east wall of the building. At least it blocks the wind...
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-2.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-2.htm new file mode 100644 index 0000000000..8d1dad499a --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-2.htm @@ -0,0 +1,8 @@ +Research Log:
+Period 3 June
+I was able to seal the crack in the wall to keep out the cold. Of course, if I sealed it permanently, I couldn't get back out, so I fashioned a sort of door.
+Leave it to me, the genius maestro, Chaos, to come up with a solution! Bwa ha ha!
+I think I could really get comfortable here! The plants are incredible!
+I should at least stay here until the weather warms up!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-3.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-3.htm new file mode 100644 index 0000000000..48467fd4a1 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-3.htm @@ -0,0 +1,9 @@ +Research Log:
+Period 3 August
+I found a very strange Golem while scavenging for fuel today.
+This Golem seemed strangely familiar, and was quite different from the Gatekeeper.
+I think this Golem was... ...a mechanical pet, what was its name, that giant...
+I'll disassemble it later.
+I just can't get its damned face out of my mind!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-4.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-4.htm new file mode 100644 index 0000000000..fc7b6ea8ac --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-4.htm @@ -0,0 +1,6 @@ +Research Report:
+Period 3 August
+I disassembled the Gatekeeper-type Golem. My suspicions were correct... It was the prototype that Toma created in his teleportation experiments! If I follow the blueprint from his lab I should be able to make it work.
+I'll scavenge any parts I need from those dead Golems. I can improvise anything else I need!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-5.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-5.htm new file mode 100644 index 0000000000..ba7086ca91 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-5.htm @@ -0,0 +1,7 @@ +Research Log:
+Period 3 October
+I've finally gotten it to output some energy, but it just won't work properly.
+I theorized that the tower in the middle of the room was some sort of control device. I connected the Golem to the tower and it immediately began to output some strange sort of data. W.D.L.? Could this be some sort of recognition code?
+...... It seems strangely familiar to me. That old fart Tarziph told me how to operate Titan technology.... Should I try it?
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-6.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-6.htm new file mode 100644 index 0000000000..3afb072093 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-6.htm @@ -0,0 +1,9 @@ +Research Log:
+Period 4 February
+I heard an infernal racket outside today, and sent out a Probe Golem to investigate... It was those disgusting Dwarves again!
+I'll wager those adena-grubbing dogs are drooling all over the Northern Mine. If it's not one thing it's another!
+Of course the worst of the Dwarves haven't shown up yet, but...
+Not only the Gray Pillar, but the Collectors and the Bronze Key are here! I heard some Dwarves knocking on the walls trying to find a way in...
+It's only a matter of time until I'm discovered.
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-7.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-7.htm new file mode 100644 index 0000000000..410c0c1715 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-7.htm @@ -0,0 +1,9 @@ +Research:
+Period 4 February
+If it's true that these ruins were left by the giants, they must have some defenses built in!
+Wendy's password activated the power in the Research Lab!
+No one but a genius like me would have figured that out!
+Oh, the energy, the awesome energy! All three towers burst into life, and the defense system engaged!
+You stupid Dwarves, I'll teach you to kick me out! Behold the Ultimate Golem Spartacus!
+Turn the page + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-8.htm b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-8.htm new file mode 100644 index 0000000000..b67e41fcd6 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/html/help/research_report/8059-8.htm @@ -0,0 +1,8 @@ +Research Log:
+The Dwarves are gone at last! The Ultimate Golem is triumphant!
+I only wish I could control it! Does it dare defy me, just because I'm not a giant? What nerve! No one treats the great Dr. Chaos like this!
+I will tame you, Golem!
+But there are more urgent matters...
+There was a terrible explosion in the north wing today! I'm afraid it was a power overload. I didn't touch anything.
+I must devise a Golem to keep this place under control! I don't have time to deal with Spartacus now... I'll have to start with Wendy... + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/multisell/648.xml b/L2J_Mobius_C6_Interlude/dist/game/data/multisell/648.xml new file mode 100644 index 0000000000..a8eebfec8c --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/multisell/648.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/others/Bingo.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/others/Bingo.java deleted file mode 100644 index bd4fda6753..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/ai/others/Bingo.java +++ /dev/null @@ -1,182 +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 . - */ -package ai.others; - -import java.util.ArrayList; -import java.util.List; - -import org.l2jmobius.commons.util.Rnd; - -/** - * Adapted from FirstTeam Interlude - */ -public class Bingo -{ - protected static final String TEMPLATE = "%msg%

%choices%

%board%"; - protected static final String TEMPLATE_FINAL = "%msg%

%board%"; - protected static final String TEMPLATE_BOARD = "For your information, below is your current selection.
%cell1%%cell2%%cell3%
%cell4%%cell5%%cell6%
%cell7%%cell8%%cell9%
"; - protected static final String MSG_AGAIN = "You have already selected that number. Choose your %choicenum% number again."; - protected static final String MSG_BEGIN = "I've arranged 9 numbers on the panel.
Now, select your %choicenum% number."; - protected static final String MSG_NEXT = "Now, choose your %choicenum% number."; - protected static final String MSG_ZERO_LINES = "You are spectacularly unlucky! The red-colored numbers on the panel below are the ones you chose. As you can see, they didn't create even a single line. Did you know that it is harder not to create a single line than creating all 3 lines?"; - protected static final String MSG_THREE_LINES = "You've created 3 lines! The red colored numbers on the bingo panel below are the numbers you chose. Congratulations!"; - protected static final String MSG_LOSE = "Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose."; - protected static final String[] NUMBERS = - { - "first", - "second", - "third", - "fourth", - "fifth", - "final" - }; - - private final String _template_choice; - private final List board; - private final List guesses; - protected int lines; - - public Bingo(String templateChoice) - { - board = new ArrayList<>(); - guesses = new ArrayList<>(); - _template_choice = templateChoice; - while (board.size() < 9) - { - final int num = Rnd.get(1, 9); - if (!board.contains(num)) - { - board.add(num); - } - } - } - - public String Select(String s) - { - try - { - return Select(Integer.parseInt(s)); - } - catch (Exception E) - { - return null; - } - } - - public String Select(int choise) - { - if ((choise < 1) || (choise > 9)) - { - return null; - } - if (guesses.contains(choise)) - { - return getDialog("You have already selected that number. Choose your %choicenum% number again."); - } - guesses.add(choise); - if (guesses.size() == 6) - { - return getFinal(); - } - return getDialog(""); - } - - protected String getBoard() - { - if (guesses.isEmpty()) - { - return ""; - } - String result = "For your information, below is your current selection.
%cell1%%cell2%%cell3%
%cell4%%cell5%%cell6%
%cell7%%cell8%%cell9%
"; - for (int i = 1; i <= 9; ++i) - { - final String cell = "%cell" + i + "%"; - final int num = board.get(i - 1); - if (guesses.contains(num)) - { - result = result.replaceFirst(cell, "" + num + ""); - } - else - { - result = result.replaceFirst(cell, "?"); - } - } - return result; - } - - public String getDialog(String msg) - { - String result = "%msg%

%choices%

%board%"; - if (guesses.isEmpty()) - { - result = result.replaceFirst("%msg%", "I've arranged 9 numbers on the panel.
Now, select your %choicenum% number."); - } - else - { - result = result.replaceFirst("%msg%", "".equalsIgnoreCase(msg) ? "Now, choose your %choicenum% number." : msg); - } - result = result.replaceFirst("%choicenum%", Bingo.NUMBERS[guesses.size()]); - final StringBuilder choices = new StringBuilder(); - for (int i = 1; i <= 9; ++i) - { - if (!guesses.contains(i)) - { - choices.append(_template_choice.replace("%n%", String.valueOf(i))); - } - } - result = result.replaceFirst("%choices%", choices.toString()); - result = result.replaceFirst("%board%", getBoard()); - return result; - } - - protected String getFinal() - { - String result = "%msg%

%board%".replaceFirst("%board%", getBoard()); - calcLines(); - switch (lines) - { - case 3: - result = result.replaceFirst("%msg%", "You've created 3 lines! The red colored numbers on the bingo panel below are the numbers you chose. Congratulations!"); - break; - case 0: - result = result.replaceFirst("%msg%", "You are spectacularly unlucky! The red-colored numbers on the panel below are the ones you chose. As you can see, they didn't create even a single line. Did you know that it is harder not to create a single line than creating all 3 lines?"); - break; - default: - result = result.replaceFirst("%msg%", "Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose."); - break; - } - return result; - } - - public int calcLines() - { - lines = 0; - lines += (checkLine(0, 1, 2) ? 1 : 0); - lines += (checkLine(3, 4, 5) ? 1 : 0); - lines += (checkLine(6, 7, 8) ? 1 : 0); - lines += (checkLine(0, 3, 6) ? 1 : 0); - lines += (checkLine(1, 4, 7) ? 1 : 0); - lines += (checkLine(2, 5, 8) ? 1 : 0); - lines += (checkLine(0, 4, 8) ? 1 : 0); - return lines += (checkLine(2, 4, 6) ? 1 : 0); - } - - public boolean checkLine(int idx1, int idx2, int idx3) - { - return guesses.contains(board.get(idx1)) && guesses.contains(board.get(idx2)) && guesses.contains(board.get(idx3)); - } -} diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm index e25be12f4b..dfa46c3a95 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-02.htm @@ -1,4 +1,4 @@ Centurion Nakusin:
Dekara Lamchar Kakai! Kakai, the Pa'agrio Lord, has not been well recently. The tribal elders have decided that each tribe should offer him something that is good for his health . Meet the representatives of each tribe and bring back their gifts! Can you do it?
-Say you will do it +Say you will do it \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm index fcf1ff7c55..c51ff2773a 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/30578-04.htm @@ -1,4 +1,4 @@ Centurion Nakusin:
Meet the representatives of each tribe and bring back their gifts! Don't tell me that you have forgotten what your task is?
-Say you forgot +Say you forgot \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java index 5adbef100d..ab622fdc27 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q004_LongliveThePaagrioLord/Q004_LongliveThePaagrioLord.java @@ -28,6 +28,7 @@ import org.l2jmobius.gameserver.model.quest.State; public class Q004_LongliveThePaagrioLord extends Quest { + private static final int NAKUSIN = 30578; private static final Map NPC_GIFTS = new HashMap<>(); static { @@ -99,7 +100,8 @@ public class Q004_LongliveThePaagrioLord extends Quest case State.STARTED: final int cond = st.getInt("cond"); final int npcId = npc.getNpcId(); - if (npcId == 30578) + + if (npcId == NAKUSIN) { if (cond == 1) { @@ -123,12 +125,13 @@ public class Q004_LongliveThePaagrioLord extends Quest final int i = NPC_GIFTS.get(npcId); if (st.hasQuestItems(i)) { - htmltext = npcId + "-02.htm"; + htmltext = "30585-02.htm"; } else { st.giveItems(i, 1); - htmltext = npcId + "-01.htm"; + htmltext = "30585-01.htm"; + int count = 0; for (int item : NPC_GIFTS.values()) { diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm index 52a7757010..c055e2dd06 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-02.htm @@ -1,4 +1,4 @@ Innocentin:
-Take this crucifix to Magister Tifaren and ask her to perform necromancy. She -tends to be quite wary of strangers, so you may need to prove your sincerity -to her. Keep trying, she'll come around. \ No newline at end of file +Come on in! Did he tell you anything?
+"Well, he said..." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm index 7d4299a015..fbc54de886 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-03.htm @@ -1,4 +1,7 @@ -Innocentin:
-Come on in! Did he tell you anything?
-"Well, he said..." +Innocentin
+I see.. Lidia von Hellmann was lord of the Forest of the Dead! She was Alfred's daughter, a survivor of the tragedy of Hellmann Forest... Thank you.
+Thanks to you, we know that his death wasn't in vain...
+I will treasure this crucifix always!
+Hmm..? Was there something else?
+"Who's behind all of this?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm index f261944e89..20805c27fa 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-04.htm @@ -1,7 +1,4 @@ -Innocentin
-I see.. Lidia von Hellmann was lord of the Forest of the Dead! She was Alfred's daughter, a survivor of the tragedy of Hellmann Forest...Thank you.
-Thanks to you, we know that his death wasn't in vain...
-I will treasure this crucifix always!
-Hmm..? Was there something else?
-"Who's behind all of this?" +Innocentin:
+Do you want to ask me something?
+"Who is behind the tragedy?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-05.htm new file mode 100644 index 0000000000..476c7c3652 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-05.htm @@ -0,0 +1,6 @@ +Innocentin:
+Who's behind the tragedy? Well, there are several theories, I'm sure you've heard them all!
+Why don't I tell you one you probably haven't heard...
+Alfred von Hellmann and I were very close friends and he shared with me the terrible dissatisfaction he had in his heart...
+"I heard that he didn't intentionally become a traitor." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm index 8fe6bd1d7b..140f7dda4c 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-06.htm @@ -1,6 +1,4 @@ Innocentin:
-Who's behind the tragedy? Well, there are several theories, I'm sure you've heard them all!
-Why don't I tell you one you probably haven't heard...
-Alfred von Hellmann and I were very close friends and he shared with me the terrible dissatisfaction he had in his heart...
-"I heard that he didn't intentionally become a traitor." +Exactly! He only meant to encourage the lame duck king! He never even considered treason until his meeting with a mystic in the forest! Around that time I hired a treasure hunter to find out exactly what was going on with Alfred... That didn't go well at all!
+"What happened?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm index 54048b57ee..eb26854d4a 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-07.htm @@ -1,4 +1,6 @@ Innocentin:
-Exactly! He only meant to encourage the lame duck king! He never even considered treason until his meeting with a mystic in the forest! Around that time I hired a treasure hunter to find out exactly what was going on with Alfred... That didn't go well at all!
-"What happened?" +He was accused of worshipping the devil! His secretive nature, along with the sensitivity of the mission, led to his downfall.
+I was occupied elsewhere and couldn't protect him...
+He was charged, convicted and executed on the square of Rune Castle! The evidence he had gathered for me was thrown into a deserted well.

+"Tell me more!" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm index da2fb458a6..378538a499 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-08.htm @@ -1,6 +1,6 @@ Innocentin:
-He was accused of worshipping the devil! His secretive nature, along with the sensitivity of the mission, led to his downfall.
-I was occupied elsewhere and couldn't protect him...
-He was charged, convicted and executed on the square of Rune Castle! The evidence he had gathered for me was thrown into a deserted well.
-"Tell me more!" +It's said that his ghost visits that well every night.
+I'd always believed that all ghosts were evil, but after my experiences with necromancy, the realm of the gods is denied to me. I must find out what actually happened!
+Would you meet with him and ask him what he found out?
+"I'll do it." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm index 83c7c2d492..1e23671eeb 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09.htm @@ -1,6 +1,3 @@ Innocentin:
-It's said that his ghost visits that well every night.
-I'd always believed that all ghosts were evil, but after my experiences with necromancy, the realm of the gods is denied to me. I must find out what actually happened!
-Would you meet with him and ask him what he found out?
-"I'll do it." +You'll find the well in the northwest part of the village. Show the ghost the letter and he'll grant your request. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09a.htm new file mode 100644 index 0000000000..a3d3014e7e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-09a.htm @@ -0,0 +1,4 @@ +Innocentin:
+The ghost of the treasure hunter is said to appear around the well in the northwest part of the village.
+Take the letter to him and come back to me with his reply. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm index 1e23671eeb..8b948a7567 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-10.htm @@ -1,3 +1,4 @@ Innocentin:
-You'll find the well in the northwest part of the village. Show the ghost the letter and he'll grant your request. +Oh, you're back? Did you bring any news?
+"Check out this box." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm index 55f3a6b2e1..3f4382627c 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-11.htm @@ -1,4 +1,7 @@ Innocentin:
-The ghost of the treasure hunter is said to appear around the well in the northwest part of the village.
-Take the letter to him and come back to me with his reply. +Indeed! Is this the box he told you about?
+He told me once, in case something happened to him, he would store all his most important documents in a box! Hmm...
+I can't help but think... Perhaps it's fortunate that I left the temple and came here! Ah... but that's not important...
+Now give me the box!
+I must open it carefully and see what it holds. Why don't you come back a little later? \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm index 619bedba42..516d3e42dc 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-12.htm @@ -1,4 +1,4 @@ Innocentin:
-Oh, you're back? Did you bring any news?
-"Check out this box." +It's the report of the Mystic Neidrahu, the instigator of the insurrection! Do you care to read it?
+"Yes!" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm index 3f4382627c..34636b2f8d 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-13.htm @@ -1,7 +1,5 @@ -Innocentin:
-Indeed! Is this the box he told you about?
-He told me once, in case something happened to him, he would store all his most important documents in a box! Hmm...
-I can't help but think... Perhaps it's fortunate that I left the temple and came here! Ah... but that's not important...
-Now give me the box!
-I must open it carefully and see what it holds. Why don't you come back a little later? +
+Regarding Neidrahu
+"... No one knows for sure how deeply Alfred von Hellmann was influenced by his magic, for his eloquence was certainly equal to his magic ability. Alfred wasn't the only one swayed by his words. Neidrahu called himself a messenger, and personally gathered many supporters for the insurrection."
+Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm index 15f6af4b9d..3af6af8474 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-14.htm @@ -1,4 +1,5 @@ -Innocentin:
-It's the report of the Mystic Neidrahu, the instigator of the insurrection! Do you care to read it?
-"Yes!" + +"Nidrah's preaching persuaded his followers of the awesome power of the dark arts. He often spoke of a powerful magus known as a devil, who practiced magic in Gludio. He convinced them that his own power was equal to the devil's!
+Information regarding Beleth, Black Magus and the pastoral history of the wasteland of Gludio was all available at the main library. Although many were suspicious of his claims, eventually they believed him."
+Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm index 4ffc4cf547..5d20c44b22 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-15.htm @@ -1,5 +1,5 @@ -
-Regarding Neidrahu
-"... No one knows for sure how deeply Alfred von Hellmann was influenced by his magic, for his eloquence was certainly equal to his magic ability. Alfred wasn't the only one swayed by his words. Neidrahu called himself a messenger, and personally gathered many supporters for the insurrection."
-Turn the page + +"This was to be his greatest accomplishment! The army of undead that he conjured played a pivotal role in the tragedy that occurred in the Hellmann Forest, but the outcome wasn't as he expected...
+Before his army was ready, the King learned of the Hellmann family's treason. In a fit of rage, and without any consultations, the King mobilized an occupation force and marched on the Hellmann Forest."
+Next Page \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm index 616e2e8408..58b45d65b5 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-16.htm @@ -1,4 +1,4 @@ -"Nidrah's preaching persuaded his followers of the awesome power of the dark arts. He often spoke of a powerful magus known as a devil, who practiced magic in Gludio. He convinced them that his own power was equal to the devil's!
-Information regarding Beleth, Black Magus and the pastoral history of the wasteland of Gludio was all available at the main library. Although many were suspicious of his claims, eventually they believed him."
+ +"The supporters of the von Hellmann family fought bravely, but their lack of organization was their undoing. As the King's army approached, the family finally realized that they had failed. By then, most of their sympathizers had been beheaded or taken prisoner by the King's army. The von Hellmanns were very powerful, but their treasonous behavior caused them to fall into disgrace and to be renounced by the royal family. The fall was especially painful to Alfred, who, as patriarch, had to watch as his vassals and then his family were tortured and beheaded, before he ascended the scaffold himself.
Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm index c602593773..b6b8e16d83 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-17.htm @@ -1,4 +1,5 @@ -"This was to be his greatest accomplishment! The army of undead that he conjured played a pivotal role in the tragedy that occurred in the Hellmann Forest, but the outcome wasn't as he expected...
-Before his army was ready, the King learned of the Hellmann family's treason. In a fit of rage, and without any consultations, the King mobilized an occupation force and marched on the Hellmann Forest."
-Next Page + +"It was then that Nidrah's magic sprang into action! At dusk, as the King's army took inventory of the treasures of the Hellmann family, a huge army of undead fighters rushed the castle!
+They were the souls of the executed vassals, led by Alfred's children Lidia and Eilhalder von Hellmann! All were under the control of Nidrah."

+Turn the page \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm index 93dca4b3a1..835d3cb8d7 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-18.htm @@ -1,3 +1,5 @@ -"The supporters of the von Hellmann family fought bravely, but their lack of organization was their undoing. As the King's army approached, the family finally realized that they had failed. By then, most of their sympathizers had been beheaded or taken prisoner by the King's army. The von Hellmanns were very powerful, but their treasonous behavior caused them to fall into disgrace and to be renounced by the royal family. The fall was especially painful to Alfred, who, as patriarch, had to watch as his vassals and then his family were tortured and beheaded, before he ascended the scaffold himself. ..."
-Turn the page + +"What happened next was a repeat of the events of the war with Beleth. Those killed by an undead were resurrected and enlisted in Lidia's force. The higher-level vassals of the Hellmann family became vampires, or high level undead. They possessed indescribable power!
+It seemed the battle was over, until..."
+Next Page \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm index 2a8cb7f4d3..ed2343b6d6 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-19.htm @@ -1,4 +1,5 @@ -"It was then that Nidrah's magic sprang into action! At dusk, as the King's army took inventory of the treasures of the Hellmann family, a huge army of undead fighters rushed the castle!
- They were the souls of the executed vassals, led by Alfred's children Lidia and Eilhalder von Hellmann! All were under the control of Nidrah."

-Turn the page + +"I had my doubts about Lidia. If she was resurrected, how did she become Lord of the Forest of the Dead? Why not Alfred?
+I think she conspired with Nidrah! I'll investigate this further."
+Hmm... \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm index f79953bf9d..d31e0504f2 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-20.htm @@ -1,4 +1,4 @@ -"What happened next was a repeat of the events of the war with Beleth. Those killed by an undead were resurrected and enlisted in Lidia's force. The higher-level vassals of the Hellmann family became vampires, or high level undeads. They possessed indescribable power!
-It seemed the battle was over, until..."
-Next Page +Innocentin:
+Did you finish it? It's the true account of the terrible tragedy that occurred in Hellmann Forest... But it doesn't answer all of my questions... Would you do something for me?
+I'm afraid it won't be easy, and you look very tired! Why don't you take a break and come back when you're refreshed. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm index e070ba1173..05ee38b2a0 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31328-21.htm @@ -1,4 +1,5 @@ -"I had my doubts about Lidia. If she was resurrected, how did she become Lord of the Forest of the Dead? Why not Alfred?
-I think she conspired with Nidrah! I'll investigate this further."
-Hmm... +Innocentin:
+Did you finish it? It's the true account of the terrible tragedy that occurred in Hellmann Forest... But it doesn't answer all of my questions... Would you do something for me?
+I'm afraid it won't be easy, and you look very tired! Why don't you take a break and come back later when you're refreshed and have had a little more training.
+(The Heart of Lidia quest may only be undertaken by a character of level 64 or above.) \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm index 3d3bbd8ea4..bf8e5b0735 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31334-01.htm @@ -1,4 +1,4 @@ Grand Magister Tifaren:
What's your business here?
-"I need the necromantic rite of communion performed." +"I need the necromantic rite of communion performed." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm index cdb2f4aab9..61ac8decaf 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-03.htm @@ -1,2 +1,3 @@ Well:
-Be prepared to fight the spirit from the well! \ No newline at end of file +Be prepared to fight the spirit from the well! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm index 737e6d379e..20e5a8f4f4 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31527-04.htm @@ -1,2 +1,3 @@ Well:
-The box inside the well is within your reach. \ No newline at end of file +The box inside the well is within your reach. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm index d7bf140f73..21a0420dd2 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-02.htm @@ -1,4 +1,4 @@ Ghost of Priest:
I'm not sure... It's all so foggy. Why am I here?
-"I used necromancy." +"I used necromancy." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm index 4a1bdca070..5056cd4f39 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-03.htm @@ -1,4 +1,4 @@ Ghost of Priest:
-Why would you use necromancy to talk to me?
-"To find out what happened in the Forest of the Dead." +....................
+(Points to Tifaren.) \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm index 00449fbfc9..1a7c8937c8 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31528-05.htm @@ -1,4 +1,4 @@ Ghost of Priest:
You must mean Lidia von Hellmann, she was the only survivor of the tragedy here.
"What tragedy?" - \ No newline at end of file + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm index 47f9f32366..4aa25069a2 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
This is from High Priest Innocentin? He wants me to work even when I'm dead? Einhasad Temple must be worse off than I thought.
Well, I don't have anything else to do, so what do you want to know?
-"I want to know about the Mage of the dark arts." +"I want to know about the Mage of the dark arts." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03a.htm new file mode 100644 index 0000000000..296b88c536 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-03a.htm @@ -0,0 +1,5 @@ +Ghost of Adventurer:
+This is from the Priest of the Earth? He wants me to work even when I'm dead? Einhasad Temple must be worse off than I thought.
+Well, I don't have anything else to do, so what do you want to know?
+"I want to know about the Mage of the dark arts." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm index 0d8c64cb1a..bea2d29750 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-04.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
-This is from the Priest of the Earth? He wants me to work even when I'm dead? Einhasad Temple must be worse off than I thought.
-Well, I don't have anything else to do, so what do you want to know?
-"I want to know about the Mage of the dark arts." +His name is Neid, short for Nidrah.
+I can't rest in peace until I find him.
+"Tell me about him." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm index 28c3e45082..21510b0369 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-05.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
-His name is Neid, short for Nidrah.
-I can't rest in peace until I find him.
-"Tell me about him." +The shock of decapitation has dulled my memory, so I don't remember him well, and his disciples burned all the records.
+I think I remember why I'm here.
+"Why?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm index 7915d4f626..4e952fc22f 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-06.htm @@ -1,5 +1,5 @@ Ghost of Adventurer:
-The shock of decapitation has dulled my memory, so I don't remember him well, and his disciples burned all the records.
-I think I remember why I'm here.
-"Why?" +I remember now! I hid the book about him in this well.
+The heads of those accused of following demons were thrown into it. If you enter the well, they'll attack you!
+"Is there no other way?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm index 1602c51e69..97f3d86747 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-07.htm @@ -1,5 +1,4 @@ Ghost of Adventurer:
-I remember now! I hid the book about him in this well.
-The heads of those accused of following demons were thrown into it. If you enter the well, they'll attack you!
-"Is there no other way?" +Of course! We just came up with another way.
+"What is it?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm index 77b5904575..a9cc52fc95 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-08.htm @@ -1,4 +1,8 @@ Ghost of Adventurer:
-Of course! We just came up with another way.
-"What is it?" +They aren't very smart! They'll attack if you touch the well.
+All you have to do is fight them.
+While you're fighting, I'll lift up the gate of the well.
+You can back out if you want to...
+"I'll do it!"
+"I quit." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm index 2f282d2950..a132e7c658 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-09.htm @@ -1,8 +1,3 @@ Ghost of Adventurer:
-They aren't very smart! They'll attack if you touch the well.
-All you have to do is fight them.
-While you're fighting, I'll lift up the gate of the well.
-You can back out if you want to...
-"I'll do it!"
-"I quit." +It's your loss, not mine. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm index dca5a4f367..d1eb6864e4 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-10.htm @@ -1,2 +1,8 @@ Ghost of Adventurer:
-It's your loss, not mine. \ No newline at end of file +They aren't very smart! They'll attack if you touch the well.
+All you have to do is fight them.
+While you're fighting, I'll lift up the gate of the well.
+You can back out if you want to...
+"I'll do it!"
+"I don't want to do it." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-11.htm new file mode 100644 index 0000000000..9d4abdf298 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-11.htm @@ -0,0 +1,8 @@ +Ghost of Adventurer:
+Ok. Then, let's talk about the method. First, take this jewelry. If you hit the well, the spirits will come out.
+While you are fighting with the spirits, I will break the seal of the hidden report in the well
+Just, don't kill the spirit while I'm working. Because they will come back to the well if they die.
+If I break the seal, the color of the jewelry will change. After that, you can kill the spirit or do whatever you want. You got it?
+"I am not sure"
+"I see" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm index f9fe33c8e3..f7d3085a4a 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-12.htm @@ -1,8 +1,8 @@ Ghost of Adventurer:
-Ok. Then, let's talk about the method. First, take this jewelry. If you hit the well, the spirits will come out.
-While you are fighting with the spirits, I will break the seal of the hidden report in the well.
+If you hit the well, the spirits will come out.
+While you are fighting with the spirits, I will break the seal of the hidden report in the well
Just, don't kill the spirit while I'm working. Because they will come back to the well if they die.
If I break the seal, the color of the jewelry will change. After that, you can kill the spirit or do whatever you want. You got it?
-"I am not sure"
-"I see" +"I am not sure"
+"I see" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13.htm new file mode 100644 index 0000000000..59331f3c77 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13.htm @@ -0,0 +1,5 @@ +Ghost of Adventurer:
+What don't you get?
+Fight with them, don't kill them. When the jewelry changes color, find me.
+Don't kill the spirits before the jewelry changes color! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13a.htm new file mode 100644 index 0000000000..27b90a54ce --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-13a.htm @@ -0,0 +1,3 @@ +Ghost of Adventurer:
+OK! Go ahead! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm index 59331f3c77..b81d0c45c6 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-14.htm @@ -1,5 +1,4 @@ Ghost of Adventurer:
-What don't you get?
-Fight with them, don't kill them. When the jewelry changes color, find me.
-Don't kill the spirits before the jewelry changes color! +Hey, why don't you do a good job? You can't just hit once and then run away like a child! Real work isn't easy!
+You must call the soul by beating the well, fight until the jewil changes color, and then investigate the will! Is that clear? \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm index 27b90a54ce..6f7e787ab9 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-15.htm @@ -1,3 +1,3 @@ Ghost of Adventurer:
-OK! Go ahead! +The report is at the gate of the well. Since I'm a ghost, you'll have to get it. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm index ab40940eb9..2e511faf22 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-16.htm @@ -1,4 +1,3 @@ Ghost of Adventurer:
-Don't hit them and run away, and don't kill them too quickly!
-Lure the spirits out by hitting the well and fight them until the jewelry changes color. Then we'll investigate. +This is it! I'll break the first seal. Give it to Innocentin, only he can finish opening the lock. Until we meet again! \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm index 6f7e787ab9..9f04e88509 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/31529-17.htm @@ -1,3 +1,3 @@ Ghost of Adventurer:
-The report is at the gate of the well. Since I'm a ghost, you'll have to get it. +This is my life's work! Quickly, find Innocentin! \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java index 607faf764c..2f31ba52e2 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q022_TragedyInVonHellmannForest/Q022_TragedyInVonHellmannForest.java @@ -16,179 +16,322 @@ */ package quests.Q022_TragedyInVonHellmannForest; +import org.l2jmobius.Config; +import org.l2jmobius.commons.util.Rnd; import org.l2jmobius.gameserver.ai.CtrlIntention; -import org.l2jmobius.gameserver.model.actor.Attackable; +import org.l2jmobius.gameserver.model.Location; import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.QuestTimer; import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.util.Util; import quests.Q021_HiddenTruth.Q021_HiddenTruth; public class Q022_TragedyInVonHellmannForest extends Quest { // NPCs - private static final int WELL = 31527; - private static final int TIFAREN = 31334; private static final int INNOCENTIN = 31328; + private static final int TIFAREN = 31334; + private static final int WELL = 31527; private static final int GHOST_OF_PRIEST = 31528; private static final int GHOST_OF_ADVENTURER = 31529; - + // Mobs + private static final int[] MOBS = + { + 21553, // Trampled Man + 21554, // Trampled Man + 21555, // Slaughter Executioner + 21556, // Slaughter Executioner + 21561, // Sacrificed Man + }; + private static final int SOUL_OF_WELL = 27217; // Items private static final int CROSS_OF_EINHASAD = 7141; private static final int LOST_SKULL_OF_ELF = 7142; private static final int LETTER_OF_INNOCENTIN = 7143; - private static final int GREEN_JEWEL_OF_ADVENTURER = 7144; - private static final int RED_JEWEL_OF_ADVENTURER = 7145; + private static final int JEWEL_OF_ADVENTURER_1 = 7144; + private static final int JEWEL_OF_ADVENTURER_2 = 7145; private static final int SEALED_REPORT_BOX = 7146; private static final int REPORT_BOX = 7147; - - // Monsters - private static final int SOUL_OF_WELL = 27217; - - private NpcInstance _ghostOfPriestInstance = null; - private NpcInstance _soulOfWellInstance = null; + // Misc + private static final int MIN_LEVEL = 63; + private static final Location PRIEST_LOC = new Location(38354, -49777, -1128); + private static final Location SOUL_WELL_LOC = new Location(34706, -54590, -2054); + private static int _tifarenOwner = 0; + private static NpcInstance _soulWellNpc = null; public Q022_TragedyInVonHellmannForest() { super(22, "Tragedy in von Hellmann Forest"); - registerQuestItems(LOST_SKULL_OF_ELF, REPORT_BOX, SEALED_REPORT_BOX, LETTER_OF_INNOCENTIN, RED_JEWEL_OF_ADVENTURER, GREEN_JEWEL_OF_ADVENTURER); - - addStartNpc(TIFAREN, INNOCENTIN); - addTalkId(INNOCENTIN, TIFAREN, GHOST_OF_PRIEST, GHOST_OF_ADVENTURER, WELL); - + addKillId(MOBS); + addKillId(SOUL_OF_WELL); addAttackId(SOUL_OF_WELL); - addKillId(SOUL_OF_WELL, 21553, 21554, 21555, 21556, 21561); + addStartNpc(TIFAREN); + addTalkId(INNOCENTIN, TIFAREN, WELL, GHOST_OF_PRIEST, GHOST_OF_ADVENTURER); + registerQuestItems(LOST_SKULL_OF_ELF, CROSS_OF_EINHASAD, REPORT_BOX, JEWEL_OF_ADVENTURER_1, JEWEL_OF_ADVENTURER_2, SEALED_REPORT_BOX); } @Override public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) { - String htmltext = event; - final QuestState st = player.getQuestState(getName()); - if (st == null) + final QuestState qs = player.getQuestState(getName()); + String htmltext = null; + if (qs == null) { return htmltext; } - if (event.equals("31334-03.htm")) + switch (event) { - final QuestState st2 = player.getQuestState(Q021_HiddenTruth.class.getSimpleName()); - if ((st2 != null) && st2.isCompleted() && (player.getLevel() >= 63)) + case "31529-02.htm": + case "31529-04.htm": + case "31529-05.htm": + case "31529-06.htm": + case "31529-07.htm": + case "31529-09.htm": + case "31529-13.htm": + case "31529-13a.htm": + case "31528-02.htm": + case "31528-05.htm": + case "31528-06.htm": + case "31528-07.htm": + case "31328-13.htm": + case "31328-06.htm": + case "31328-05.htm": + case "31328-02.htm": + case "31328-07.htm": + case "31328-08.htm": + case "31328-14.htm": + case "31328-15.htm": + case "31328-16.htm": + case "31328-17.htm": + case "31328-18.htm": + case "31334-12.htm": { - htmltext = "31334-02.htm"; + htmltext = event; + break; } - } - else if (event.equals("31334-04.htm")) - { - st.setState(State.STARTED); - st.set("cond", "1"); - st.playSound(QuestState.SOUND_ACCEPT); - } - else if (event.equals("31334-07.htm")) - { - if (!st.hasQuestItems(CROSS_OF_EINHASAD)) + case "31334-02.htm": { - st.set("cond", "2"); + if (qs.isCreated()) + { + final QuestState qs2 = player.getQuestState(Q021_HiddenTruth.class.getSimpleName()); + if ((player.getLevel() >= MIN_LEVEL) && (qs2 != null) && qs2.isCompleted()) + { + htmltext = event; + } + else + { + htmltext = "31334-03.htm"; + } + } + break; } - else + case "31334-04.htm": { - htmltext = "31334-06.htm"; + if (qs.isCreated()) + { + qs.setState(State.STARTED); + qs.set("cond", "1"); + qs.playSound(QuestState.SOUND_ACCEPT); + htmltext = event; + } + break; } - } - else if (event.equals("31334-08.htm")) - { - if (st.hasQuestItems(CROSS_OF_EINHASAD)) + case "31334-07.htm": { - st.set("cond", "4"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(CROSS_OF_EINHASAD, 1); + if (!qs.hasQuestItems(CROSS_OF_EINHASAD)) + { + qs.set("cond", "2"); + htmltext = event; + } + else + { + htmltext = "31334-06.htm"; + qs.set("cond", "3"); + } + break; } - else + case "31334-08.htm": { - st.set("cond", "2"); - htmltext = "31334-07.htm"; + if (qs.getInt("cond") == 3) + { + qs.set("cond", "4"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; } - } - else if (event.equals("31334-13.htm")) - { - if (_ghostOfPriestInstance != null) + case "31334-13.htm": { - st.set("cond", "6"); - htmltext = "31334-14.htm"; + final int cond = qs.getInt("cond"); + if (((5 <= cond) && (cond <= 7)) && qs.hasQuestItems(CROSS_OF_EINHASAD)) + { + if (_tifarenOwner == 0) + { + _tifarenOwner = player.getObjectId(); + final NpcInstance ghost2 = addSpawn(GHOST_OF_PRIEST, PRIEST_LOC, true, 0); + ghost2.setScriptValue(player.getObjectId()); + startQuestTimer("DESPAWN_GHOST2", 1000 * 120, ghost2, player); + ghost2.broadcastNpcSay("Did you call me, " + player.getName() + "?"); + if (((cond == 5) || (cond == 6)) && qs.hasQuestItems(LOST_SKULL_OF_ELF)) + { + qs.takeItems(LOST_SKULL_OF_ELF, -1); + qs.set("cond", "7"); + qs.playSound(QuestState.SOUND_MIDDLE); + } + htmltext = event; + } + else + { + qs.set("cond", "6"); + htmltext = "31334-14.htm"; + } + } + break; } - else + case "31528-04.htm": { - st.set("cond", "7"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(LOST_SKULL_OF_ELF, 1); - _ghostOfPriestInstance = addSpawn(GHOST_OF_PRIEST, 38418, -49894, -1104, 0, false, 120000); - _ghostOfPriestInstance.broadcastNpcSay("Did you call me, " + player.getName() + "?"); - startQuestTimer("ghost_cleanup", 118000, null, player, false); + if (npc.getScriptValue() == player.getObjectId()) + { + qs.playSound(QuestState.SOUND_ACCEPT); + htmltext = event; + } + break; } - } - else if (event.equals("31528-08.htm")) - { - st.set("cond", "8"); - st.playSound(QuestState.SOUND_MIDDLE); - - cancelQuestTimer("ghost_cleanup", null, player); - - if (_ghostOfPriestInstance != null) + case "31528-08.htm": { - _ghostOfPriestInstance.deleteMe(); - _ghostOfPriestInstance = null; + final QuestTimer qt = getQuestTimer("DESPAWN_GHOST2", npc, player); + if ((qt != null) && (npc.getScriptValue() == player.getObjectId())) + { + qt.cancel(); + npc.setScriptValue(0); + startQuestTimer("DESPAWN_GHOST2", 1000 * 3, npc, player); + qs.set("cond", "8"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; } - } - else if (event.equals("31328-10.htm")) - { - st.set("cond", "9"); - st.playSound(QuestState.SOUND_MIDDLE); - st.giveItems(LETTER_OF_INNOCENTIN, 1); - } - else if (event.equals("31529-12.htm")) - { - st.set("cond", "10"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(LETTER_OF_INNOCENTIN, 1); - st.giveItems(GREEN_JEWEL_OF_ADVENTURER, 1); - } - else if (event.equals("31527-02.htm")) - { - if (_soulOfWellInstance == null) + case "DESPAWN_GHOST2": { - _soulOfWellInstance = addSpawn(SOUL_OF_WELL, 34860, -54542, -2048, 0, false, 0); - - // Attack player. - ((Attackable) _soulOfWellInstance).addDamageHate(player, 0, 99999); - _soulOfWellInstance.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); + _tifarenOwner = 0; + if (npc.getScriptValue() != 0) + { + npc.broadcastNpcSay("I_M_CONFUSED_MAYBE_IT_S_TIME_TO_GO_BACK"); + } + npc.deleteMe(); + break; + } + case "31328-03.htm": + { + if (qs.getInt("cond") == 8) + { + + qs.takeItems(CROSS_OF_EINHASAD, -1); + htmltext = event; + } + break; + } + case "31328-09.htm": + { + if (qs.getInt("cond") == 8) + { + qs.giveItems(LETTER_OF_INNOCENTIN, 1); + qs.set("cond", "9"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; + } + case "31328-11.htm": + { + if ((qs.getInt("cond") == 14) && qs.hasQuestItems(REPORT_BOX)) + { + qs.takeItems(REPORT_BOX, -1); + qs.set("cond", "15"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; + } + case "31328-19.htm": + { + if (qs.getInt("cond") == 15) + { + qs.set("cond", "16"); + qs.playSound(QuestState.SOUND_MIDDLE); + htmltext = event; + } + break; + } + case "31527-02.htm": + { + if ((qs.getInt("cond") == 10) && (_soulWellNpc == null)) + { + _soulWellNpc = addSpawn(SOUL_OF_WELL, SOUL_WELL_LOC, true, 0); + startQuestTimer("activateSoulOfWell", 90000, _soulWellNpc, player); + startQuestTimer("despawnSoulOfWell", 120000, _soulWellNpc, player); + _soulWellNpc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); + + htmltext = event; + } + else + { + htmltext = "31527-03.htm"; + } + break; + } + case "activateSoulOfWell": + { + // this enables onAttack ELSE IF block which allows the player to proceed the quest + npc.setScriptValue(1); + break; + } + case "despawnSoulOfWell": + { + // if the player fails to proceed the quest in 2 minutes, the soul is unspawned + if (!npc.isDead()) + { + _soulWellNpc = null; + } + npc.deleteMe(); + break; + } + case "31529-03.htm": + { + if ((qs.getInt("cond") == 9) && qs.hasQuestItems(LETTER_OF_INNOCENTIN)) + { + qs.set("memoState", "8"); + htmltext = event; + } + break; + } + case "31529-08.htm": + { + if (qs.getInt("memoState") == 8) + { + qs.set("memoState", "9"); + htmltext = event; + } + break; + } + case "31529-11.htm": + { + if (qs.getInt("memoState") == 9) + { + qs.giveItems(JEWEL_OF_ADVENTURER_1, 1); + qs.set("cond", "10"); + qs.playSound(QuestState.SOUND_MIDDLE); + qs.set("memoState", "10"); + htmltext = event; + } + break; } - } - else if (event.equals("attack_timer")) - { - st.set("cond", "11"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(GREEN_JEWEL_OF_ADVENTURER, 1); - st.giveItems(RED_JEWEL_OF_ADVENTURER, 1); - } - else if (event.equals("31328-13.htm")) - { - st.set("cond", "15"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(REPORT_BOX, 1); - } - else if (event.equals("31328-21.htm")) - { - st.set("cond", "16"); - st.playSound(QuestState.SOUND_MIDDLE); - } - else if (event.equals("ghost_cleanup")) - { - _ghostOfPriestInstance.broadcastNpcSay("I'm confused! Maybe it's time to go back."); - _ghostOfPriestInstance = null; - return null; } return htmltext; } @@ -196,271 +339,323 @@ public class Q022_TragedyInVonHellmannForest extends Quest @Override public String onTalk(NpcInstance npc, PlayerInstance player) { + final QuestState qs = player.getQuestState(getName()); String htmltext = getNoQuestMsg(); - final QuestState st = player.getQuestState(getName()); - if (st == null) + switch (npc.getNpcId()) { - return htmltext; - } - - switch (st.getState()) - { - case State.CREATED: - switch (npc.getNpcId()) + case TIFAREN: + { + switch (qs.getInt("cond")) { - case INNOCENTIN: - final QuestState st2 = player.getQuestState(Q021_HiddenTruth.class.getSimpleName()); - if ((st2 != null) && st2.isCompleted()) + case 0: + { + if (qs.isCreated()) { - if (!st.hasQuestItems(CROSS_OF_EINHASAD)) - { - htmltext = "31328-01.htm"; - st.giveItems(CROSS_OF_EINHASAD, 1); - st.playSound(QuestState.SOUND_ITEMGET); - } - else - { - htmltext = "31328-01b.htm"; - } + htmltext = "31334-01.htm"; + } + else if (qs.isCompleted()) + { + htmltext = getAlreadyCompletedMsg(); } break; - - case TIFAREN: - htmltext = "31334-01.htm"; + } + case 1: + case 3: + { + htmltext = "31334-05.htm"; break; - } - break; - - case State.STARTED: - final int cond = st.getInt("cond"); - switch (npc.getNpcId()) - { - case TIFAREN: - if ((cond == 1) || (cond == 2) || (cond == 3)) + } + case 4: + case 5: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { - htmltext = "31334-05.htm"; - } - else if (cond == 4) - { - htmltext = "31334-09.htm"; - } - else if ((cond == 5) || (cond == 6)) - { - if (st.hasQuestItems(LOST_SKULL_OF_ELF)) - { - htmltext = (_ghostOfPriestInstance == null) ? "31334-10.htm" : "31334-11.htm"; - } - else + if (!qs.hasQuestItems(LOST_SKULL_OF_ELF)) { htmltext = "31334-09.htm"; - st.set("cond", "4"); + } + else if (_tifarenOwner == 0) + { + htmltext = "31334-10.htm"; + } + else + { + htmltext = "31334-11.htm"; } } - else if (cond == 7) + break; + } + case 6: + case 7: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { - htmltext = (_ghostOfPriestInstance != null) ? "31334-15.htm" : "31334-17.htm"; + if (_tifarenOwner == 0) + { + htmltext = "31334-17.htm"; + } + else if (_tifarenOwner == player.getObjectId()) + { + htmltext = "31334-15.htm"; + } + else + { + htmltext = "31334-16.htm"; + qs.set("cond", "6"); + } } - else if (cond > 7) + break; + } + case 8: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { htmltext = "31334-18.htm"; } break; - - case INNOCENTIN: - if (cond < 3) + } + } + break; + } + case GHOST_OF_PRIEST: + { + if (npc.getScriptValue() == player.getObjectId()) + { + htmltext = "31528-01.htm"; + } + else + { + htmltext = "31528-03.htm"; + } + break; + } + case INNOCENTIN: + { + switch (qs.getInt("cond")) + { + case 2: + { + if (!qs.hasQuestItems(CROSS_OF_EINHASAD)) { - if (!st.hasQuestItems(CROSS_OF_EINHASAD)) - { - htmltext = "31328-01.htm"; - st.set("cond", "3"); - st.playSound(QuestState.SOUND_ITEMGET); - st.giveItems(CROSS_OF_EINHASAD, 1); - } - else - { - htmltext = "31328-01b.htm"; - } + qs.giveItems(CROSS_OF_EINHASAD, 1); + qs.set("cond", "3"); + htmltext = "31328-01.htm"; } - else if (cond == 3) + break; + } + case 3: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) + { + htmltext = "31328-01b.htm"; + } + break; + } + case 8: + { + if (qs.hasQuestItems(CROSS_OF_EINHASAD)) { htmltext = "31328-02.htm"; } - else if (cond == 8) + else { - htmltext = "31328-03.htm"; - } - else if (cond == 9) - { - htmltext = "31328-11.htm"; - } - else if (cond == 14) - { - if (st.hasQuestItems(REPORT_BOX)) - { - htmltext = "31328-12.htm"; - } - else - { - st.set("cond", "13"); - } - } - else if (cond == 15) - { - htmltext = "31328-14.htm"; - } - else if (cond == 16) - { - htmltext = (player.getLevel() < 64) ? "31328-23.htm" : "31328-22.htm"; - st.exitQuest(false); - st.playSound(QuestState.SOUND_FINISH); + htmltext = "31328-04.htm"; } break; - - case GHOST_OF_PRIEST: - if (cond == 7) + } + case 9: + { + htmltext = "31328-09a.htm"; + break; + } + case 14: + { + if (qs.hasQuestItems(REPORT_BOX)) { - htmltext = "31528-01.htm"; - } - else if (cond == 8) - { - htmltext = "31528-08.htm"; + htmltext = "31328-10.htm"; } break; - - case GHOST_OF_ADVENTURER: - if (cond == 9) + } + case 15: + { + htmltext = "31328-12.htm"; + break; + } + case 16: + { + qs.rewardExpAndSp(345966, 31578); + qs.exitQuest(false); + if (player.getLevel() >= MIN_LEVEL) { - if (st.hasQuestItems(LETTER_OF_INNOCENTIN)) + htmltext = "31328-20.htm"; + } + else + { + htmltext = "31328-21.htm"; + } + break; + } + } + break; + } + case WELL: + { + switch (qs.getInt("cond")) + { + case 10: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_1)) + { + htmltext = "31527-01.htm"; + + } + break; + } + case 12: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_2) && !qs.hasQuestItems(SEALED_REPORT_BOX)) + { + qs.giveItems(SEALED_REPORT_BOX, 1); + qs.set("cond", "13"); + htmltext = "31527-04.htm"; + } + break; + } + case 13: + case 14: + case 15: + case 16: + { + htmltext = "31527-05.htm"; + break; + } + } + break; + } + case GHOST_OF_ADVENTURER: + { + switch (qs.getInt("cond")) + { + case 9: + { + if (qs.hasQuestItems(LETTER_OF_INNOCENTIN)) + { + switch (qs.getInt("memoState")) { - htmltext = "31529-01.htm"; - } - else - { - htmltext = "31529-10.htm"; - st.set("cond", "8"); + case 0: + { + htmltext = "31529-01.htm"; + break; + } + case 8: + { + htmltext = "31529-03a.htm"; + break; + } + case 9: + { + htmltext = "31529-10.htm"; + break; + } + default: + { + break; + } } } - else if (cond == 10) + break; + } + case 10: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_1)) { + final int id = qs.getInt("memoState"); + if (id == 10) + { + htmltext = "31529-12.htm"; + } + else if (id == 11) + { + htmltext = "31529-14.htm"; + } + } + break; + } + case 11: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_2) && !qs.hasQuestItems(SEALED_REPORT_BOX)) + { + htmltext = "31529-15.htm"; + qs.set("cond", "12"); + } + break; + } + case 13: + { + if (qs.hasQuestItems(JEWEL_OF_ADVENTURER_2) && qs.hasQuestItems(SEALED_REPORT_BOX)) + { + qs.giveItems(REPORT_BOX, 1); + qs.takeItems(SEALED_REPORT_BOX, -1); + qs.takeItems(JEWEL_OF_ADVENTURER_2, -1); + qs.set("cond", "14"); htmltext = "31529-16.htm"; } - else if (cond == 11) - { - if (st.hasQuestItems(RED_JEWEL_OF_ADVENTURER)) - { - htmltext = "31529-17.htm"; - st.set("cond", "12"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(RED_JEWEL_OF_ADVENTURER, 1); - } - else - { - htmltext = "31529-09.htm"; - st.set("cond", "10"); - } - } - else if (cond == 12) + break; + } + case 14: + { + if (qs.hasQuestItems(REPORT_BOX)) { htmltext = "31529-17.htm"; } - else if (cond == 13) - { - if (st.hasQuestItems(SEALED_REPORT_BOX)) - { - htmltext = "31529-18.htm"; - st.set("cond", "14"); - st.playSound(QuestState.SOUND_MIDDLE); - st.takeItems(SEALED_REPORT_BOX, 1); - st.giveItems(REPORT_BOX, 1); - } - else - { - htmltext = "31529-10.htm"; - st.set("cond", "12"); - } - } - else if (cond > 13) - { - htmltext = "31529-19.htm"; - } - break; - - case WELL: - if (cond == 10) - { - htmltext = "31527-01.htm"; - } - else if (cond == 11) - { - htmltext = "31527-03.htm"; - } - else if (cond == 12) - { - htmltext = "31527-04.htm"; - st.set("cond", "13"); - st.playSound(QuestState.SOUND_MIDDLE); - st.giveItems(SEALED_REPORT_BOX, 1); - } - else if (cond > 12) - { - htmltext = "31527-05.htm"; - } break; + } } break; - - case State.COMPLETED: - htmltext = getAlreadyCompletedMsg(); - break; + } } - return htmltext; } @Override - public String onAttack(NpcInstance npc, PlayerInstance attacker, int damage, boolean isPet) + public String onAttack(NpcInstance npc, PlayerInstance attacker, int damage, boolean isSummon) { - final QuestState st = attacker.getQuestState(getName()); - if ((st == null) || !st.isStarted() || isPet) + final QuestState qs = attacker.getQuestState(getName()); + if ((qs != null) && (qs.getInt("cond") == 10) && qs.hasQuestItems(JEWEL_OF_ADVENTURER_1)) { - return null; + if (qs.getInt("memoState") == 10) + { + qs.set("memoState", "11"); + } + else if (npc.isScriptValue(1)) + { + qs.takeItems(JEWEL_OF_ADVENTURER_1, -1); + qs.giveItems(JEWEL_OF_ADVENTURER_2, 1); + qs.set("cond", "11"); + } } - - if (getQuestTimer("attack_timer", null, attacker) != null) - { - return null; - } - - if (st.getInt("cond") == 10) - { - startQuestTimer("attack_timer", 20000, null, attacker, false); - } - - return null; + return super.onAttack(npc, attacker, damage, isSummon); } @Override - public String onKill(NpcInstance npc, PlayerInstance player, boolean isPet) + public String onKill(NpcInstance npc, PlayerInstance killer, boolean isSummon) { - final QuestState st = checkPlayerState(player, npc, State.STARTED); - if (st == null) + if (Util.checkIfInRange(Config.ALT_PARTY_RANGE, killer, npc, true)) { - return null; - } - - if (npc.getNpcId() != SOUL_OF_WELL) - { - if ((st.getInt("cond") == 4) && st.dropItems(LOST_SKULL_OF_ELF, 1, 1, 100000)) + if (npc.getNpcId() == SOUL_OF_WELL) { - st.set("cond", "5"); + _soulWellNpc = null; + } + else + { + final QuestState qs = killer.getQuestState(getName()); + if ((qs != null) && (qs.getInt("cond") == 4) && qs.hasQuestItems(CROSS_OF_EINHASAD) && !qs.hasQuestItems(LOST_SKULL_OF_ELF) && (Rnd.get(100) < 10)) + { + qs.giveItems(LOST_SKULL_OF_ELF, 1); + qs.set("cond", "5"); + } } } - else - { - cancelQuestTimer("attack_timer", null, player); - _soulOfWellInstance = null; - } - - return null; + return super.onKill(npc, killer, isSummon); } } \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java index 09cfaebcc9..245e00afeb 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q023_LidiasHeart/Q023_LidiasHeart.java @@ -215,6 +215,10 @@ public class Q023_LidiasHeart extends Quest { htmltext = "31328-08.htm"; } + else if (cond == 5) + { + htmltext = "31328-10.htm"; + } else if (cond > 5) { htmltext = "31328-21.htm"; diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-01.htm similarity index 68% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-01.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-01.htm index 8a417ad424..82487abcd7 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-01.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-01.htm @@ -1,5 +1,5 @@ Dorian:
Are you the one who recovered the Silver Spear? Your reputation precedes you! Actually, I have a problem you may be able to help me with!
Would you be willing to help me?
-"I'll do it!" +"I'll do it!" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-00.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-02.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-00.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-02.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-03.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-02.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-03.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-04.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-03.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-04.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-05.htm new file mode 100644 index 0000000000..b5585d128b --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-05.htm @@ -0,0 +1,6 @@ +Dorian:
+Did you place the flower at the tombstone? Did you notice who was buried in that grave?
+Nidrah
+Lidia
+Rose + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-06.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-06.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-06.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-07.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-05.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-07.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-08.htm new file mode 100644 index 0000000000..ec290026ed --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-08.htm @@ -0,0 +1,4 @@ +Dorian:
+Yes! Rose rests there... She was the maid Mr. Alfred, my former master, assigned to his daughter. They were about the same age.
+"Who is Alfred's daughter?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-09.htm new file mode 100644 index 0000000000..ec290026ed --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-09.htm @@ -0,0 +1,4 @@ +Dorian:
+Yes! Rose rests there... She was the maid Mr. Alfred, my former master, assigned to his daughter. They were about the same age.
+"Who is Alfred's daughter?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-10.htm similarity index 58% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-08.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-10.htm index b007f29d7e..84edf6915a 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-08.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-10.htm @@ -1,4 +1,4 @@ Dorian:
-Why, she's Lady Lidia, current lord of this manor! She thought highly of Rose, and didn't want her coming back as an undead! Lady Lidia graciously allowed Rose to rest in peace. That's better than most others get around here!
-"How did Rose earn such a privilege?" +Why, she's Lady Lidia, current lord of this manor! She thought highly of Rose, and didn't want her coming back as an undead! Lady Lidia graciously allowed Rose to rest in peace. That's better than most others get around here!
+"How did Rose earn such a privilege?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-11.htm similarity index 62% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-09.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-11.htm index 68a64a5e88..44b9d0cc35 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-09.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-11.htm @@ -1,5 +1,5 @@ Dorian:
I don't know, exactly. All I know is, my fiance was with Lady Lidia, and died protecting her!
Anyway, thank you for taking the flower to Rose's grave.
-"It's the least I could do." +"It's the least I could do." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-12.htm similarity index 73% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-10.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-12.htm index 09a6b87d23..8d0612c004 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-10.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-12.htm @@ -1,6 +1,6 @@ Dorian:
Oh, don't be so modest! You remembered Rose's name! And you asked such respectful questions!
-You're obviously a wonderful person!
Do you suppose you could do something else for me?
+You're obviously a wonderful person!
Do you suppose you could do something else for me?
Recently my nights have been dreamless, and I've woken up with wounds that I don't remember getting! Something strange is going on in this village! Will you investigate?
-"Yes, I will." +"Yes, I will." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-13.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-11.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-13.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-14.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-12.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-14.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-15.htm new file mode 100644 index 0000000000..a10683cd6a --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-15.htm @@ -0,0 +1,5 @@ +Dorian:
+I can't remember last night at all, and I'm exhausted! Have you discovered anything?
+"There's a vampire!"
+"The villagers are changing into monsters!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16.htm similarity index 54% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-14.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16.htm index c311cd6139..62d7772c34 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-14.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16.htm @@ -1,4 +1,4 @@ Dorian:
A vampire, eh?! Hmm... I see. Is the lord of the manor coming down here making the rounds? Hmm...Why am I so tired then?
-"I'll tell you why! Because you're the vampire!" +"I'll tell you why! Because you're the vampire!" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16a.htm new file mode 100644 index 0000000000..2ceeb197ed --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-16a.htm @@ -0,0 +1,5 @@ +Dorian:
+Don't you dare compare me to those idiots in the village!
+A monster, eh? And it only comes out at night?
+"That's right!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-17.htm new file mode 100644 index 0000000000..2e8999db60 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-17.htm @@ -0,0 +1,5 @@ +Dorian:
+Nooo!
+It can't be! Me? A vampire? It's true that the lord of the manor I serve is an undead... But that doesn't mean I'm a vampire!
+"Check out this crucifix!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-18.htm new file mode 100644 index 0000000000..ce5dc65b60 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-18.htm @@ -0,0 +1,6 @@ +Dorian:
+I gave you that! ...I see. Now I remember...
+Young master Einhart and... and... you! You were standing there... holding the holy symbol!
+Now I know... why the lord gave me such an order!
+"What order?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-19.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-17.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-19.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-20.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-18.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-20.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-21.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-21.htm new file mode 100644 index 0000000000..8d0035f070 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-21.htm @@ -0,0 +1,3 @@ +Dorian:
+Oh, come in! Say, you must've dropped this the last time you were here! It looks very valuable! You should keep it in a safe place. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-22.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-22.htm new file mode 100644 index 0000000000..a3785ddebf --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31389-22.htm @@ -0,0 +1,5 @@ +Dorian:
+Did you see the maid of the lord? I have no memories after dark, so I have no idea what she's like!
+I've heard that she's quite beautiful! I was even told that she resembles my fiance!
+At least she's... alive! What a privilege, even if it's only during the day! Oh, well, I shouldn't be talking about this... + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-01.htm new file mode 100644 index 0000000000..e23ba45e84 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-01.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Long time no see. Things sure are quiet these days!
+"What do you know about an odd doll?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-02.htm new file mode 100644 index 0000000000..6ad8b43ec0 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-02.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+What are you talking about?
+"Look at this!" + \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-03.htm similarity index 57% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-03.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-03.htm index 70b578baab..6156fb80d7 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-03.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
Oh, that. It's an amulet to help my puppets collect bone pieces in the forest without getting hurt.
-"That's not what I heard." +"That's not what I heard." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-04.htm new file mode 100644 index 0000000000..af84ac3ae9 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-04.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+It may look a little odd, but it's just an amulet.
+"That's not what I heard." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-05.htm new file mode 100644 index 0000000000..067bdf93d2 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-05.htm @@ -0,0 +1,5 @@ + +Mysterious Wizard:
+What did you hear?
+"That it's related to Wizard Nidrah." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-06.htm new file mode 100644 index 0000000000..5568ef5570 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-06.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Where did you hear the name Nidrah?
+"From the person who told me to see you about the doll." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-07.htm similarity index 70% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-06.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-07.htm index 9756aceada..fb29a4b1d5 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-06.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-07.htm @@ -2,5 +2,5 @@ So, you're under the protection of Lady Lidia.
We've signed a mutual contract not to harm each other.
This doll was made by Nidrah, and tells the Lord of the Forest of the Dead not to attack its bearer.
-"How did you get it?" +"How did you get it?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-08.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-07.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-08.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-09.htm new file mode 100644 index 0000000000..2ee436901e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-09.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+You trust me now? Tell me about Nidrah!
+"Allright, I'll tell you." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-10.htm new file mode 100644 index 0000000000..db632b746b --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-10.htm @@ -0,0 +1,5 @@ +Mysterious Wizard:
+So tell me!
+"You're gathering materials for the dark arts."
+"You signed a contract." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-11.htm new file mode 100644 index 0000000000..9e0b92832f --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-11.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Where is your proof?
+"Lady Lidia controls all the dead of this earth, a power nearly equal to a god's! One must be granted authority by her to have power over the dead in any capacity." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-12.htm new file mode 100644 index 0000000000..ba9a3d69ad --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-12.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+So?
+"Nobody is allowed here without permission. That you're here means you have power at least equal to the Lord of the Forest of the Dead." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-13.htm new file mode 100644 index 0000000000..29886f9964 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-13.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+So I made a mistake. What's wrong with that?
+"It's impossible to have a real nonaggression contract in this situation!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-14.htm new file mode 100644 index 0000000000..517eeb54f3 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-14.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+History is filled with such contracts. Do you know why?
+"Nonaggression contracts are signed between two equal powers. It stays in effect only as long as it benefits them. If one party becomes weaker, the contract is nullified." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-15.htm new file mode 100644 index 0000000000..89c08be357 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-15.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Go on.
+"The Lord of the Dead has absolute power here, why would she sign a contract with you? You must have power equal to hers, or else she reaps some benefit from not fighting you." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-16.htm similarity index 51% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-15.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-16.htm index c45b7782c6..0afc7693f2 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-15.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-16.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
You think I have something to do with Nidrah?
-"Yes." +"Yes." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-17.htm new file mode 100644 index 0000000000..f16975747f --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-17.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Let's say for arguments sake that I'm Nidrah. What difference would that make?
+"Here's the missing page from the diary." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-18.htm new file mode 100644 index 0000000000..f16975747f --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-18.htm @@ -0,0 +1,4 @@ +Mysterious Wizard:
+Let's say for arguments sake that I'm Nidrah. What difference would that make?
+"Here's the missing page from the diary." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-19.htm similarity index 68% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-17.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-19.htm index 73e62685ca..c1a808a1e8 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-17.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-19.htm @@ -1,5 +1,5 @@ Mysterious Wizard:
You found the diary! You're tracking Nidrah.
Going further may be difficult, you're following a dangerous man. If you insist, you'll need the key.
-"Key?" +"Key?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-20.htm similarity index 70% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-18.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-20.htm index 5de5e0c8fe..d7a6460ec4 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-18.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-20.htm @@ -1,4 +1,4 @@ Mysterious Wizard:
The Priest of the Rune Township has the key. I'll give you the doll, it represents the person who carried the real authority in the Hellmann Forest and Rune Territory, even over Lidia.
-"Who is it?" +"Who is it?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-21.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-19.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-21.htm diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-22.htm similarity index 77% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-20.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-22.htm index b537b2efec..7d182d0a43 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-20.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31522-22.htm @@ -1,3 +1,3 @@ -Mysterious Mage:
+Mysterious Wizard:
Visit the temple of the Rune Township if you want to learn more about them. Ask about the one who hides the truth... \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-01.htm similarity index 54% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-01.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-01.htm index 6be6e4bfe7..b275ba0b20 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-01.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-01.htm @@ -1,4 +1,4 @@ Tombstone:
Here lies Rose, a faithful, loving servant. May she rest in peace.
-Place flowers on the grave. +Place flowers on the grave. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-02.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-02.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-02.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-03.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31531-03.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31531-03.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-01.htm similarity index 53% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-01.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-01.htm index 0d83526c24..4481cedf7f 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-01.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-01.htm @@ -1,4 +1,4 @@ Maid of Lidia:
My lady thanks you for recovering the Silver Spear. It's a family treasure.
-"I was doing my duty." +"I was doing my duty." \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-02.htm similarity index 59% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-02.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-02.htm index 65ab1d3f6a..fadf978813 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-02.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-02.htm @@ -1,4 +1,4 @@ Maid of Lidia:
She knows how you helped her ancestors rest in peace. My lady knows all that happens in her forest!
-"Everything?" +"Everything?" \ No newline at end of file diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-03.htm similarity index 61% rename from L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-03.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-03.htm index b85f92f9f8..1b42988859 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-03.htm @@ -1,4 +1,4 @@ Maid of Lidia:
My lady knows everything about your journeys here. She hopes you'll uncover all the details of what has transpired.
-"Please continue." +"Please continue." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-04.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-04.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-04.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-05.htm new file mode 100644 index 0000000000..09e4edc940 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-05.htm @@ -0,0 +1,5 @@ +Maid of Lidia:
+I don't know what it says, I wouldn't dream of reading the letter meant for my lord!
+I was told you had something for me?
+"Here's the hairpin." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-06.htm new file mode 100644 index 0000000000..8f85e63d36 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-06.htm @@ -0,0 +1,5 @@ +Maid of Lidia:
+This is Nidrah's work, a hairpin of Moon Face Flower. How beautiful!
+I must go now.
+"Wait!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07.htm new file mode 100644 index 0000000000..7b7810ae9c --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07.htm @@ -0,0 +1,3 @@ +Maid of Lidia:
+Oh no! Could you have dropped it in the village? Take the letter with you and ask around for it. Meet me again tomorrow night. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07a.htm new file mode 100644 index 0000000000..a3be166213 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-07a.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+Do you have something for me?
+"Here's the hairpin." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-08.htm new file mode 100644 index 0000000000..9477ce1698 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-08.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+What is it?
+"What do you know about Nidrah?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-09.htm new file mode 100644 index 0000000000..5dfabad70d --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-09.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+What is it?
+"Tell me everything you know about Nidrah!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-10.htm new file mode 100644 index 0000000000..b7a8055b12 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-10.htm @@ -0,0 +1,7 @@ +Maid of Lidia:
+Did I say Nidrah?
+What do you know of the name?
+"It's a tree."
+"It's a corpse."
+"It's a Mystic." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-11.htm new file mode 100644 index 0000000000..b7a8055b12 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-11.htm @@ -0,0 +1,7 @@ +Maid of Lidia:
+Did I say Nidrah?
+What do you know of the name?
+"It's a tree."
+"It's a corpse."
+"It's a Mystic." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-12.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-09.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-12.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-13.htm similarity index 100% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-10.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-13.htm diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-14.htm new file mode 100644 index 0000000000..c6b12b7834 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-14.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+What kind of Mystic was he?
+"A Mystic of Dark Arts!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-15.htm new file mode 100644 index 0000000000..a4063ea777 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-15.htm @@ -0,0 +1,5 @@ +Maid of Lidia:
+Oh! Only Lord Alfred and Lady Lidia know. Even Einhalder thinks he's an ordinary Mystic! How do you know of this?
+"I read the diary."
+"How do you know?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-16.htm new file mode 100644 index 0000000000..2ee3d48da9 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-16.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+Did you read of the contract between Nidrah and my lady in the diary?
+"Now you must tell me what you know!" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-17.htm new file mode 100644 index 0000000000..267d3468c2 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-17.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+How do you know about Nidrah? Are you the last survivor? If so, you'll never get out of this forest alive...or dead!
+"I read the diary." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-18.htm similarity index 66% rename from L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-15.htm rename to L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-18.htm index 94b2137963..a4d181e8fa 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-15.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-18.htm @@ -1,5 +1,5 @@ Maid of Lidia:
I was there when the contract was signed, but the memory of the undead is not very clear.
If you find out what's on the missing page, when the contract was signed, I'll tell you more.
-"I've already come this far." +"I've already come this far." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-19.htm new file mode 100644 index 0000000000..4c314a7983 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-19.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+This I can tell you.
+The black magi roam freely during the day, but are fewer at night. Some carry odd looking dolls. Take one to their master, I'm sure he can tell you more! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-20.htm new file mode 100644 index 0000000000..4c314a7983 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/31532-20.htm @@ -0,0 +1,4 @@ +Maid of Lidia:
+This I can tell you.
+The black magi roam freely during the day, but are fewer at night. Some carry odd looking dolls. Take one to their master, I'm sure he can tell you more! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/Q024_InhabitantsOfTheForestOfTheDead.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/Q024_InhabitantsOfTheForestOfTheDead.java new file mode 100644 index 0000000000..f7fcdeeab0 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForestOfTheDead/Q024_InhabitantsOfTheForestOfTheDead.java @@ -0,0 +1,394 @@ +/* + * 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 . + */ +package quests.Q024_InhabitantsOfTheForestOfTheDead; + +import org.l2jmobius.gameserver.enums.ChatType; +import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.serverpackets.CreatureSay; + +import quests.Q023_LidiasHeart.Q023_LidiasHeart; + +public class Q024_InhabitantsOfTheForestOfTheDead extends Quest +{ + // NPCs + private static final int DORIAN = 31389; + private static final int WIZARD = 31522; + private static final int TOMBSTONE = 31531; + private static final int MAID_OF_LIDIA = 31532; + private static final int[] MOBS = + { + 21557, // BONE_SNATCHER + 21558, // BONE_SNATCHER_A + 21560, // BONE_SHAPER + 21563, // BONE_COLLECTOR + 21564, // SKULL_COLLECTOR + 21565, // BONE_ANIMATOR + 21566, // SKULL_ANIMATOR + 21567, // BONE_SLAYER + }; + // Items + private static final int LETTER = 7065; + private static final int HAIRPIN = 7148; + private static final int TOTEM = 7151; + private static final int FLOWER = 7152; + private static final int SILVER_CROSS = 7153; + private static final int BROKEN_SILVER_CROSS = 7154; + private static final int SUSPICIOUS_TOTEM = 7156; + + public Q024_InhabitantsOfTheForestOfTheDead() + { + super(24, "Inhabitants of the Forest of the Dead"); + + addStartNpc(DORIAN); + addTalkId(DORIAN, TOMBSTONE, MAID_OF_LIDIA, WIZARD); + registerQuestItems(FLOWER, SILVER_CROSS, BROKEN_SILVER_CROSS, LETTER, HAIRPIN, TOTEM); + addKillId(MOBS); + addAggroRangeEnterId(25332); + } + + @Override + public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) + { + String htmltext = event; + QuestState st = player.getQuestState(getName()); + if (st == null) + { + return event; + } + if (event.equals("31389-03.htm")) + { + st.setState(State.STARTED); + st.set("cond", "1"); + st.set("state", "1"); + st.playSound("ItemSound.quest_accept"); + st.giveItems(FLOWER, 1); + } + else if (event.equals("31389-08.htm")) + { + st.set("state", "3"); + } + else if (event.equals("31389-13.htm")) + { + st.set("cond", "3"); + st.set("state", "4"); + st.playSound("ItemSound.quest_middle"); + st.giveItems(SILVER_CROSS, 1); + } + else if (event.equals("31389-18.htm")) + { + st.playSound("InterfaceSound.charstat_open_01"); + } + else if (event.equals("31389-19.htm")) + { + st.set("cond", "5"); + st.set("state", "5"); + st.takeItems(BROKEN_SILVER_CROSS, -1); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31522-03.htm")) + { + st.set("state", "12"); + st.takeItems(TOTEM, -1); + } + else if (event.equals("31522-08.htm")) + { + st.set("cond", "11"); + st.set("state", "13"); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31522-17.htm")) + { + st.set("state", "14"); + } + else if (event.equals("31522-21.htm")) + { + st.giveItems(SUSPICIOUS_TOTEM, 1); + st.playSound("ItemSound.quest_finish"); + st.exitQuest(false); + } + else if (event.equals("31532-04.htm")) + { + st.set("cond", "6"); + st.set("state", "6"); + st.giveItems(LETTER, 1); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31532-06.htm")) + { + if (st.hasQuestItems(HAIRPIN)) + { + st.set("state", "8"); + st.takeItems(LETTER, -1); + st.takeItems(HAIRPIN, -1); + } + else + { + st.set("cond", "7"); + st.set("state", "7"); + htmltext = "31532-07.htm"; + } + } + else if (event.equals("31532-10.htm")) + { + st.set("state", "9"); + } + else if (event.equals("31532-14.htm")) + { + st.set("state", "10"); + } + else if (event.equals("31532-19.htm")) + { + st.set("cond", "9"); + st.set("state", "11"); + st.playSound("ItemSound.quest_middle"); + } + else if (event.equals("31531-02.htm")) + { + st.set("cond", "2"); + st.set("state", "2"); + st.takeItems(FLOWER, -1); + st.playSound("ItemSound.quest_middle"); + } + + return htmltext; + } + + @Override + public String onTalk(NpcInstance npc, PlayerInstance player) + { + String htmltext = getNoQuestMsg(); + QuestState st = player.getQuestState(getName()); + if (st == null) + { + return htmltext; + } + switch (st.getState()) + { + case State.CREATED: + QuestState st2 = player.getQuestState(Q023_LidiasHeart.class.getSimpleName()); + if ((st2 != null) && st2.isCompleted() && (player.getLevel() >= 65)) + { + htmltext = "31389-01.htm"; + } + else + { + htmltext = "31389-02.htm"; + } + break; + case State.STARTED: + int state = st.getInt("state"); + switch (npc.getNpcId()) + { + case 31389: + if (state == 1) + { + htmltext = "31389-04.htm"; + return htmltext; + } + else if (state == 2) + { + htmltext = "31389-05.htm"; + return htmltext; + } + else if (state == 3) + { + htmltext = "31389-09.htm"; + return htmltext; + } + else if (state == 4) + { + if (st.hasQuestItems(SILVER_CROSS)) + { + htmltext = "31389-14.htm"; + } + else if (st.hasQuestItems(BROKEN_SILVER_CROSS)) + { + htmltext = "31389-15.htm"; + return htmltext; + } + + return htmltext; + } + else if (state == 5) + { + htmltext = "31389-20.htm"; + return htmltext; + } + else + { + if ((state == 7) && !st.hasQuestItems(HAIRPIN)) + { + htmltext = "31389-21.htm"; + st.set("cond", "8"); + st.giveItems(HAIRPIN, 1); + st.playSound("ItemSound.quest_middle"); + } + else if (((state == 7) && st.hasQuestItems(HAIRPIN)) || (state == 6)) + { + htmltext = "31389-22.htm"; + return htmltext; + } + + return htmltext; + } + case 31522: + if ((state == 11) && st.hasQuestItems(TOTEM)) + { + htmltext = "31522-01.htm"; + return htmltext; + } + else if (state == 12) + { + htmltext = "31522-04.htm"; + return htmltext; + } + else + { + if (state == 13) + { + htmltext = "31522-09.htm"; + } + else if (state == 14) + { + htmltext = "31522-18.htm"; + return htmltext; + } + + return htmltext; + } + case 31531: + if ((state == 1) && st.hasQuestItems(FLOWER)) + { + htmltext = "31531-01.htm"; + st.playSound("AmdSound.d_wind_loot_02"); + } + else if (state == 2) + { + htmltext = "31531-03.htm"; + return htmltext; + } + + return htmltext; + case 31532: + if (state == 5) + { + htmltext = "31532-01.htm"; + return htmltext; + } + else if ((state == 6) && st.hasQuestItems(LETTER)) + { + htmltext = "31532-05.htm"; + return htmltext; + } + else if (state == 7) + { + htmltext = "31532-07a.htm"; + return htmltext; + } + else if (state == 8) + { + htmltext = "31532-08.htm"; + return htmltext; + } + else if (state == 9) + { + htmltext = "31532-11.htm"; + return htmltext; + } + else + { + if (state == 10) + { + htmltext = "31532-15.htm"; + } + else if (state == 11) + { + htmltext = "31532-20.htm"; + return htmltext; + } + + return htmltext; + } + default: + return htmltext; + } + case State.COMPLETED: + if (npc.getNpcId() == 31522) + { + htmltext = "31522-22.htm"; + } + else + { + htmltext = getAlreadyCompletedMsg(); + } + } + + return htmltext; + } + + @Override + public String onAggroRangeEnter(NpcInstance npc, PlayerInstance player, boolean isPet) + { + if (isPet) + { + npc.getAttackByList().remove(player.getPet()); + } + else + { + npc.getAttackByList().remove(player); + final QuestState qs = player.getQuestState(getName()); + if ((qs != null) && (qs.getQuestItemsCount(SILVER_CROSS) > 0)) + { + qs.takeItems(SILVER_CROSS, -1); + qs.giveItems(BROKEN_SILVER_CROSS, 1); + qs.set("cond", "4"); + for (PlayerInstance nearby : npc.getKnownList().getKnownPlayers().values()) + { + nearby.sendPacket(new CreatureSay(npc.getObjectId(), ChatType.GENERAL, npc.getName(), "That sign!")); + } + } + } + return super.onAggroRangeEnter(npc, player, isPet); + } + + @Override + public String onKill(NpcInstance npc, PlayerInstance player, boolean isSummon) + { + final PlayerInstance partyMember = getRandomPartyMember(player, npc, "9"); + if (partyMember == null) + { + return null; + } + + final QuestState st = partyMember.getQuestState(getName()); + if (st == null) + { + return null; + } + if (st.dropItems(TOTEM, 1, 1, 100000)) + { + st.set("cond", "10"); + } + + return null; + } + +} \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-04.htm deleted file mode 100644 index 92dc974d11..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-04.htm +++ /dev/null @@ -1,6 +0,0 @@ -Dorian:
-Did you place the flower at the tombstone? Did you notice who was buried in that grave?
-Nidrah
-Lidia
-Rose - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-13.htm deleted file mode 100644 index 3651c2fa32..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-13.htm +++ /dev/null @@ -1,5 +0,0 @@ -Dorian:
-I can't remember last night at all, and I'm exhausted! Have you discovered anything?
-"There's a vampire!"
-"The villagers are changing into monsters!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-15.htm deleted file mode 100644 index d430d7b775..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-15.htm +++ /dev/null @@ -1,5 +0,0 @@ -Dorian:
-Nooo!
-It can't be! Me? A vampire? It's true that the lord of the manor I serve is an undead... But that doesn't mean I'm a vampire!
- "Check out this crucifix!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-16.htm deleted file mode 100644 index dc9029528b..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31389-16.htm +++ /dev/null @@ -1,6 +0,0 @@ -Dorian:
-I gave you that! ...I see. Now I remember...
-Young master Einhart and... and... you! You were standing there... holding the holy symbol!
-Now I know... why the lord gave me such an order!
-"What order?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-01.htm deleted file mode 100644 index 8f6aa84069..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Long time no see. Things sure are quiet these days!
-"What do you know about an odd doll?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-02.htm deleted file mode 100644 index 9c13009461..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-02.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-What are you talking about?
-"Look at this!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-04.htm deleted file mode 100644 index 1c105bd265..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-What did you hear?
-"That it's related to Wizard Nidrah." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-05.htm deleted file mode 100644 index 14fe3579b2..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Where did you hear the name Nidrah?
-"From the person who told me to see you about the doll." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-08.htm deleted file mode 100644 index 2bde77b5ce..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-08.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-You trust me now? Tell me about Nidrah!
-"Allright, I'll tell you." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-09.htm deleted file mode 100644 index 24295ee810..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-09.htm +++ /dev/null @@ -1,5 +0,0 @@ -Mysterous Wizard:
-So tell me!
-"You're gathering materials for the dark arts."
-"You signed a contract." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-10.htm deleted file mode 100644 index 213ccb24c6..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-10.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Where is your proof?
-"Lady Lidia controls all the dead of this earth, a power nearly equal to a god's! One must be granted authority by her to have power over the dead in any capacity." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-11.htm deleted file mode 100644 index 230df01102..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-11.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-So?
-"Nobody is allowed here without permission. That you're here means you have power at least equal to the Lord of the Forest of the Dead." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-12.htm deleted file mode 100644 index 21fc5db4a2..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-12.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-So I made a mistake. What's wrong with that?
-"It's impossible to have a real nonaggression contract in this situation!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-13.htm deleted file mode 100644 index 8a38c9aec4..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-13.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-History is filled with such contracts. Do you know why?
-"Nonaggression contracts are signed between two equal powers. It stays in effect only as long as it benefits them. If one party becomes weaker, the contract is nullified." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-14.htm deleted file mode 100644 index 5afd343473..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31522-14.htm +++ /dev/null @@ -1,4 +0,0 @@ -Mysterious Wizard:
-Go on.
-"The Lord of the Dead has absolute power here, why would she sign a contract with you? You must have power equal to hers, or else she reaps some benefit from not fighting you." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-05.htm deleted file mode 100644 index cd8e642e66..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-I don't know what it says, I wouldn't dream of reading the letter meant for my lord!
I was told you had something for me?
-"Here's the hairpin." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-06.htm deleted file mode 100644 index f5d6e5d1e1..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-06.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-This is Neidrahu's work, a hairpin of Moon Face Flower. How beautiful!
-"Wait!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-07.htm deleted file mode 100644 index e18e6f2e19..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-07.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-What is it?
-"What do you know about Neidrahu?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-08.htm deleted file mode 100644 index 419332f64f..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-08.htm +++ /dev/null @@ -1,7 +0,0 @@ -Maid of Lidia:
-Did I say Neidrahu?
-What do you know of the name?
-"It's a tree."
-"It's a corpse."
-"It's a Mystic." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-11.htm deleted file mode 100644 index c8a6252f19..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-11.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-What kind of Mystic was he?
-"A Mystic of Dark Arts!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-12.htm deleted file mode 100644 index 7a120f5098..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-12.htm +++ /dev/null @@ -1,5 +0,0 @@ -Maid of Lidia:
-Oh! Only Lord Alfred and Lady Lidia know. Even Einhalder thinks he's an ordinary Mystic! How do you know of this?
-"I read the diary."
-"How do you know?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-13.htm deleted file mode 100644 index 90629913af..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-13.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-Did you read of the contract between Neidrahu and my lady in the diary?
-"Now you must tell me what you know!" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-14.htm deleted file mode 100644 index 156ac86a60..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/31532-14.htm +++ /dev/null @@ -1,4 +0,0 @@ -Maid of Lidia:
-How do you know about Neidrahu? Are you the last survivor? If so, you'll never get out of this forest alive...or dead!
-"I read the diary." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/Q024_InhabitantsOfTheForrestOfTheDead.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/Q024_InhabitantsOfTheForrestOfTheDead.java deleted file mode 100644 index 1de2df9e4d..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q024_InhabitantsOfTheForrestOfTheDead/Q024_InhabitantsOfTheForrestOfTheDead.java +++ /dev/null @@ -1,284 +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 . - */ -package quests.Q024_InhabitantsOfTheForrestOfTheDead; - -import org.l2jmobius.gameserver.enums.ChatType; -import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; -import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; -import org.l2jmobius.gameserver.model.quest.Quest; -import org.l2jmobius.gameserver.model.quest.QuestState; -import org.l2jmobius.gameserver.model.quest.State; -import org.l2jmobius.gameserver.network.serverpackets.CreatureSay; - -import quests.Q023_LidiasHeart.Q023_LidiasHeart; - -/** - * @author Mobius - * @note Based on python script - */ -public class Q024_InhabitantsOfTheForrestOfTheDead extends Quest -{ - // NPCs - private static final int DORIAN = 31389; - private static final int WIZARD = 31522; - private static final int TOMBSTONE = 31531; - private static final int MAID_OF_LIDIA = 31532; - // Items - private static final int LETTER = 7065; - private static final int HAIRPIN = 7148; - private static final int TOTEM = 7151; - private static final int FLOWER = 7152; - private static final int SILVER_CROSS = 7153; - private static final int BROKEN_SILVER_CROSS = 7154; - private static final int SUSPICIOUS_TOTEM = 7156; - - public Q024_InhabitantsOfTheForrestOfTheDead() - { - super(24, "Inhabitants of the Forest of the Dead"); - - addStartNpc(DORIAN); - addTalkId(DORIAN, TOMBSTONE, MAID_OF_LIDIA, WIZARD); - registerQuestItems(FLOWER, SILVER_CROSS, BROKEN_SILVER_CROSS, LETTER, HAIRPIN, TOTEM); - addAggroRangeEnterId(25332); - } - - @Override - public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) - { - final String htmltext = event; - final QuestState qs = player.getQuestState(getName()); - if (qs == null) - { - return htmltext; - } - - switch (event) - { - case "31389-02.htm": - { - qs.giveItems(FLOWER, 1); - qs.set("cond", "1"); - qs.playSound("ItemSound.quest_accept"); - qs.setState(State.STARTED); - break; - } - case "31389-11.htm": - { - qs.set("cond", "3"); - qs.playSound("ItemSound.quest_middle"); - qs.giveItems(SILVER_CROSS, 1); - break; - } - case "31389-16.htm": - { - qs.playSound("InterfaceSound.charstat_open_01"); - break; - } - case "31389-17.htm": - { - qs.takeItems(BROKEN_SILVER_CROSS, -1); - qs.giveItems(HAIRPIN, 1); - qs.set("cond", "5"); - break; - } - case "31522-03.htm": - { - qs.takeItems(TOTEM, -1); - break; - } - case "31522-07.htm": - { - qs.set("cond", "11"); - break; - } - case "31522-19.htm": - { - qs.giveItems(SUSPICIOUS_TOTEM, 1); - qs.rewardExpAndSp(242105, 22529); - qs.exitQuest(true); - qs.playSound("ItemSound.quest_finish"); - break; - } - case "31531-02.htm": - { - qs.playSound("ItemSound.quest_middle"); - qs.set("cond", "2"); - qs.takeItems(FLOWER, -1); - break; - } - case "31532-04.htm": - { - qs.playSound("ItemSound.quest_middle"); - qs.giveItems(LETTER, 1); - qs.set("cond", "6"); - break; - } - case "31532-06.htm": - { - qs.takeItems(HAIRPIN, -1); - qs.takeItems(LETTER, -1); - break; - } - case "31532-16.htm": - { - qs.playSound("ItemSound.quest_middle"); - qs.set("cond", "9"); - break; - } - } - return htmltext; - } - - @Override - public String onTalk(NpcInstance npc, PlayerInstance player) - { - String htmltext = getNoQuestMsg(); - final QuestState qs = player.getQuestState(getName()); - if (qs == null) - { - return htmltext; - } - - final int npcId = npc.getNpcId(); - final int state = qs.getState(); - if (state == State.COMPLETED) - { - if (npcId == WIZARD) - { - htmltext = "31522-20.htm"; - } - else - { - htmltext = getAlreadyCompletedMsg(); - } - } - final int cond = qs.getInt("cond"); - if (npcId == DORIAN) - { - if (state == State.CREATED) - { - final QuestState qs2 = player.getQuestState(Q023_LidiasHeart.class.getSimpleName()); - if (qs2 != null) - { - if ((qs2.getState() == State.COMPLETED) && (player.getLevel() >= 65)) - { - htmltext = "31389-01.htm"; - } - else - { - htmltext = "31389-00.htm"; - } - } - else - { - htmltext = "31389-00.htm"; - } - } - else if (cond == 1) - { - htmltext = "31389-03.htm"; - } - else if (cond == 2) - { - htmltext = "31389-04.htm"; - } - else if (cond == 3) - { - htmltext = "31389-12.htm"; - } - else if (cond == 4) - { - htmltext = "31389-13.htm"; - } - else if (cond == 5) - { - htmltext = "31389-18.htm"; - } - } - else if (npcId == TOMBSTONE) - { - if (cond == 1) - { - qs.playSound("AmdSound.d_wind_loot_02"); - htmltext = "31531-01.htm"; - } - else if (cond == 2) - { - htmltext = "31531-03.htm"; - } - } - else if (npcId == MAID_OF_LIDIA) - { - if (cond == 5) - { - htmltext = "31532-01.htm"; - } - else if (cond == 6) - { - if ((qs.getQuestItemsCount(LETTER) > 0) && (qs.getQuestItemsCount(HAIRPIN) > 0)) - { - htmltext = "31532-05.htm"; - } - else - { - htmltext = "31532-07.htm"; - } - } - else if (cond == 9) - { - htmltext = "31532-16.htm"; - } - } - else if (npcId == WIZARD) - { - if (cond == 10) - { - htmltext = "31522-01.htm"; - } - else if (cond == 11) - { - htmltext = "31522-08.htm"; - } - } - return htmltext; - } - - @Override - public String onAggroRangeEnter(NpcInstance npc, PlayerInstance player, boolean isPet) - { - if (isPet) - { - npc.getAttackByList().remove(player.getPet()); - } - else - { - npc.getAttackByList().remove(player); - final QuestState qs = player.getQuestState(getName()); - if ((qs != null) && (qs.getQuestItemsCount(SILVER_CROSS) > 0)) - { - qs.takeItems(SILVER_CROSS, -1); - qs.giveItems(BROKEN_SILVER_CROSS, 1); - qs.set("cond", "4"); - for (PlayerInstance nearby : npc.getKnownList().getKnownPlayers().values()) - { - nearby.sendPacket(new CreatureSay(npc.getObjectId(), ChatType.GENERAL, npc.getName(), "That sign!")); - } - } - } - return super.onAggroRangeEnter(npc, player, isPet); - } -} \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java index 251f9627d1..74c41c00e5 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q025_HidingBehindTheTruth/Q025_HidingBehindTheTruth.java @@ -26,7 +26,7 @@ import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.model.quest.State; import org.l2jmobius.gameserver.network.serverpackets.CreatureSay; -import quests.Q024_InhabitantsOfTheForrestOfTheDead.Q024_InhabitantsOfTheForrestOfTheDead; +import quests.Q024_InhabitantsOfTheForestOfTheDead.Q024_InhabitantsOfTheForestOfTheDead; /** * @author Mobius @@ -240,7 +240,7 @@ public class Q025_HidingBehindTheTruth extends Quest { if (npcId == BENEDICT) { - final QuestState qs2 = player.getQuestState(Q024_InhabitantsOfTheForrestOfTheDead.class.getSimpleName()); + final QuestState qs2 = player.getQuestState(Q024_InhabitantsOfTheForestOfTheDead.class.getSimpleName()); if (qs2 != null) { if ((qs2.getState() == State.COMPLETED) && (player.getLevel() >= 66)) diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java index e18fa05b30..e05247f7d4 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q027_ChestCaughtWithABaitOfWind/Q027_ChestCaughtWithABaitOfWind.java @@ -28,7 +28,7 @@ public class Q027_ChestCaughtWithABaitOfWind extends Quest { // NPCs private static final int LANOSCO = 31570; - private static final int SHALING = 31442; + private static final int SHALING = 31434; // Items private static final int LARGE_BLUE_TREASURE_CHEST = 6500; diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q120_PavelsResearch/Q120_PavelsResearch.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q120_PavelsResearch/Q120_PavelsResearch.java index e4ca64482d..db728e5b75 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q120_PavelsResearch/Q120_PavelsResearch.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q120_PavelsResearch/Q120_PavelsResearch.java @@ -274,7 +274,7 @@ public class Q120_PavelsResearch extends Quest { qs.set("cond", "15"); qs.playSound("ItemSound.quest_middle"); - qs.giveItems(REPORT, 1); + qs.giveItems(REPORT2, 1); npc.broadcastPacket(new MagicSkillUse(npc, qs.getPlayer(), 5073, 5, 1500, 0)); break; } @@ -657,7 +657,7 @@ public class Q120_PavelsResearch extends Quest { htmltext = "32044-06.htm"; } - else if (cond == 22) + else if (cond > 21) { htmltext = "32044-18.htm"; } diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm index 800e942b99..0c630986eb 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-14.htm @@ -10,7 +10,8 @@ Now choose your second number.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm index b39aa7b513..059a7714ae 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-15.htm @@ -10,7 +10,8 @@ Now choose your third number.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm index 0db8e958b4..19e9c70204 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-16.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm index 49ebcb3e55..7bfdb95817 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-17.htm @@ -10,7 +10,8 @@ Make your fourth choice. Choose carefully.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm index 58ca746e56..4e20cc75ba 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-18.htm @@ -1,5 +1,5 @@ Warehouse Freightman Cliff:
-You have already chosen that number. Make your third choice again.
+You have already chosen that number. Make your third choice again.
1     2     3     @@ -10,7 +10,8 @@ You have already chosen that number. Make your third choice again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm index 127e96ca49..2cd8d9850c 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-19.htm @@ -10,7 +10,8 @@ You're almost done. Now, choose your fifth number carefully.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm index eaadbdc98a..769465047d 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-20.htm @@ -10,7 +10,8 @@ You have already chosen that number. Make your fourth choice again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm index 157cd9891e..6c1ec048a6 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-21.htm @@ -10,7 +10,8 @@ Now make your final choice.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm index 32f1c269f3..1b25bf0f46 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-22.htm @@ -10,7 +10,8 @@ I realize this game is a bit confusing at first. You have selected a number that 8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm index 46867f5160..55552d9fe6 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-23.htm @@ -4,7 +4,8 @@ You've created 3 lines! The red-colored numbers on the bingo panel below are the .
.
Puff puff... it's very dusty. Here it is! Do you like it?
- +
+ @@ -16,5 +17,6 @@ Puff puff... it's very dusty. Here it is! Do you like it?
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm index 183221962a..5c8672bc41 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-24.htm @@ -1,6 +1,7 @@ Warehouse Freightman Cliff:
Hmm... Unfortunately, your numbers did not create 3 lines. Better luck next time. The red-colored numbers on the panel are the ones you chose.
- +
+ @@ -12,5 +13,6 @@ Hmm... Unfortunately, your numbers did not create 3 lines. Better luck next time -
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm index 64feba2a6c..1970858f36 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-25.htm @@ -5,7 +5,8 @@ Usually, I don't give a reward when you don't create a single line, but I feel s .
.
Take this. I hope it will help improve your luck!
- +
+ @@ -17,5 +18,6 @@ Take this. I hope it will help improve your luck!
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm index 324e6f6db4..bc3fa18644 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30182-26.htm @@ -10,7 +10,8 @@ You have already chosen that number. Please choose your sixth number again.
8     9
Your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ Your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm index 4f138498b7..7f9314213d 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-14.htm @@ -10,7 +10,8 @@ Now, choose your second number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm index 3c34266dd4..fe47fc1a32 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-15.htm @@ -10,7 +10,8 @@ Now, choose your third number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm index 462525c1a7..b9436cf2e7 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-16.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your second number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm index 7f6b8bb7c5..ef9d8d6eee 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-17.htm @@ -10,7 +10,8 @@ Now choose your fourth number!
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm index 2d03aa511d..2b67b2e67c 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-18.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your third number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm index d913c516ae..ce2702c111 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-19.htm @@ -10,7 +10,8 @@ Now, choose your fifth number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,4 +23,5 @@ For your information, your current selection is shown below.
-
\ No newline at end of file + + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm index 917813f54c..e7b4c07e46 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-20.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your fourth number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm index f0927fefe4..6aaec37619 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-21.htm @@ -10,7 +10,8 @@ Now choose your final number.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm index 3d0c770d36..6edf1ee292 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-22.htm @@ -10,7 +10,8 @@ You have already selected that number. Choose your fifth number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm index eb53ea6795..088ffa5550 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-23.htm @@ -4,7 +4,8 @@ You've created 3 lines! The red colored numbers on the bingo panel below are the .
.
Puff puff... it's very dusty. Here it is. Do you like it?
- +
+ @@ -16,5 +17,6 @@ Puff puff... it's very dusty. Here it is. Do you like it?
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm index 5df0f12c1a..dd752f19a5 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-24.htm @@ -1,6 +1,7 @@ Warehouse Chief Baxt:
Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers on the panel are the ones you chose.
- +
+ @@ -12,5 +13,6 @@ Hmm... You didn't make 3 lines. Why don't you try again? The red-colored numbers -
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm index c367f4f84e..2956ffaf5b 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-25.htm @@ -5,7 +5,8 @@ Usually, I don't give a reward when you don't create a single line, but since I' .
.
Here, take this. I hope it will bring you better luck in the future.
- +
+ @@ -17,5 +18,6 @@ Here, take this. I hope it will bring you better luck in the future.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm index f2a3c7e7f9..47d40f2f61 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/30685-26.htm @@ -10,7 +10,8 @@ You've already chosen that number. Please choose your sixth number again.
8     9
For your information, your current selection is shown below.
- +
+ @@ -22,5 +23,6 @@ For your information, your current selection is shown below.
-
+ + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java index dabd236f1f..6c89f5d941 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java @@ -68,48 +68,48 @@ public class Q384_WarehouseKeepersPastime extends Quest CHANCES.put(20605, 150000); // Weird Drake } - private static final int[][] INDEX_MAP = + private static final int[][] MATRICE_3X3_LINES = new int[][] { { 1, 2, 3 - }, // line 1 + }, { 4, 5, 6 - }, // line 2 + }, { 7, 8, 9 - }, // line 3 + }, { 1, 4, 7 - }, // column 1 + }, { 2, 5, 8 - }, // column 2 + }, { 3, 6, 9 - }, // column 3 + }, { 1, 5, 9 - }, // diagonal 1 + }, { 3, 5, 7 - }, // diagonal 2 + } }; private static final int[][] _rewards_10_win = @@ -302,10 +302,10 @@ public class Q384_WarehouseKeepersPastime extends Quest else if (event.startsWith("select_3-")) // pick #6 { // Stores the current event for future use. - final String number = event.substring(9); + String number = event.substring(9); // Restore the player array. - final String playerArray = st.getString("playerArray"); + String playerArray = st.getString("playerArray"); // Verify if the given number is already on the player array, if yes, it's invalid, otherwise calculate reward. if (Util.contains(playerArray.split(""), number)) @@ -315,23 +315,28 @@ public class Q384_WarehouseKeepersPastime extends Quest else { // No need to store the String on player db, but still need to update it. - final String[] playerChoice = playerArray.concat(number).split(""); + String playerChoice = playerArray.concat(number); // Transform the generated board (9 string length) into a 2d matrice (3x3 int). - final String[] board = st.getString("board").split(""); + String[] board = ((String) st.get("board")).split(""); // test for all line combination int winningLines = 0; - for (int[] map : INDEX_MAP) + int[][] var12 = MATRICE_3X3_LINES; + int var13 = var12.length; + int var14; + for (var14 = 0; var14 < var13; ++var14) { - // test line combination + int[] map = var12[var14]; boolean won = true; - for (int index : map) - { - won &= Util.contains(playerChoice, board[index]); - } + int[] var17 = map; + int var18 = map.length; - // cut the loop, when you won + for (int var19 = 0; var19 < var18; ++var19) + { + int index = var17[var19]; + won &= playerChoice.contains(board[index - 1]); + } if (won) { winningLines++; @@ -377,8 +382,8 @@ public class Q384_WarehouseKeepersPastime extends Quest for (int i = 1; i < 10; i++) { - htmltext = htmltext.replace("", board[i]); - htmltext = htmltext.replace("", (Util.contains(playerChoice, board[i])) ? "ff0000" : "ffffff"); + htmltext = htmltext.replace("", board[i - 1]); + htmltext = htmltext.replace("", playerChoice.contains(board[i - 1]) ? "ff0000" : "ffffff"); } } } @@ -390,7 +395,7 @@ public class Q384_WarehouseKeepersPastime extends Quest public String onTalk(NpcInstance npc, PlayerInstance player) { String htmltext = getNoQuestMsg(); - final QuestState st = player.getQuestState(getName()); + QuestState st = player.getQuestState(getName()); if (st == null) { return htmltext; @@ -399,21 +404,27 @@ public class Q384_WarehouseKeepersPastime extends Quest switch (st.getState()) { case State.CREATED: - htmltext = (player.getLevel() < 40) ? "30182-04.htm" : "30182-01.htm"; + { + htmltext = player.getLevel() < 40 ? "30182-04.htm" : "30182-01.htm"; break; - + } case State.STARTED: + { switch (npc.getNpcId()) { - case CLIFF: - htmltext = (st.getQuestItemsCount(MEDAL) < 10) ? "30182-06.htm" : "30182-07.htm"; + case 30182: + { + htmltext = st.getQuestItemsCount(5964) < 10 ? "30182-06.htm" : "30182-07.htm"; break; - - case BAXT: - htmltext = (st.getQuestItemsCount(MEDAL) < 10) ? "30685-01.htm" : "30685-02.htm"; + } + case 30685: + { + htmltext = st.getQuestItemsCount(5964) < 10 ? "30685-01.htm" : "30685-02.htm"; break; + } } break; + } } return htmltext; @@ -427,20 +438,18 @@ public class Q384_WarehouseKeepersPastime extends Quest { return null; } - partyMember.getQuestState(getName()).dropItems(MEDAL, 1, 0, CHANCES.get(npc.getNpcId())); - return null; } private static final String fillBoard(QuestState st, String htmltext) { - final String[] playerArray = st.getString("playerArray").split(""); - final String[] board = st.getString("board").split(""); String result = htmltext; - for (int i = 1; i < 10; i++) + String playerArray = (String) st.get("playerArray"); + String[] board = ((String) st.get("board")).split(""); + for (int i = 1; i < 10; ++i) { - result = result.replace("", (Util.contains(playerArray, board[i])) ? board[i] : "?"); + result = result.replace("", playerArray.contains(board[i - 1]) ? board[i - 1] : "?"); } return result; } diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-01.htm new file mode 100644 index 0000000000..ea636a91cc --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-01.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+The Iron Gate Guild is dedicated to keeping its customers' goods safe and sound. Our warehouses are virtual fortresses, strong and solid.
+We now use Infernium for our warehouse doors, locks and exterior walls. There's nothing stronger that we know of. But...
+"But what?" + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-03.htm new file mode 100644 index 0000000000..8a823942cb --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-03.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+Something happened a few days ago. The Blacksmith who was refining Infernium was attacked by monsters, and all the Infernium ore were stolen. That ore was going to be used to construct a new, state-of-the-art warehouse. We must retrieve them at all costs!
+Will you help us retrieve the Infernium ore? We will gladly pay you...
+Say yes. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-04.htm new file mode 100644 index 0000000000..cdb488bf57 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-04.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+The Iron Gate Guild is dedicated to keeping its customers' goods safe and sound. Our warehouses are virtual fortresses, strong and solid.
+We now use Infernium for our warehouse doors, locks and exterior walls. There's nothing stronger that we know of. But... Eh, no, never mind. It's too early to tell you this story.
+(Only characters who are level 58 or higher may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-05.htm new file mode 100644 index 0000000000..dc9632ffb7 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-05.htm @@ -0,0 +1,4 @@ +Warehouse Keeper Romp:
+Good! For every 100 Infernium Ores you recover, I will give you a chance to play bingo. If you do well in bingo you will also receive a nice reward: a necessary ingredient for the manufacture of an A-Grade weapon. Nice, eh?
+Oh! I forgot to tell you something important. From the footprints, fur and eyewitness testimony, the monsters that attacked the blacksmith shop seem to be Glow Wisps, Marsh Predators, Hames Orc Snipers, Cursed Guardians, Hames Orc Overlords, Wretched Archers, Grave Lichs, Grave Predators, Crimson Drakes, Kadios, Fallen Orc Shamans, Sharp Talon Tigers, Past Knights, Hungered Corpses, Bloody Lords, Bloody Ghosts, Dark Guards, Death Agents, Spiteful Soul Leaders, Spiteful Soul Wizards, Giant's Shadows, Past Creatures, Warriors of Ancient Times and Soldiers of Ancient Times. Please help us -- our Guild's pride is at stake! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-06.htm new file mode 100644 index 0000000000..46d8621200 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-06.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+As I told you, hunt Glow Wisps, Marsh Predators, Hames Orc Snipers, Cursed Guardians, Hames Orc Overlords, Wretched Archers, Grave Lichs, Grave Predators, Crimson Drakes, Kadios, Fallen Orc Shamans, Sharp Talon Tigers, Past Knights, Hungered Corpses, Bloody Lords, Bloody Ghosts, Dark Guards, Death Agents, Spiteful Soul Leaders, Spiteful Soul Wizards, Giant's Shadows, Past Creatures, Warriors of Ancient Times and Soldiers of Ancient Times and bring back the Infernium Ores they stole. For every 100 Infernium Ores you recover, I will give you a chance to play bingo. If you do well in bingo you will also receive a nice reward: a necessary ingredient for the manufacture of an A-Grade weapon. Nice, eh? Please hurry-- our Guild's pride is at stake!
+Listen to the rules of bingo.
+Say you want to quit. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-07.htm new file mode 100644 index 0000000000..cf4c17ded6 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-07.htm @@ -0,0 +1,6 @@ +Warehouse Keeper Romp:
+Did you recover the Infernium Ores? Then let's play bingo!
+Oh, make sure you have enough spaces in your inventory before we start playing. I'd hate for you to do well and then not be able to actually receive the item!
+Use 100 Infernium Ores to play bingo.
+Listen to the rules of bingo. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-08.htm new file mode 100644 index 0000000000..55ebae8402 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-08.htm @@ -0,0 +1,4 @@ +Warehouse Keeper Romp:
+Ah well. You haven't yet recovered all the stolen Infernium Ores, but I suppose you have other concerns to deal with, too...
+If you change your mind and want to help us again, please come see me. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-09.htm new file mode 100644 index 0000000000..d79ec4dd49 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-09.htm @@ -0,0 +1,5 @@ +Warehouse Keeper Romp:
+I'll place numbers 1-9 on a 3x3 number pad. Then you need to pick 6 numbers out of 1-9. When you have finished making your choices, we count how many horizontal, vertical and diagonal lines were created by your choice of numbers. Is that clear enough? I think you'll understand once you play.
+If your numbers make 3 lines, I'll give you a reward.
+Back + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-11.htm new file mode 100644 index 0000000000..f4dce8ac5b --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-11.htm @@ -0,0 +1,4 @@ +Warehouse Keeper Romp:
+Well? It looks like you have only a few Infernium Ores here. Is this all you brought?
+Please go back and collect more before seeing me again. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-12.htm new file mode 100644 index 0000000000..837bdabe32 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-12.htm @@ -0,0 +1,14 @@ +Warehouse Keeper Romp:
+I placed numbers ranging from 1-9 on a numberpad. Of course I won't show you what they are!
+But I will take 100 Infernium Ores in advance. If you quit midgame, I won't give them back! Understand?
+Now it's time for you to pick 6 numbers ranging from 1-9. Pick your first number.
+1     +2     +3     +4     +5     +6     +7     +8     +9 + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-13.htm new file mode 100644 index 0000000000..716a986191 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-13.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Now, pick your second number.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-14.htm new file mode 100644 index 0000000000..0c37840128 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-14.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Ready to pick your third number?
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-15.htm new file mode 100644 index 0000000000..372834cd16 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-15.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+That number has been picked already. Pick the second number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-16.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-16.htm new file mode 100644 index 0000000000..f17e62af2f --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-16.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Time for the fourth number. Pick it well...
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-17.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-17.htm new file mode 100644 index 0000000000..550fae6cc4 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-17.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+That number has been picked already. Pick the third number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-18.htm new file mode 100644 index 0000000000..6bb1a8e49e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-18.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+You're almost finished. Choose your fifth number carefully.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-19.htm new file mode 100644 index 0000000000..2c55a8a284 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-19.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+The number you have picked has already been chosen. Pick the fourth number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-20.htm new file mode 100644 index 0000000000..eec3437ea5 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-20.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Good! Now, it's time to pick your sixth and final number.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-21.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-21.htm new file mode 100644 index 0000000000..7013752a40 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-21.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+Are you starting to get a little confused because of all the numbers? You chose one that has already been picked. Pick the fifth number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-22.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-22.htm new file mode 100644 index 0000000000..dcf7e53448 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-22.htm @@ -0,0 +1,20 @@ +Warehouse Keeper Romp:
+Ah! Congratulations! You can see your choices in red on the bingo pad below. As you can see, you made 3 lines. Well done. As promised, here is your reward.
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-23.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-23.htm new file mode 100644 index 0000000000..6106c7015e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-23.htm @@ -0,0 +1,20 @@ +Warehouse Keeper Romp:
+Oh... You can see your choices in red on the bingo pad below. Unfortunately, you didn't end up with 3 lines. Better luck next time!
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-24.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-24.htm new file mode 100644 index 0000000000..4e0f66262d --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-24.htm @@ -0,0 +1,22 @@ +Warehouse Keeper Romp:
+You are a seriously unlucky person! Your choices are in red on the bingo pad below. As you can see, you didn't even make a single line! You know, that's actually harder to do than to complete all 3 lines.
+Usually, we only reward winners, but I want to do something nice for you to keep your spirits up.
+Here, take this. I hope it helps!
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-25.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-25.htm new file mode 100644 index 0000000000..c44efa8204 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/30843-25.htm @@ -0,0 +1,30 @@ +Warehouse Keeper Romp:
+The number you picked has already been chosen. Pick the sixth number again.
+1     +2     +3     +4     +5     +6     +7     +8     +9
+Current status
+ + + + + + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java index 1370fc76fd..302bb20a85 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/Q386_StolenDignity.java @@ -20,6 +20,7 @@ import java.util.HashMap; import java.util.Map; import org.l2jmobius.commons.util.Rnd; +import org.l2jmobius.commons.util.StringUtil; import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; import org.l2jmobius.gameserver.model.quest.Quest; @@ -27,196 +28,284 @@ import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.model.quest.State; /** - * Adapted from FirstTeam Interlude + * Adapted for StayOnly from python. */ public class Q386_StolenDignity extends Quest { private static final int ROMP = 30843; - private static final int STOLEN_INFERIUM_ORE = 6363; - private static final int REQUIRED_STOLEN_INFERIUM_ORE = 100; - private static final Map DROP_CHANCES = new HashMap<>(); + private static final int STOLEN_INFERNIUM_ORE = 6363; + private static final Map CHANCES = new HashMap<>(); static { - DROP_CHANCES.put(20670, 14); - DROP_CHANCES.put(20671, 14); - DROP_CHANCES.put(20954, 11); - DROP_CHANCES.put(20956, 13); - DROP_CHANCES.put(20958, 13); - DROP_CHANCES.put(20959, 13); - DROP_CHANCES.put(20960, 11); - DROP_CHANCES.put(20964, 13); - DROP_CHANCES.put(20969, 19); - DROP_CHANCES.put(20967, 18); - DROP_CHANCES.put(20970, 18); - DROP_CHANCES.put(20971, 18); - DROP_CHANCES.put(20974, 28); - DROP_CHANCES.put(20975, 28); - DROP_CHANCES.put(21001, 14); - DROP_CHANCES.put(21003, 18); - DROP_CHANCES.put(21005, 14); - DROP_CHANCES.put(21020, 16); - DROP_CHANCES.put(21021, 15); - DROP_CHANCES.put(21259, 15); - DROP_CHANCES.put(21089, 13); - DROP_CHANCES.put(21108, 19); - DROP_CHANCES.put(21110, 18); - DROP_CHANCES.put(21113, 25); - DROP_CHANCES.put(21114, 23); - DROP_CHANCES.put(21116, 25); + CHANCES.put(20970, 208000); + CHANCES.put(20971, 299000); + CHANCES.put(20958, 170000); + CHANCES.put(20960, 149000); + CHANCES.put(20963, 199000); + CHANCES.put(20670, 202000); + CHANCES.put(21114, 352000); + CHANCES.put(20959, 273000); + CHANCES.put(21020, 478000); + CHANCES.put(21258, 487000); + CHANCES.put(21003, 173000); + CHANCES.put(20969, 205000); + CHANCES.put(21108, 245000); + CHANCES.put(21005, 211000); + CHANCES.put(21116, 487000); + CHANCES.put(21113, 370000); + CHANCES.put(20954, 184000); + CHANCES.put(20671, 211000); + CHANCES.put(21110, 260000); + CHANCES.put(20967, 257000); + CHANCES.put(20956, 216000); + CHANCES.put(21021, 234000); + CHANCES.put(21259, 487000); + CHANCES.put(20974, 440000); + CHANCES.put(20975, 390000); + CHANCES.put(21001, 214000); } - protected static final Map BINGOS = new HashMap<>(); - // @formatter:off - protected static final int[][] REWARDS_WIN = + private static final int[] REWARDS = new int[] { - {5529, 10}, {5532, 10}, {5533, 10}, {5534, 10}, {5535, 10}, {5536, 10}, {5537, 10}, {5538, 10}, {5539, 10}, {5541, 10}, {5542, 10}, - {5543, 10}, {5544, 10}, {5545, 10}, {5546, 10}, {5547, 10}, {5548, 10}, {8331, 10}, {8341, 10}, {8342, 10}, {8346, 10}, {8349, 10}, - {8712, 10}, {8713, 10}, {8714, 10}, {8715, 10}, {8716, 10}, {8717, 10}, {8718, 10}, {8719, 10}, {8720, 10}, {8721, 10}, {8722, 10} + 5529, + 5532, + 5533, + 5534, + 5535, + 5536, + 5537, + 5538, + 5539, + 5541, + 5542, + 5543, + 5544, + 5545, + 5546, + 5547, + 5548, + 8331, + 8341, + 8342, + 8349, + 8346 }; - protected static final int[][] REWARDS_LOSE = + public static final int[][] MATRICE_3X3_LINES = new int[][] { - {5529, 4}, {5532, 4}, {5533, 4}, {5534, 4}, {5535, 4}, {5536, 4}, {5537, 4}, {5538, 4}, {5539, 4}, {5541, 4}, {5542, 4}, - {5543, 4}, {5544, 4}, {5545, 4}, {5546, 4}, {5547, 4}, {5548, 4}, {8331, 4}, {8341, 4}, {8342, 4}, {8346, 4}, {8349, 4}, - {8712, 4}, {8713, 4}, {8714, 4}, {8715, 4}, {8716, 4}, {8717, 4}, {8718, 4}, {8719, 4}, {8720, 4}, {8721, 4}, {8722, 4} + { + 1, + 2, + 3 + }, + { + 4, + 5, + 6 + }, + { + 7, + 8, + 9 + }, + { + 1, + 4, + 7 + }, + { + 2, + 5, + 8 + }, + { + 3, + 6, + 9 + }, + { + 1, + 5, + 9 + }, + { + 3, + 5, + 7 + } }; - // @formatter:on public Q386_StolenDignity() { super(386, "Stolen Dignity"); - addStartNpc(ROMP); addTalkId(ROMP); - for (int killId : DROP_CHANCES.keySet()) - { - addKillId(killId); - } - } - - @Override - public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) - { - final QuestState st = player.getQuestState(getName()); - if (st == null) - { - return event; - } - - if ("warehouse_keeper_romp_q0386_05.htm".equalsIgnoreCase(event)) - { - st.setState(State.STARTED); - st.set("cond", "1"); - st.playSound("ItemSound.quest_accept"); - } - else if ("warehouse_keeper_romp_q0386_08.htm".equalsIgnoreCase(event)) - { - st.playSound("ItemSound.quest_finish"); - st.exitQuest(true); - } - else if ("game".equalsIgnoreCase(event)) - { - if (st.getQuestItemsCount(STOLEN_INFERIUM_ORE) < REQUIRED_STOLEN_INFERIUM_ORE) - { - return "warehouse_keeper_romp_q0386_11.htm"; - } - st.takeItems(STOLEN_INFERIUM_ORE, REQUIRED_STOLEN_INFERIUM_ORE); - final int char_obj_id = st.getPlayer().getObjectId(); - if (BINGOS.containsKey(char_obj_id)) - { - BINGOS.remove(char_obj_id); - } - final Bingo bingo = new Bingo(st); - BINGOS.put(char_obj_id, bingo); - return bingo.getDialog(""); - } - else if (event.contains("choice-")) - { - final int char_obj_id = st.getPlayer().getObjectId(); - if (!BINGOS.containsKey(char_obj_id)) - { - return null; - } - final Bingo bingo = BINGOS.get(char_obj_id); - return bingo.Select(event.replaceFirst("choice-", "")); - } - return event; + addKillId(CHANCES.keySet()); } @Override public String onTalk(NpcInstance npc, PlayerInstance player) { - final String htmltext = getNoQuestMsg(); - final QuestState st = player.getQuestState(getName()); + String htmltext = getNoQuestMsg(); + QuestState st = player.getQuestState("Q386_StolenDignity"); if (st == null) { return htmltext; } + switch (st.getState()) + { + case State.CREATED: + { + htmltext = player.getLevel() < 58 ? "30843-04.htm" : "30843-01.htm"; + break; + } + case State.STARTED: + { + htmltext = st.getQuestItemsCount(6363) < 100 ? "30843-06.htm" : "30843-07.htm"; + } + } - if (st.getState() != 1) + return htmltext; + } + + @Override + public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) + { + String htmltext = event; + QuestState st = player.getQuestState("Q386_StolenDignity"); + if (st == null) { - return (st.getQuestItemsCount(STOLEN_INFERIUM_ORE) < REQUIRED_STOLEN_INFERIUM_ORE) ? "warehouse_keeper_romp_q0386_06.htm" : "warehouse_keeper_romp_q0386_07.htm"; + return event; } - if (st.getPlayer().getLevel() < 58) + + if (event.equals("30843-05.htm")) { + st.setState(State.STARTED); + st.set("cond", "1"); + st.set("state", "1"); + st.playSound("ItemSound.quest_accept"); + } + else if (event.equals("30843-08.htm")) + { + st.playSound("ItemSound.quest_giveup"); st.exitQuest(true); - return "warehouse_keeper_romp_q0386_04.htm"; } - return "warehouse_keeper_romp_q0386_01.htm"; + else if (event.equals("30843-12.htm")) + { + if (st.getQuestItemsCount(6363) < 100) + { + htmltext = "30843-11.htm"; + } + else + { + st.set("board", StringUtil.scrambleString("123456789")); + st.takeItems(6363, 100); + } + } + else if (event.startsWith("select_1-")) + { + st.set("playerArray", event.substring(9)); + htmltext = fillBoard(st, getHtmlText("30843-13.htm")); + } + else + { + String number; + String playerArray; + if (event.startsWith("select_2-")) + { + number = event.substring(9); + playerArray = (String) st.get("playerArray"); + if (playerArray.contains(number)) + { + htmltext = fillBoard(st, getHtmlText("30843-" + (13 + (2 * playerArray.length())) + ".htm")); + } + else + { + st.set("playerArray", playerArray.concat(number)); + htmltext = fillBoard(st, getHtmlText("30843-" + (12 + (2 * playerArray.length())) + ".htm")); + } + } + else if (event.startsWith("select_3-")) + { + number = event.substring(9); + playerArray = (String) st.get("playerArray"); + if (playerArray.contains(number)) + { + htmltext = fillBoard(st, getHtmlText("30843-25.htm")); + } + else + { + String playerChoice = playerArray.concat(number); + String[] board = ((String) st.get("board")).split(""); + int winningLines = 0; + int[][] var11 = MATRICE_3X3_LINES; + int var12 = var11.length; + + for (int var13 = 0; var13 < var12; ++var13) + { + int[] map = var11[var13]; + boolean won = true; + int[] var16 = map; + int var17 = map.length; + + for (int var18 = 0; var18 < var17; ++var18) + { + int index = var16[var18]; + won &= playerChoice.contains(board[index - 1]); + } + + if (won) + { + ++winningLines; + } + } + + if (winningLines == 3) + { + htmltext = getHtmlText("30843-22.htm"); + st.rewardItems(REWARDS[Rnd.get(REWARDS.length)], 4); + } + else if (winningLines == 0) + { + htmltext = getHtmlText("30843-24.htm"); + st.rewardItems(REWARDS[Rnd.get(REWARDS.length)], 10); + } + else + { + htmltext = getHtmlText("30843-23.htm"); + } + + for (int i = 1; i < 10; ++i) + { + htmltext = htmltext.replace("", board[i - 1]); + htmltext = htmltext.replace("", playerChoice.contains(board[i - 1]) ? "ff0000" : "ffffff"); + } + } + } + } + + return htmltext; } @Override public String onKill(NpcInstance npc, PlayerInstance player, boolean isPet) { - final QuestState st = player.getQuestState(getName()); - if (st == null) + final PlayerInstance partyMember = getRandomPartyMemberState(player, npc, State.STARTED); + if (partyMember == null) { return null; } - - final Integer chance = DROP_CHANCES.get(npc.getNpcId()); - if ((chance != null) && (Rnd.get(100) < chance)) - { - st.giveItems(STOLEN_INFERIUM_ORE, 1); - } + partyMember.getQuestState(getName()).dropItems(STOLEN_INFERNIUM_ORE, 1, 0, CHANCES.get(npc.getNpcId())); return null; } - public static class Bingo extends ai.others.Bingo + private static final String fillBoard(QuestState st, String htmltext) { - protected static final String MSG_BEGIN = "I've arranged the numbers 1 through 9 on the grid. Don't peek!
Let me have the " + REQUIRED_STOLEN_INFERIUM_ORE + " Infernium Ores. Too many players try to run away without paying when it becomes obvious that they're losing...
OK, select six numbers between 1 and 9. Choose the %choicenum% number."; - protected static final String MSG_AGAIN = "You've already chosen that number. Make your %choicenum% choice again."; - protected static final String MSG_ZERO_LINES = "Wow! How unlucky can you get? Your choices are highlighted in red below. As you can see, your choices didn't make a single line! Losing this badly is actually quite rare!
You look so sad, I feel bad for you... Wait here...
.
.
.
Take this... I hope it will bring you better luck in the future."; - protected static final String MSG_THREE_LINES = "Excellent! As you can see, you've formed three lines! Congratulations! As promised, I'll give you some unclaimed merchandise from the warehouse. Wait here...
.
.
.
Whew, it's dusty! OK, here you go. Do you like it?"; - protected static final String MSG_LOSE = "Oh, too bad. Your choices didn't form three lines. You should try again... Your choices are highlighted in red."; - private static final String TEMPLATE_CHOICE = "%n%     "; - - private final QuestState _qs; - - public Bingo(QuestState qs) + String result = htmltext; + String playerArray = (String) st.get("playerArray"); + String[] board = ((String) st.get("board")).split(""); + for (int i = 1; i < 10; ++i) { - super(TEMPLATE_CHOICE); - _qs = qs; - } - - @Override - protected String getFinal() - { - final String result = super.getFinal(); - if (lines == 3) - { - reward(REWARDS_WIN); - } - else if (lines == 0) - { - reward(REWARDS_LOSE); - } - BINGOS.remove(_qs.getPlayer().getObjectId()); - return result; - } - - private void reward(int[][] rew) - { - final int[] r = rew[Rnd.get(rew.length)]; - _qs.giveItems(r[0], r[1]); + result = result.replace("", playerArray.contains(board[i - 1]) ? board[i - 1] : "?"); } + return result; } } diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_01.htm deleted file mode 100644 index 1e5f9e0f57..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_01.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-We of the Iron Gate Guild work hard every day to keep the items deposited by customers safe and secure. We're always looking for new ways to improve our security.
Recently we've been using infernium to reinforce our doors, locks and outer walls. You can have the utmost confidence in the strength of our warehouse, the apex of workmanship of the Iron Gate Guild. But...
-"But...?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_03.htm deleted file mode 100644 index 48165b7dcf..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_03.htm +++ /dev/null @@ -1,5 +0,0 @@ -Warehouse Freightman Romp:
-Recently the blacksmith shop that had been refining infernium for us was attacked by monsters and all of the ore was stolen. We must get it back...
-Will you help us recover the Infernium Ore? You'll be well-rewarded.
-"I'll help." - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_04.htm deleted file mode 100644 index 984a9d3e00..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_04.htm +++ /dev/null @@ -1,5 +0,0 @@ -Warehouse Freightman Romp:
-We of the Iron Gate Guild work hard every day to keep the items deposited by customers safe and secure. We're always looking for new ways to improve our security.
-Recently we've been using infernium to reinforce our doors, locks and outer walls. You can have the utmost confidence in the strength of our warehouse, the apex of workmanship of the Iron Gate Guild. It's the apex of workmanship of the Iron Gate Guild. But... No, I'm afraid you aren't ready for this...
-(This quest may only be undertaken by characters of level 58 and above.) - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_05.htm deleted file mode 100644 index 38b1d49c8a..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_05.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-Good idea! I will give you a chance to play a bingo game for every 100 stolen Infernium Ores you recover. Of course, since the honor of our guild depends on it, you will also be well-rewarded if you do well in the bingo game. We will give you one of the necessary ingredients to manufacture an A-Grade weapon. How about it? Interested?
-Oh! I forgot to tell you something important. From the footprints, fur and the testimony of the witness, the monsters that attacked the blacksmith shop seem to be a Glow Wisp, Marsh Predator, Hames Orc Sniper, Cursed Guardian, Hames Orc Overlord, Wretched Archer, Grace Lich, Grave Predator, Crimson Drake, Kadios, Fallen Orc Shaman, Sharp Talon Tiger, Past Knight, Hungered Corpse, Bloody Lord, Bloody Ghost, Dark Guard, Death Agent, Spiteful Soul Leader, Spiteful Soul Wizard, Giant's Shadow, Past Creature, Warrior of Ancient Timesand Soldier of Ancient Times. Good luck! - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_06.htm deleted file mode 100644 index f50396472a..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_06.htm +++ /dev/null @@ -1,5 +0,0 @@ -Warehouse Freightman Romp:
-As I told you before, defeat the Glow Wisp, Marsh Predator, Hames Orc Sniper, Cursed Guardian, Hames Orc Overlord, Wretched Archer, Grace Lich, Grave Predator, Crimson Drake, Kadios, Fallen Orc Shaman, Sharp Talon Tiger, Past Knight, Hungered Corpse, Bloody Lord, Bloody Ghost, Dark Guard, Death Agent, Spiteful Soul Leader, Spiteful Soul Wizard, Giant's Shadow, Past Creature, Warrior of Ancient Times and Soldier of Ancient Times and bring back the Infernium Ores they stole. I will give you a chance to play a bingo game for every 100 Infernium Ores you bring. Of course, since the honor of our guild depends on it, you will also be well-rewarded if you do well in the bingo game. We will give you one of the necessary ingredients to manufacture an A-Grade weapon. How about it? Interested? Then hurry up!
-Listen to a description of the rules.
-Say you want to quit. - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_07.htm deleted file mode 100644 index ae790d8cbe..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_07.htm +++ /dev/null @@ -1,6 +0,0 @@ -Warehouse Freightman Romp:
-Have you brought me the Infernium Ore? Then let's play Bingo!
-Oh, by the way, before you start playing Bingo, make sure that you have enough room in your inventory. It would be a shame if you weren't able to carry away all your winnings, wouldn't it?
-Bet 100 Infernium Ore and play Bingo
-"How do you play Bingo?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_08.htm deleted file mode 100644 index d1d30e0e1d..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_08.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-Oh, how disappointing! You haven't recovered all of the Stolen Infernium Ore. I suppose you have an excuse for your abject failure...
-If you want to help us again, come back anytime. - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09.htm deleted file mode 100644 index bcdc46809c..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-I've arranged the numbers 1-9 on a 3 x 3 grid. You must choose six numbers between 1 and 9. If your selections create 3 vertical, horizontal or diagonal lines, you win! If you don't understand yet, it should become clearer when we play a game...
-Go back. - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09a.htm deleted file mode 100644 index efc89fb473..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_09a.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-I will arrange the numbers 1-9 randomly on the panel. Don't peek! Next you'll choose 6 numbers between 1 and 9. If your numbers form 3 lines, either horizontal, vertical or diagonal, you win! Do you understand? Once we get started, you'll get it...
-Oh, did I mention that you get a prize from the warehouse if you win? - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_11.htm deleted file mode 100644 index e901827208..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q386_StolenDignity/warehouse_keeper_romp_q0386_11.htm +++ /dev/null @@ -1,4 +0,0 @@ -Warehouse Freightman Romp:
-You don't have enough infernium. Have you lost something?
-Come back when you have more. - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-00.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-00.htm deleted file mode 100644 index e6bbf0acae..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-00.htm +++ /dev/null @@ -1,4 +0,0 @@ -Rafforty:
-I don't know how you got here, but you shouldn't be wandering around by yourself. You must leave this place before the Ice Queen finds out you're here!
-(Characters must have achieved at least level 53 to undertake this quest.) - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-01.htm index 24f5681f95..ceba4f48e8 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-01.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-01.htm @@ -1,4 +1,4 @@ Rafforty:
-Why are you here? Well, since you're here anyway, why you take a little rest and then help us out?
-"What can I do for you?" +I don't know how you got here, but you shouldn't be wandering around by yourself. You must leave this place before the Ice Queen finds out you're here!
+(Characters must have achieved at least level 53 to undertake this quest.) \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-02.htm index a5aeaf3aac..c28691bf37 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-02.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-02.htm @@ -1,4 +1,4 @@ Rafforty:
-Most of the creatures around here have a Black Ice Crystal in their bodies. It seems that the crystals make them very violent. We need to study those crystals. Bring me some and you'll be well-rewarded! Of course, you probably will not always get Black Ice Crystals, sometimes you will get Silver Ice Crystals. If you bring me these Silver Ice Crystals, I will also reward you.
-"How do I get the Black Ice Crystals?" +Welcome! You've helped to give our Zinnia Guild a long-term goal. Honestly though, we could use some more help. Could you help us again? We'll give you reward, but I'm not sure if you'll be satisfied with it...
+"I'll help you." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-03.htm index 255a6f9eaa..365febf032 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-03.htm @@ -1,4 +1,4 @@ Rafforty:
-You may get a Black Ice Crystal by processing a Silver Ice Crystal using the tools on the shelf. It won't be easy, as it is a job usually done only by professional craftsmen. If you succeed in creating the Black Ice Crystal, I'll pay you very well for it. Be careful, however, because failure won't pay you a thing.
-If you were to stay around for a while we might could work out a deal... +Why are you here? Well, since you're here anyway, why you take a little rest and then help us out?
+"What can I do for you?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04.htm index 1da0e862df..8e91c713db 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04.htm @@ -1,4 +1,4 @@ Rafforty:
-Haven't you left yet? I'm telling you again, most of the creatures around here have a Black Ice Crystal in their bodies! It seems like those crystals make them very violent. We need to study those crystals. Bring me some and you'll be well-rewarded! Of course, you probably won't get a Black Ice Crystal at first. You'll get a Silver Ice Crystal. Bring me some Silver Ice Crystals and I'll reward you for them, too.
-"How do I get the Black Ice Crystals?" +Most of the creatures around here have a Black Ice Crystal in their bodies. It seems that the crystals make them very violent. We need to study those crystals. Bring me some and you'll be well-rewarded! Of course, you probably will not always get Black Ice Crystals, sometimes you will get Silver Ice Crystals. If you bring me these Silver Ice Crystals, I will also reward you.
+"How do I get the Black Ice Crystals?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04a.htm deleted file mode 100644 index 8ee22ad91f..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-04a.htm +++ /dev/null @@ -1,6 +0,0 @@ -Rafforty:
-It's dangerous outside, so please be careful! I'm telling you, most of the creatures living in the Frozen Labyrinth have a Silver Ice Crystal in their bodies. Bring me these crystals and you'll be well-rewarded. Black Ice Crystals are quite rare, but if you find one and bring it back to me, you'll be rewarded even more!
-Oh, by the way... If you ever get any Silver Hemocytes, don't throw them away.
-"How do I get Black Ice Crystals?"
-"Where do I use Silver Hemocytes?" - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-05.htm index f499a3f1e0..f082867464 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-05.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-05.htm @@ -1,6 +1,8 @@ Rafforty:
-You look like you did something big outside. I can feel the unique energy of Ice Crystals coming from you! You have them, don't you? Don't you want to give it to me? I'll pay you well!

-"What's the reward?"
-"I'll give it to you later."
-"I want to quit doing this." +Thank you for your help.
+According to the information we acquired from you, to turn Freya back into her old self, we have to collect Ice Crystals that are spread all over this territory and which are grown within creatures' bodies.
+They usually have a silver color, and that's why they're called Silver Ice Crystals. If you can bring these back to me, I will reward you for your work. And, I know it will be even more difficult to get Black Ice Crystals, but if you bring those back to me, I will reward you even more.
+Oh, yes! And if you ever find any Silver Hemocytes, don't throw them away.
+"How do I get a Black Ice Crystal?"
+"Where do I use Silver Hemocytes?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06.htm index 732901abc0..5bce87a8fa 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06.htm @@ -1,5 +1,3 @@ Rafforty:
-Well, of course, I'll pay you with adena! You can use it anywhere! Are you willing to hand over the Black Ice Crystals to me?
-"Here they are."
-"I'll give them to you later." +A Black Ice Crystal can be made out of a Silver Ice Crystal by using the tools on the shelf. Generally, Artisans do this, so it is not easy, but if you can make it into a Black Ice Crystal, then I'll reward you well. Failure will bring you nothing, so be careful. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06a.htm new file mode 100644 index 0000000000..a30fd058ff --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-06a.htm @@ -0,0 +1,4 @@ +Rafforty:
+You may get a Black Ice Crystal by processing a Silver Ice Crystal using the tools on the shelf. It won't be easy, as it is a job usually done only by professional craftsmen. If you succeed in creating the Black Ice Crystal, I'll pay you very well for it. Be careful, however, because failure won't pay you a thing.
+If you were to stay around for a while we might could work out a deal... + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07.htm index 26f2985b4c..6e630323f5 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07.htm @@ -1,3 +1,4 @@ Rafforty:
-Here's your reward. This should compensate you for your hard work. If you find any more Ice Crystals, come back to see me again. +The blood of the creatures that have been under the control of the Black Ice Crystal for a long time gradually changes to silver. The Ice Queen's pets are enticed by this blood, and we must have it for our plan as well. Please collect the Silver Hemocytes for us. The monsters in the Frozen Labyrinth that have Silver Hemocytes are the Massive Maze Bandersnatch, Panthera, Pronghorn, Ice Tarantula, Frost Tarantula, Frost Buffalo, Lost Buffalo, Ursus, Lost Yeti and Frost Yeti.
+"Tell me more about your plan." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07a.htm new file mode 100644 index 0000000000..85959de207 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-07a.htm @@ -0,0 +1,4 @@ +Rafforty:
+Our Zinnia Guild's goal is to restore Queen Freya to her original self. First, we must eliminate the Ice Fairy Sirra, who is a major obstacle between us and our Queen.
+If you want to join us, speak with Steward at the Ice Queen's Castle. And don't forget to bring your friends with you! When you go, take 10 Silver Hemocytes to him. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-08.htm index 2386da674e..9d05f2ce51 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-08.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-08.htm @@ -1,3 +1,4 @@ Rafforty:
-OK. If you change your mind, please come back and find me. +Haven't you left yet? I'm telling you again, most of the creatures around here have a Black Ice Crystal in their bodies! It seems like those crystals make them very violent. We need to study those crystals. Bring me some and you'll be well-rewarded! Of course, you probably won't get a Black Ice Crystal at first. You'll get a Silver Ice Crystal. Bring me some Silver Ice Crystals and I'll reward you for them, too.
+"How do I get the Black Ice Crystals?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-09.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-09.htm index c6090cf8c0..940cabe8dc 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-09.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-09.htm @@ -1,3 +1,6 @@ Rafforty:
-OK. I won't do any more business with you. Good-bye. +It's dangerous outside, so please be careful! I'm telling you, most of the creatures living in the Frozen Labyrinth have a Silver Ice Crystal in their bodies. Bring me these crystals and you'll be well-rewarded. Black Ice Crystals are quite rare, but if you find one and bring it back to me, you'll be rewarded even more!
+Oh, by the way... If you ever get any Silver Hemocytes, don't throw them away.
+"How do I get Black Ice Crystals?"
+"Where do I use Silver Hemocytes?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-10.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-10.htm index cc72c2e3cb..7e20ec5bf4 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-10.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-10.htm @@ -1,8 +1,6 @@ Rafforty:
-Any success? You look exhausted, my friend!
-I can feel the unique energy of Ice Crystals coming from you! Can I have them? I'll pay you well!
-"What's the reward?"
-"I'll give it to you later."
-"I quit."
-"How do I use Silver Hemocytes?" +You look like you did something big outside. I can feel the unique energy of Ice Crystals coming from you! You have them, don't you? Don't you want to give it to me? I'll pay you well!
+"What's the reward?"
+"I'll give it to you later."
+"I want to quit doing this." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-11.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-11.htm index b4aca909f6..d092930dbe 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-11.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-11.htm @@ -1,7 +1,8 @@ Rafforty:
-Yes. Then will you give the Ice Crystals to me?
-Ah! How would you like be paid? Do you want Adena for it all? Or perhaps you'd like to trade for some other items? I must warn you, however... If you want good materials, you'd better have lots of Ice Crystals.

-"Give me money."
-"Show me the items."
-"I changed my mind. I'll do it later." +Any success? You look exhausted, my friend!
+I can feel the unique energy of Ice Crystals coming from you! Can I have them? I'll pay you well!
+"What's the reward?"
+"I'll give it to you later."
+"I quit."
+"How do I use Silver Hemocytes?" \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-12.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-12.htm index 708bb35cb1..277dde19ca 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-12.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-12.htm @@ -1,4 +1,5 @@ Rafforty:
-The blood of the creatures that have been under the control of the Black Ice Crystal for a long time gradually changes to silver. The Ice Queen's pets are enticed by this blood, and we must have it for our plan as well. Please collect the Silver Hemocytes for us. The monsters in the Frozen Labyrinth that have Silver Hemocytes are the Massive Maze Bandersnatch, Panthera, Pronghorn, Ice Tarantula, Frost Tarantula, Frost Buffalo, Lost Buffalo, Ursus, Lost Yeti and Frost Yeti.
-"Tell me more about your plan." +Well, of course, I'll pay you with adena! You can use it anywhere! Are you willing to hand over the Black Ice Crystals to me?
+"Here they are."
+"I'll give them to you later." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-13.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-13.htm index 85959de207..1f2de8d75d 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-13.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-13.htm @@ -1,4 +1,7 @@ Rafforty:
-Our Zinnia Guild's goal is to restore Queen Freya to her original self. First, we must eliminate the Ice Fairy Sirra, who is a major obstacle between us and our Queen.
-If you want to join us, speak with Steward at the Ice Queen's Castle. And don't forget to bring your friends with you! When you go, take 10 Silver Hemocytes to him. +Yes. Then will you give the Ice Crystals to me?
+Ah! How would you like be paid? Do you want Adena for it all? Or perhaps you'd like to trade for some other items? I must warn you, however... If you want good materials, you'd better have lots of Ice Crystals.
+"Give me money."
+"Show me the items."
+"I changed my mind. I'll do it later." \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-14.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-14.htm new file mode 100644 index 0000000000..96427a5e10 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-14.htm @@ -0,0 +1,3 @@ +Rafforty:
+Here's your reward. This should compensate you for your hard work. If you find any more Ice Crystals, come back to see me again. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-15.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-15.htm new file mode 100644 index 0000000000..9a6bb18e25 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-15.htm @@ -0,0 +1,3 @@ +Rafforty:
+Here, I've filled this full of adena for you. If you find more Ice Crystals, please bring them to me. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-15a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-15a.htm new file mode 100644 index 0000000000..3204544832 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-15a.htm @@ -0,0 +1,3 @@ +Rafforty:
+Where are the crystals you were talking about? I won't reward you for nothing! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-16a.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-16a.htm new file mode 100644 index 0000000000..90ea3c2d21 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-16a.htm @@ -0,0 +1,3 @@ +Rafforty:
+Where did you put the crystals? There's nothing in this pouch. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-18.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-18.htm new file mode 100644 index 0000000000..2386da674e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-18.htm @@ -0,0 +1,3 @@ +Rafforty:
+OK. If you change your mind, please come back and find me. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-19.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-19.htm new file mode 100644 index 0000000000..9aff249ed1 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-19.htm @@ -0,0 +1,3 @@ +Rafforty:
+Very well. You know how important those crystals are to us, so I'll wait. Please, be careful! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-20.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-20.htm new file mode 100644 index 0000000000..c6090cf8c0 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-20.htm @@ -0,0 +1,3 @@ +Rafforty:
+OK. I won't do any more business with you. Good-bye. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-21.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-21.htm new file mode 100644 index 0000000000..c9d0d51bdd --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-21.htm @@ -0,0 +1,4 @@ +Rafforty:
+Are you really quitting? Is something bothering you?
+"I just need a rest." + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-22.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-22.htm new file mode 100644 index 0000000000..5e8bca0598 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32020-22.htm @@ -0,0 +1,3 @@ +Rafforty:
+Very well! You've been a lot of help to us! Come back anytime! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-00.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-00.htm deleted file mode 100644 index dee35cf24b..0000000000 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-00.htm +++ /dev/null @@ -1,3 +0,0 @@ -Ice Shelf:
-What am I to do with this? What is important about it? - \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-01.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-01.htm index d9c3531fbb..be0cc0f2b9 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-01.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-01.htm @@ -1,3 +1,3 @@ Ice Shelf:
-The ice shards on the shelf indicate that it was used quite recently. Hm...are these shards from the Silver Ice Crystal that Rafforty spoke of? +What am I to do with this? What is important about it? \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-02.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-02.htm index 90d92ff6fc..0521548aed 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-02.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-02.htm @@ -1,5 +1,3 @@ Ice Shelf:
-It is obvious from looking at this shelf that someone has been using it as a workbench. I have the Silver Ice Crystal...I wonder if it would be reasonable to work on it here?
-Here are some old tools on the shelf I can use.
-Start working +The ice shards on the shelf indicate that it was used quite recently. Hm... are these shards from the Silver Ice Crystal that Rafforty spoke of? \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-03.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-03.htm index eec777c195..34caaf82e7 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-03.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-03.htm @@ -1,5 +1,5 @@ Ice Shelf:
-To work, then. Which tool should I use to begin?
- Trim with a chisel.
-Trim with a scraper. +It is obvious from looking at this shelf that someone has been using it as a workbench. I have the Silver Ice Crystal... I wonder if it would be reasonable to work on it here?
+Here are some old tools on the shelf I can use.
+Start working \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-04.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-04.htm index cf1870be26..1043cc4d2b 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-04.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-04.htm @@ -1,5 +1,5 @@ - -Now it emits black light. Success is very near! There is but one step left to finish the project.
-Use the engraving knife.
-Use the file. +Ice Shelf:
+Now to apply the finishing touches. What implement should I use?
+Use an engraving knife.
+Use a file. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-05.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-05.htm index 73c0b1e18e..537299a40b 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-05.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-05.htm @@ -1,3 +1,5 @@ Ice Shelf:
-I have completed the Black Ice Crystal, and its black light appears to absorb all the light around it. Success! +To work, then. Which tool should I use to begin?
+Trim with a chisel.
+Trim with a scraper. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-06.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-06.htm index c1b9974169..9d60ea3b46 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-06.htm +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-06.htm @@ -1,3 +1,4 @@ -Ice Shelf:
-Alas! It was all for nothing because of a minor mistake. The tools were not as easy to use as I had thought. It was all a waste of crystals. +Now it emits black light. Success is very near! There is but one step left to finish the project.
+Use the engraving knife.
+Use the file. \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-07.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-07.htm new file mode 100644 index 0000000000..73c0b1e18e --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-07.htm @@ -0,0 +1,3 @@ +Ice Shelf:
+I have completed the Black Ice Crystal, and its black light appears to absorb all the light around it. Success! + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-08.htm b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-08.htm new file mode 100644 index 0000000000..c1b9974169 --- /dev/null +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/32023-08.htm @@ -0,0 +1,3 @@ +Ice Shelf:
+Alas! It was all for nothing because of a minor mistake. The tools were not as easy to use as I had thought. It was all a waste of crystals. + \ No newline at end of file diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/Q648_AnIceMerchantsDream.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/Q648_AnIceMerchantsDream.java index 7fec6e3238..8d7301a0ad 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/Q648_AnIceMerchantsDream.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q648_AnIceMerchantsDream/Q648_AnIceMerchantsDream.java @@ -16,7 +16,9 @@ */ package quests.Q648_AnIceMerchantsDream; -import org.l2jmobius.Config; +import java.util.HashMap; +import java.util.Map; + import org.l2jmobius.commons.util.Rnd; import org.l2jmobius.gameserver.model.actor.instance.NpcInstance; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; @@ -26,108 +28,269 @@ import org.l2jmobius.gameserver.model.quest.State; import quests.Q115_TheOtherSideOfTruth.Q115_TheOtherSideOfTruth; -/** - * @author Mobius - * @note Based on python script - */ public class Q648_AnIceMerchantsDream extends Quest { // NPCs private static final int RAFFORTY = 32020; private static final int ICE_SHELF = 32023; - private static final int[] MONSTERS = - { - 22080, - 22081, - 22082, - 22083, - 22084, - 22085, - 22086, - 22087, - 22088, - 22089, - 22090, - 22091, - 22092, - 22093, - 22094, - 22095, - 22096, - 22097, - 22098, - 22099 - }; // Items - private static final int HEMOCYTE = 8057; - private static final int SILVER_ICE = 8077; - private static final int BLACK_ICE = 8078; + private static final int SILVER_HEMOCYTE = 8057; + private static final int SILVER_ICE_CRYSTAL = 8077; + private static final int BLACK_ICE_CRYSTAL = 8078; + // Rewards + private static final Map REWARDS = new HashMap<>(); + static + { + REWARDS.put("a", new int[] + { + SILVER_ICE_CRYSTAL, + 23, + 1894 // Crafted Leather + }); + REWARDS.put("b", new int[] + { + SILVER_ICE_CRYSTAL, + 6, + 1881 // Coarse Bone Powder + }); + REWARDS.put("c", new int[] + { + SILVER_ICE_CRYSTAL, + 8, + 1880 // Steel + }); + REWARDS.put("d", new int[] + { + BLACK_ICE_CRYSTAL, + 1800, + 729 // Scroll: Enchant Weapon (A-Grade) + }); + REWARDS.put("e", new int[] + { + BLACK_ICE_CRYSTAL, + 240, + 730 // Scroll: Enchant Armor (A-Grade) + }); + REWARDS.put("f", new int[] + { + BLACK_ICE_CRYSTAL, + 500, + 947 // Scroll: Enchant Weapon (B-Grade) + }); + REWARDS.put("g", new int[] + { + BLACK_ICE_CRYSTAL, + 80, + 948 // Scroll: Enchant Armor (B-Grade) + }); + } + // Drop chances + private static final Map CHANCES = new HashMap<>(); + static + { + CHANCES.put(22080, new int[] + { + 285000, + 48000 + }); // Massive Maze Bandersnatch + CHANCES.put(22081, new int[] + { + 443000, + 0 + }); // Lost Watcher + CHANCES.put(22082, new int[] + { + 510000, + 0 + });// Baby Panthera + CHANCES.put(22083, new int[] + { + 510000, + 0 + }); // Elder Lost Watcher + CHANCES.put(22084, new int[] + { + 477000, + 49000 + }); // Panthera + CHANCES.put(22085, new int[] + { + 420000, + 43000 + }); // Lost Gargoyle + CHANCES.put(22086, new int[] + { + 490000, + 50000 + }); // Lost Gargoyle Youngling + CHANCES.put(22087, new int[] + { + 787000, + 81000 + }); // Pronghorn Spirit + CHANCES.put(22088, new int[] + { + 480000, + 49000 + }); // Pronghorn + CHANCES.put(22089, new int[] + { + 550000, + 56000 + }); // Ice Tarantula + CHANCES.put(22090, new int[] + { + 570000, + 58000 + }); // Frost Tarantula + CHANCES.put(22092, new int[] + { + 623000, + 0 + }); // Frost Iron Golem + CHANCES.put(22093, new int[] + { + 910000, + 93000 + }); // Lost Buffalo + CHANCES.put(22094, new int[] + { + 553000, + 57000 + }); // Frost Buffalo + CHANCES.put(22096, new int[] + { + 593000, + 61000 + }); // Ursus + CHANCES.put(22097, new int[] + { + 693000, + 71000 + }); // Lost Yeti + CHANCES.put(22098, new int[] + { + 717000, + 74000 + }); // Frost Yeti + } public Q648_AnIceMerchantsDream() { super(648, "An Ice Merchant's Dream"); - addStartNpc(RAFFORTY); - addStartNpc(ICE_SHELF); + addStartNpc(RAFFORTY, ICE_SHELF); addTalkId(RAFFORTY, ICE_SHELF); - addKillId(MONSTERS); + for (int npcId : CHANCES.keySet()) + { + addKillId(npcId); + } } @Override public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player) { String htmltext = event; - final QuestState qs = player.getQuestState(getName()); - if (qs == null) + QuestState st = player.getQuestState(getName()); + if (st == null) { - return htmltext; + return event; } - switch (event) + if (event.equals("32020-04.htm")) { - case "32020-02.htm": + st.setState(State.STARTED); + st.set("cond", "1"); + st.playSound("ItemSound.quest_accept"); + } + else if (event.equals("32020-05.htm")) + { + st.setState(State.STARTED); + st.set("cond", "2"); + st.playSound("ItemSound.quest_accept"); + } + else + { + int exCond; + int val; + if (!event.equals("32020-14.htm") && !event.equals("32020-15.htm")) { - qs.setState(State.STARTED); - qs.playSound("ItemSound.quest_accept"); - qs.set("cond", "1"); - break; - } - case "32020-07.htm": - { - final int silver = qs.getQuestItemsCount(SILVER_ICE); - final int black = qs.getQuestItemsCount(BLACK_ICE); - final int r1 = silver * 300; - final int r2 = black * 1200; - qs.giveItems(57, r1 + r2); - qs.takeItems(SILVER_ICE, silver); - qs.takeItems(BLACK_ICE, black); - break; - } - case "32020-09.htm": - { - qs.exitQuest(true); - qs.playSound("ItemSound.quest_finish"); - break; - } - case "32023-04.htm": - { - qs.playSound("ItemSound2.broken_key"); - qs.takeItems(SILVER_ICE, 1); - break; - } - case "32023-05.htm": - { - if (Rnd.get(100) <= 25) + if (event.startsWith("32020-17")) { - qs.giveItems(BLACK_ICE, 1); - qs.playSound("ItemSound3.sys_enchant_sucess"); + + int[] reward = REWARDS.get(event.substring(8, 9)); + if (st.getQuestItemsCount(reward[0]) >= reward[1]) + { + st.takeItems(reward[0], reward[1]); + st.rewardItems(reward[2], 1); + } + else + { + htmltext = "32020-15a.htm"; + } + } + else if (!event.equals("32020-20.htm") && !event.equals("32020-22.htm")) + { + if (event.equals("32023-05.htm")) + { + if (st.getInt("exCond") == 0) + { + st.set("exCond", String.valueOf((Rnd.get(4) + 1) * 10)); + } + } + else if (event.startsWith("32023-06-")) + { + exCond = st.getInt("exCond"); + if (exCond > 0) + { + htmltext = "32023-06.htm"; + st.set("exCond", String.valueOf(exCond + (event.endsWith("chisel") ? 1 : 2))); + st.playSound("ItemSound2.broken_key"); + st.takeItems(8077, 1); + } + } + else if (event.startsWith("32023-07-")) + { + exCond = st.getInt("exCond"); + if (exCond > 0) + { + val = exCond / 10; + if (val == ((exCond - (val * 10)) + (event.endsWith("knife") ? 0 : 2))) + { + htmltext = "32023-07.htm"; + st.playSound("ItemSound3.sys_enchant_success"); + st.rewardItems(8078, 1); + } + else + { + htmltext = "32023-08.htm"; + st.playSound("ItemSound3.sys_enchant_failed"); + } + + st.set("exCond", "0"); + } + } } else { - htmltext = "32023-06.htm"; - qs.playSound("ItemSound3.sys_enchant_failed"); + st.playSound("ItemSound.quest_finish"); + st.exitQuest(true); + } + } + else + { + exCond = st.getQuestItemsCount(8078); + val = st.getQuestItemsCount(8077); + if ((val + exCond) > 0) + { + st.takeItems(8078, -1); + st.takeItems(8077, -1); + st.rewardItems(57, (val * 300) + (exCond * 1200)); + } + else + { + htmltext = "32020-16a.htm"; } - break; } } @@ -137,78 +300,75 @@ public class Q648_AnIceMerchantsDream extends Quest @Override public String onTalk(NpcInstance npc, PlayerInstance player) { + QuestState st = player.getQuestState(getName()); String htmltext = getNoQuestMsg(); - final QuestState qs = player.getQuestState(getName()); - if (qs == null) + if (st == null) { return htmltext; } - final int npcId = npc.getNpcId(); - final int id = qs.getState(); - final int cond = qs.getInt("cond"); - final int silver = qs.getQuestItemsCount(SILVER_ICE); - final int black = qs.getQuestItemsCount(BLACK_ICE); - if (npcId == RAFFORTY) + switch (st.getState()) { - if (id == State.CREATED) + case State.CREATED: { - if (player.getLevel() >= 53) + if (npc.getNpcId() == RAFFORTY) { - htmltext = "32020-01.htm"; - } - else - { - htmltext = "32020-00.htm"; - qs.exitQuest(true); - } - } - else if (cond == 1) - { - if ((silver > 0) || (black > 0)) - { - final QuestState st2 = player.getQuestState(Q115_TheOtherSideOfTruth.class.getSimpleName()); - htmltext = "32020-05.htm"; - if ((st2 != null) && (st2.getState() == State.COMPLETED)) + if (player.getLevel() < 53) { - htmltext = "32020-10.htm"; - qs.playSound("ItemSound.quest_middle"); - qs.set("cond", "2"); + htmltext = "32020-01.htm"; + } + else + { + QuestState st2 = player.getQuestState(Q115_TheOtherSideOfTruth.class.getSimpleName()); + htmltext = ((st2 != null) && st2.isCompleted()) ? "32020-02.htm" : "32020-03.htm"; } - } - else - { - htmltext = "32020-04.htm"; - } - } - else if (cond == 2) - { - if ((silver > 0) || (black > 0)) - { - htmltext = "32020-10.htm"; - } - else - { - htmltext = "32020-04a.htm"; - } - } - } - else if (npcId == ICE_SHELF) - { - if (id == State.CREATED) - { - htmltext = "32023-00.htm"; - } - else - { - if (silver > 0) - { - htmltext = "32023-02.htm"; } else { htmltext = "32023-01.htm"; } + break; + } + case State.STARTED: + { + if (npc.getNpcId() == RAFFORTY) + { + final boolean hasItem = (st.hasAtLeastOneQuestItem(SILVER_ICE_CRYSTAL, BLACK_ICE_CRYSTAL)); + QuestState st2 = player.getQuestState(Q115_TheOtherSideOfTruth.class.getSimpleName()); + if ((st2 != null) && st2.isCompleted()) + { + htmltext = (hasItem) ? "32020-11.htm" : "32020-09.htm"; + if (st.getInt("cond") == 1) + { + st.set("cond", "2"); + st.playSound(QuestState.SOUND_MIDDLE); + } + } + else + { + htmltext = (hasItem) ? "32020-10.htm" : "32020-08.htm"; + } + } + else + { + if (!st.hasQuestItems(SILVER_ICE_CRYSTAL)) + { + htmltext = "32023-02.htm"; + } + else + { + if ((st.getInt("exCond") % 10) == 0) + { + htmltext = "32023-03.htm"; + st.set("exCond", "0"); + } + else + { + htmltext = "32023-04.htm"; + } + } + } + break; } } @@ -218,36 +378,22 @@ public class Q648_AnIceMerchantsDream extends Quest @Override public String onKill(NpcInstance npc, PlayerInstance player, boolean isPet) { - final PlayerInstance partyMember = getRandomPartyMemberState(player, State.STARTED); + final PlayerInstance partyMember = getRandomPartyMemberState(player, npc, State.STARTED); if (partyMember == null) { return null; } - - final QuestState qs = partyMember.getQuestState(getName()); - if (qs != null) + final QuestState st = partyMember.getQuestState(getName()); + if (st == null) { - int chance = (int) ((npc.getNpcId() - 22050) * Config.RATE_DROP_QUEST); - chance /= 100; - int numItems = chance; - int random = Rnd.get(100); - if (random <= chance) - { - numItems += 1; - } - if (numItems != 0) - { - qs.giveItems(SILVER_ICE, numItems); - qs.playSound("ItemSound.quest_itemget"); - } - - final int cond = qs.getInt("cond"); - random = Rnd.get(100); - if ((cond == 2) && (random <= 10)) - { - qs.giveItems(HEMOCYTE, 1); - qs.playSound("ItemSound.quest_itemget"); - } + return null; + } + + final int[] chance = CHANCES.get(npc.getNpcId()); + st.dropItems(SILVER_ICE_CRYSTAL, 1, 0, chance[0]); + if ((st.getInt("cond") == 2) && (chance[1] > 0)) + { + st.dropItems(SILVER_HEMOCYTE, 1, 0, chance[1]); } return null; diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java index be045a0d97..baffbdeaaf 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -42,7 +42,7 @@ import quests.Q020_BringUpWithLove.Q020_BringUpWithLove; import quests.Q021_HiddenTruth.Q021_HiddenTruth; import quests.Q022_TragedyInVonHellmannForest.Q022_TragedyInVonHellmannForest; import quests.Q023_LidiasHeart.Q023_LidiasHeart; -import quests.Q024_InhabitantsOfTheForrestOfTheDead.Q024_InhabitantsOfTheForrestOfTheDead; +import quests.Q024_InhabitantsOfTheForestOfTheDead.Q024_InhabitantsOfTheForestOfTheDead; import quests.Q025_HidingBehindTheTruth.Q025_HidingBehindTheTruth; import quests.Q027_ChestCaughtWithABaitOfWind.Q027_ChestCaughtWithABaitOfWind; import quests.Q028_ChestCaughtWithABaitOfIcyAir.Q028_ChestCaughtWithABaitOfIcyAir; @@ -394,7 +394,7 @@ public class QuestMasterHandler Q021_HiddenTruth.class, Q022_TragedyInVonHellmannForest.class, Q023_LidiasHeart.class, - Q024_InhabitantsOfTheForrestOfTheDead.class, + Q024_InhabitantsOfTheForestOfTheDead.class, Q025_HidingBehindTheTruth.class, Q027_ChestCaughtWithABaitOfWind.class, Q028_ChestCaughtWithABaitOfIcyAir.class, diff --git a/L2J_Mobius_C6_Interlude/dist/game/data/stats/items/8000-8099.xml b/L2J_Mobius_C6_Interlude/dist/game/data/stats/items/8000-8099.xml index 460483b788..c9d0279cd3 100644 --- a/L2J_Mobius_C6_Interlude/dist/game/data/stats/items/8000-8099.xml +++ b/L2J_Mobius_C6_Interlude/dist/game/data/stats/items/8000-8099.xml @@ -476,30 +476,42 @@ - + - - + + + + + + - - + + + + + + - - + + + + + + @@ -514,6 +526,9 @@ + + + @@ -521,6 +536,9 @@ + + + @@ -572,6 +590,9 @@ + + + @@ -579,6 +600,9 @@ + + + @@ -586,6 +610,9 @@ + + + @@ -593,6 +620,9 @@ + + + @@ -600,6 +630,9 @@ + + + @@ -614,6 +647,9 @@ + + + @@ -621,6 +657,9 @@ + + + @@ -628,6 +667,9 @@ + + + @@ -635,6 +677,9 @@ + + + @@ -642,6 +687,9 @@ + + + @@ -649,6 +697,9 @@ + + + @@ -656,6 +707,9 @@ + + + @@ -663,6 +717,9 @@ + + + @@ -670,6 +727,9 @@ + + + @@ -677,69 +737,99 @@ + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + @@ -758,36 +848,51 @@ - + + + + - + + + + - + + + + - + + + + - + + + + diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Book.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Book.java index abff95d968..ebbba60792 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Book.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/itemhandlers/Book.java @@ -64,7 +64,8 @@ public class Book implements IItemHandler 7109, 7110, 7111, - 7112 + 7112, + 8059 }; @Override diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java index d6797069f1..8bd64cf635 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/quest/Quest.java @@ -873,6 +873,18 @@ public class Quest extends ManagedScript } } + /** + * Add this quest to the list of quests that the passed mob will respond to for Kill Events. + * @param killIds A serie of ids. + */ + public void addKillId(Collection killIds) + { + for (int killId : killIds) + { + addEventId(killId, EventType.ON_KILL); + } + } + /** * Add this quest to the list of quests that the passed npc will respond to for Talk Events. * @param talkId : ID of the NPC