diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-01.htm
new file mode 100644
index 0000000000..648b373183
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-01.htm
@@ -0,0 +1,4 @@
+
Ketra's Messenger Wahkan:
+Greetings, stranger! Are you a mercenary? Excellent! Will you fight for the Ketra Orcs?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-02.htm
new file mode 100644
index 0000000000..bb685e6f33
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-02.htm
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+Do you actually think a weakling like you can stand up to the mighty Ketra Orcs? Ha! I can't believe you've lasted this long! Scram, pencilneck!
+(Only a character of level 74 or above may undertake this quest.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-03.htm
new file mode 100644
index 0000000000..809351190e
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-03.htm
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+You're nothing but a filthy maggot! A dog of the Varka Silenos! Did you enjoy licking their vile boots?! Get out of my sight! You sicken me!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-04.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-04.htm
new file mode 100644
index 0000000000..b70915e815
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-04.htm
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+Well, I suppose I'll give you a chance... If you can gain my trust, the Ketras will trust you as well. Your test is simple. Annihilate those filthy Varka Silenos! Kill as many as you can! As proof, bring back 100 badges of Varka Soldiers.
+Get the badges by slaying Varka Silenos Recruits, Footmen, Scouts, Hunters and Shamans. This will build trust with our tribe.
+Now get going!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-05.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-05.htm
new file mode 100644
index 0000000000..acb576d442
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-05.htm
@@ -0,0 +1,7 @@
+Ketra's Messenger Wahkan:
+There are several phases of friendship:
+Fight bravely for the Ketra, and the Ketra will take care of you.
+You must kill not only the henchmen but also the commander to win the war against the Varka Silenos Village. Kill every goatee you can find! Keep killing them! The war isn't over until all the filthy Varka are wiped off the earth!
+I will give more confidence and trust to those who bring the insignia of the Wahkan Varka Rank - 200 soldiers with the insignia of the Varka Rank - 100 Non-Commissioned Officers. The insignia of the Varka Rank - Non-Commissioned Officer can be obtained when you kill the Priest of Varka Silenos, a Warrior, a Spiritual Medium, a Non-Commissioned Officer, a Chief Officiating Priest, a Commander of an Army Corps and an Elite Military Escort. Go forward, friends of Ketra!
+Remember not to lay a finger on our Ketra Orc tribe! This would destroy our alliance!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-06.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-06.htm
new file mode 100644
index 0000000000..323e9740dc
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-06.htm
@@ -0,0 +1,6 @@
+Ketra's Messenger Wahkan:
+You're the best friend the Ketra ever had! The more you fight for the Ketra, the more we will trust you.
+Our war against the Varka Orcs continues. We must drive those revolting goat beards from the face of the earth! Kill Varka Silenos great mystics, captains, grand seers, prophets, prophet's disciples, prophet's royal guards, chief magi and chief escorts. Kill them all and take their badges as proof.
+Bring back 300 badges of grunts, 200 badges of officers and 100 badges of captains. Good luck, my friend!
+However, if you laid a hand on our Ketra Orcs in the middle, our confidence in you will fade away and our alliance with you will be destroyed!!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-07.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-07.htm
new file mode 100644
index 0000000000..52f38e96e6
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-07.htm
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+Ha ha ha! I'll bet those filthy goat beards peed all over themselves! Such is the pleasure of an overwhelming victory! Our job isn't finished yet, however. This war won't be over until every single Varka lies dead!
+Your excellent reputation is spreading like wildfire among the Ketras! However, it is said that there are several steps in friendship. You're now in the middle. If you want to raise our esteem for you even further, attack the Varka Silenos again and bring us 300 badges of grunts, 300 badges of officers, 200 badges of captains and a Totem of Valor. You are fully qualified. Show your real power. The stronger someone is, the more he will be loved by Ketras! You can get the totem by successfully finishing the Prove Your Courage! quest assigned by Hierarch Kadun Zu Ketra.
+However, if you laid a hand on our Ketra Orcs in the middle, our confidence in you will fade away and our alliance with you will be destroyed!!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-08.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-08.htm
new file mode 100644
index 0000000000..6ace727a3b
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-08.htm
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+This mission will earn you the Ketra's highest level of trust. This task will not be very difficult for the strong one like you. You must kill the Varka Silenos and bring us 400 badges of grunts, 400 badges of officers and 200 badges of captains as well as the Totem of Wisdom. The Totem of Wisdom can be obtained by killing Mos, the commander of the Varkas, longtime scourge of the Ketras. However, you must speak with Hierarch Kadun Zu Ketra for more details on the quest, known as Slay the Enemy Commander before killing Mos! Go ahead! I have no doubt that you will prevail!
+However, if you laid a hand on our Ketra Orcs in the middle, our confidence in you will fade away and our alliance with you will be destroyed!!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-09.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-09.htm
new file mode 100644
index 0000000000..d497672d3f
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-09.htm
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+Ha! Hello, friend! What can the Ketras do for you today? You are truly our dearest friend!
+But don't forget, Ketras live in the moment, and our memories are short... Once a friend leaves us, it is as if they were never here. What's past is past.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-10.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-10.html
new file mode 100644
index 0000000000..74eba75ac4
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-10.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+Yo, stranger! Will you join our struggle against the filthy Varka Silenos? I, for one, can't wait to taste their blood! Quickly, go to the battlefield and kill Varka Silenos! As proof, bring back 100 badges of grunts! Then you shall surely become a friend of the Ketra Orcs.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-11.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-11.html
new file mode 100644
index 0000000000..a8c9c67e23
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-11.html
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+Have you brought the badges of the goat beards? How many did you kill?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12.html
new file mode 100644
index 0000000000..7e9972eeaf
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+You've formed a friendship with the Ketra forged in blood and fire! Take this Mark of Ketra's Alliance - Level 1. We only award them to those we consider our true friends. Congratulations!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12a.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12a.html
new file mode 100644
index 0000000000..649487a28c
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12a.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+We'll reward our true friends. Help us in battle!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12b.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12b.html
new file mode 100644
index 0000000000..a917711cee
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-12b.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+Fellow Ketra soldier, we value your friendship!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-13.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-13.html
new file mode 100644
index 0000000000..a4135ae08b
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-13.html
@@ -0,0 +1,6 @@
+Ketra's Messenger Wahkan:
+Have you massacred the Varka Silenos yet? Remember, you promised to bring back 200 badges of grunts and 100 badges of officers as proof!
+We treat our friends very well, you're not thinking about changing your mind, are you?
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-14.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-14.html
new file mode 100644
index 0000000000..fd2a608fae
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-14.html
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+Friend, how did you repay us for the trust we've shown you? Where's the proof?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-15.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-15.html
new file mode 100644
index 0000000000..f10f118c86
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-15.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+Good job, friend! We thank you for your strong friendship. Please accept this Mark of Ketra's Alliance - Level 2. Warehouse Keeper Jaff will let you use the warehouse now! Congratulations!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-16.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-16.html
new file mode 100644
index 0000000000..cb342571a5
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-16.html
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+Where are the 300 badges of grunts, 200 badges of officers and 100 badges of captains you promised to bring back from the Varka Silenos? Surely this isn't too hard for you?! Do you want to back out of our agreement?
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-17.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-17.html
new file mode 100644
index 0000000000..72c937833a
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-17.html
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+Friend, show those goat beards the power of Pa'agrio's fire! This fight isn't over until every single Varka Silenos is dead! How many have you killed?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-18.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-18.html
new file mode 100644
index 0000000000..b3fe179ca4
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-18.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+Excellent, brave comrade! I won't be satisfied until I've ground the bones of every one of those filthy goat beards into dust! Please accept this Mark of Ketra's Alliance - Level 3. You're now permitted to obtain specialty items from Trader Jumara and to receive the blessing of Asefa, guide of dead souls! Good job!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-19.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-19.html
new file mode 100644
index 0000000000..b458a0bc8e
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-19.html
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+What are you doing, dear comrade? Please, attack the Varka Silenos and bring us 300 badges of grunts, 300 badges of officers, 200 badges of captains and the Totem of Valor! This totem can be obtained by fulfilling the Prove your Courage quest, a mission assigned by Hierarch Kadun Zu Ketra. You don't want to quit, do you?
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-20.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-20.html
new file mode 100644
index 0000000000..b60750170f
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-20.html
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+Ha! That's wonderful! Those arrogant Varka Silenos have tasted Orcish Steel! Ha! Keep up the good work!
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-21.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-21.html
new file mode 100644
index 0000000000..7db4ff280c
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-21.html
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+You're a most noble Warrior, friend of the Ketra! A true hero to our people! Please accept this Mark of Ketra's Alliance - Level 4! Now Gatekeeper Kurfa will teleport you to nearby villages!
+There is but one level of trust left for you to attain!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-22.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-22.html
new file mode 100644
index 0000000000..6e893e6826
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-22.html
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+The Varka Silenos are doomed, just fight a little longer! You must try harder! Attack them and bring back 400 badges of grunts, 400 badges of officers and 200 badges of captains, as well as a Totem of Wisdom. The Totem of Wisdom can be obtained by fulfilling the Slay the Enemy Commander quest, a mission assigned by Hierarch Kadun Zu Ketra. We have faith in you!
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-23.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-23.html
new file mode 100644
index 0000000000..54a3831a50
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-23.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+Excellent work! Please accept this Mark of Ketra's Alliance - Level 5! This is the highest honor of trust that we Ketra bestow! You are now allowed to purchase specialty items and teleport directly to the nearest battlefield with the assistance of Gatekeeper Kurfa. Congratulations!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-24.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-24.html
new file mode 100644
index 0000000000..2518e2d7e1
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-24.html
@@ -0,0 +1,5 @@
+Ketra's Messenger Wahkan:
+You're the best friend the Ketra ever had! There is no higher honor we can bestow upon you! What are you thinking, my friend?
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-25.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-25.html
new file mode 100644
index 0000000000..d22f556c3a
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-25.html
@@ -0,0 +1,4 @@
+Ketra's Messenger Wahkan:
+How can you leave us like this?! Don't be a fool! You would sever our relationship, after all we've been through?! Are you a fool? Think carefully, my friend! Such decisions are irreversible!
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-26.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-26.html
new file mode 100644
index 0000000000..25b2bc06c8
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/31371-26.html
@@ -0,0 +1,3 @@
+Ketra's Messenger Wahkan:
+You are no longer our friend! Get out of my sight!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/Q00605_AllianceWithKetraOrcs.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/Q00605_AllianceWithKetraOrcs.java
new file mode 100644
index 0000000000..b9f00a5886
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00605_AllianceWithKetraOrcs/Q00605_AllianceWithKetraOrcs.java
@@ -0,0 +1,366 @@
+/*
+ * 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.Q00605_AllianceWithKetraOrcs;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.l2jmobius.gameserver.enums.QuestSound;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.Player;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Alliance with Ketra Orcs (605)
+ * @author malyelfik
+ */
+public class Q00605_AllianceWithKetraOrcs extends Quest
+{
+ private static class DropInfo
+ {
+ private final int _chance;
+ private final int _minCond;
+ private final int _itemId;
+
+ public DropInfo(int chance, int minCond)
+ {
+ _chance = chance;
+ _minCond = minCond;
+ switch (_minCond)
+ {
+ case 1:
+ {
+ _itemId = VARKA_BADGE_SOLDIER;
+ break;
+ }
+ case 2:
+ {
+ _itemId = VARKA_BADGE_OFFICER;
+ break;
+ }
+ default:
+ {
+ _itemId = VARKA_BADGE_CAPTAIN;
+ break;
+ }
+ }
+ }
+
+ public int getMinCond()
+ {
+ return _minCond;
+ }
+
+ public int getChance()
+ {
+ return _chance;
+ }
+
+ public int getItemId()
+ {
+ return _itemId;
+ }
+ }
+
+ // NPC
+ private static final int WAHKAN = 31371;
+ // Monsters
+ private static final Map MOBS = new HashMap<>();
+ static
+ {
+ MOBS.put(21350, new DropInfo(500, 1)); // Varka Silenos Recruit
+ MOBS.put(21351, new DropInfo(500, 1)); // Varka Silenos Footman
+ MOBS.put(21353, new DropInfo(509, 1)); // Varka Silenos Scout
+ MOBS.put(21354, new DropInfo(521, 1)); // Varka Silenos Hunter
+ MOBS.put(21355, new DropInfo(519, 1)); // Varka Silenos Shaman
+ MOBS.put(21357, new DropInfo(500, 2)); // Varka Silenos Priest
+ MOBS.put(21358, new DropInfo(500, 2)); // Varka Silenos Warrior
+ MOBS.put(21360, new DropInfo(509, 2)); // Varka Silenos Medium
+ MOBS.put(21361, new DropInfo(518, 2)); // Varka Silenos Magus
+ MOBS.put(21362, new DropInfo(518, 2)); // Varka Silenos Officer
+ MOBS.put(21364, new DropInfo(527, 2)); // Varka Silenos Seer
+ MOBS.put(21365, new DropInfo(500, 3)); // Varka Silenos Great Magus
+ MOBS.put(21366, new DropInfo(500, 3)); // Varka Silenos General
+ MOBS.put(21368, new DropInfo(508, 3)); // Varka Silenos Great Seer
+ MOBS.put(21369, new DropInfo(628, 2)); // Varka's Commander
+ MOBS.put(21370, new DropInfo(604, 2)); // Varka's Elite Guard
+ MOBS.put(21371, new DropInfo(627, 3)); // Varka's Head Magus
+ MOBS.put(21372, new DropInfo(604, 3)); // Varka's Head Guard
+ MOBS.put(21373, new DropInfo(649, 3)); // Varka's Prophet
+ MOBS.put(21374, new DropInfo(626, 3)); // Prophet's Guard
+ MOBS.put(21375, new DropInfo(626, 3)); // Disciple of Prophet
+ }
+ // Items
+ private static final int VARKA_BADGE_SOLDIER = 7216;
+ private static final int VARKA_BADGE_OFFICER = 7217;
+ private static final int VARKA_BADGE_CAPTAIN = 7218;
+ private static final int VALOR_TOTEM = 7219;
+ private static final int WISDOM_TOTEM = 7220;
+ private static final int[] KETRA_MARKS =
+ {
+ 7211, // Mark of Ketra's Alliance - Level 1
+ 7212, // Mark of Ketra's Alliance - Level 2
+ 7213, // Mark of Ketra's Alliance - Level 3
+ 7214, // Mark of Ketra's Alliance - Level 4
+ 7215, // Mark of Ketra's Alliance - Level 5
+ };
+ private static final int[] VARKA_MARKS =
+ {
+ 7221, // Mark of Varka's Alliance - Level 1
+ 7222, // Mark of Varka's Alliance - Level 2
+ 7223, // Mark of Varka's Alliance - Level 3
+ 7224, // Mark of Varka's Alliance - Level 4
+ 7225, // Mark of Varka's Alliance - Level 5
+ };
+ // Misc
+ private static final int MIN_LEVEL = 74;
+ private static final int[] SOLDIER_BADGE_COUNT =
+ {
+ 100, // cond 1
+ 200, // cond 2
+ 300, // cond 3
+ 300, // cond 4
+ 400, // cond 5
+ };
+ private static final int[] OFFICER_BADGE_COUNT =
+ {
+ 0, // cond 1
+ 100, // cond 2
+ 200, // cond 3
+ 300, // cond 4
+ 400, // cond 5
+ };
+ private static final int[] CAPTAIN_BADGE_COUNT =
+ {
+ 0, // cond 1
+ 0, // cond 2
+ 100, // cond 3
+ 200, // cond 4
+ 200, // cond 5
+ };
+
+ public Q00605_AllianceWithKetraOrcs()
+ {
+ super(605);
+ addStartNpc(WAHKAN);
+ addTalkId(WAHKAN);
+ addKillId(MOBS.keySet());
+ registerQuestItems(VARKA_BADGE_SOLDIER, VARKA_BADGE_OFFICER, VARKA_BADGE_CAPTAIN);
+ }
+
+ private boolean canGetItem(QuestState qs, int itemId)
+ {
+ int count = 0;
+ switch (itemId)
+ {
+ case VARKA_BADGE_SOLDIER:
+ {
+ count = SOLDIER_BADGE_COUNT[qs.getCond() - 1];
+ break;
+ }
+ case VARKA_BADGE_OFFICER:
+ {
+ count = OFFICER_BADGE_COUNT[qs.getCond() - 1];
+ break;
+ }
+ case VARKA_BADGE_CAPTAIN:
+ {
+ count = CAPTAIN_BADGE_COUNT[qs.getCond() - 1];
+ break;
+ }
+ }
+ return getQuestItemsCount(qs.getPlayer(), itemId) < count;
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = event;
+ switch (event)
+ {
+ case "31371-12a.html":
+ case "31371-12b.html":
+ case "31371-25.html":
+ {
+ break;
+ }
+ case "31371-04.htm":
+ {
+ if (hasAtLeastOneQuestItem(player, VARKA_MARKS))
+ {
+ return "31371-03.htm";
+ }
+ qs.setState(State.STARTED);
+ playSound(player, QuestSound.ITEMSOUND_QUEST_ACCEPT);
+ for (int i = 0; i < KETRA_MARKS.length; i++)
+ {
+ if (hasQuestItems(player, KETRA_MARKS[i]))
+ {
+ qs.setCond(i + 2);
+ return "31371-0" + (i + 5) + ".htm";
+ }
+ }
+ qs.setCond(1);
+ break;
+ }
+ case "31371-12.html":
+ {
+ if (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[0])
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, VARKA_BADGE_SOLDIER, -1);
+ giveItems(player, KETRA_MARKS[0], 1);
+ qs.setCond(2, true);
+ break;
+ }
+ case "31371-15.html":
+ {
+ if ((getQuestItemsCount(player, VARKA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[1]) || (getQuestItemsCount(player, VARKA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[1]))
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, -1, VARKA_BADGE_SOLDIER, VARKA_BADGE_OFFICER, KETRA_MARKS[0]);
+ giveItems(player, KETRA_MARKS[1], 1);
+ qs.setCond(3, true);
+ break;
+ }
+ case "31371-18.html":
+ {
+ if ((getQuestItemsCount(player, VARKA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[2]) || (getQuestItemsCount(player, VARKA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[2]) || (getQuestItemsCount(player, VARKA_BADGE_CAPTAIN) < CAPTAIN_BADGE_COUNT[2]))
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, -1, VARKA_BADGE_SOLDIER, VARKA_BADGE_OFFICER, VARKA_BADGE_CAPTAIN, KETRA_MARKS[1]);
+ giveItems(player, KETRA_MARKS[2], 1);
+ qs.setCond(4, true);
+ break;
+ }
+ case "31371-21.html":
+ {
+ if (!hasQuestItems(player, VALOR_TOTEM) || (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[3]) || (getQuestItemsCount(player, VARKA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[3]) || (getQuestItemsCount(player, VARKA_BADGE_CAPTAIN) < CAPTAIN_BADGE_COUNT[3]))
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, -1, VARKA_BADGE_SOLDIER, VARKA_BADGE_OFFICER, VARKA_BADGE_CAPTAIN, VALOR_TOTEM, KETRA_MARKS[2]);
+ giveItems(player, KETRA_MARKS[3], 1);
+ qs.setCond(5, true);
+ break;
+ }
+ case "31371-26.html":
+ {
+ takeItems(player, -1, KETRA_MARKS);
+ takeItems(player, -1, VALOR_TOTEM, WISDOM_TOTEM);
+ qs.exitQuest(true, true);
+ break;
+ }
+ default:
+ {
+ htmltext = null;
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onKill(Npc npc, Player killer, boolean isSummon)
+ {
+ final Player member = getRandomPartyMemberState(killer, State.STARTED);
+ if (member != null)
+ {
+ final QuestState qs = getQuestState(member, false);
+ final DropInfo info = MOBS.get(npc.getId());
+ if ((qs.getCond() >= info.getMinCond()) && (qs.getCond() < 6) && canGetItem(qs, info.getItemId()) && (getRandom(1000) < info.getChance()))
+ {
+ giveItems(member, info.getItemId(), 1);
+ }
+ }
+ return super.onKill(npc, killer, isSummon);
+ }
+
+ @Override
+ public String onTalk(Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ htmltext = (player.getLevel() >= MIN_LEVEL) ? "31371-01.htm" : "31371-02.htm";
+ break;
+ }
+ case State.STARTED:
+ {
+ switch (qs.getCond())
+ {
+ case 1:
+ {
+ htmltext = (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[0]) ? "31371-11.html" : "31371-10.html";
+ break;
+ }
+ case 2:
+ {
+ htmltext = (hasQuestItems(player, KETRA_MARKS[0]) && (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[1]) && (getQuestItemsCount(player, VARKA_BADGE_OFFICER) >= OFFICER_BADGE_COUNT[1])) ? "31371-14.html" : "31371-13.html";
+ break;
+ }
+ case 3:
+ {
+ htmltext = (hasQuestItems(player, KETRA_MARKS[1]) && (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[2]) && (getQuestItemsCount(player, VARKA_BADGE_OFFICER) >= OFFICER_BADGE_COUNT[2]) && (getQuestItemsCount(player, VARKA_BADGE_CAPTAIN) >= CAPTAIN_BADGE_COUNT[2])) ? "31371-17.html" : "31371-16.html";
+ break;
+ }
+ case 4:
+ {
+ htmltext = (hasQuestItems(player, KETRA_MARKS[2], VALOR_TOTEM) && (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[3]) && (getQuestItemsCount(player, VARKA_BADGE_OFFICER) >= OFFICER_BADGE_COUNT[3]) && (getQuestItemsCount(player, VARKA_BADGE_CAPTAIN) >= CAPTAIN_BADGE_COUNT[3])) ? "31371-20.html" : "31371-19.html";
+ break;
+ }
+ case 5:
+ {
+ if (!hasQuestItems(player, KETRA_MARKS[3]) || !hasQuestItems(player, WISDOM_TOTEM) || (getQuestItemsCount(player, VARKA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[4]) || (getQuestItemsCount(player, VARKA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[4]) || (getQuestItemsCount(player, VARKA_BADGE_CAPTAIN) < CAPTAIN_BADGE_COUNT[4]))
+ {
+ return "31371-22.html";
+ }
+ qs.setCond(6, true);
+ takeItems(player, -1, VARKA_BADGE_SOLDIER, VARKA_BADGE_OFFICER, VARKA_BADGE_CAPTAIN, WISDOM_TOTEM, KETRA_MARKS[3]);
+ giveItems(player, KETRA_MARKS[4], 1);
+ htmltext = "31371-23.html";
+ break;
+ }
+ case 6:
+ {
+ if (hasQuestItems(player, KETRA_MARKS[4]))
+ {
+ htmltext = "31371-24.html";
+ }
+ break;
+ }
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-01.htm
new file mode 100644
index 0000000000..e56d92b6b7
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-01.htm
@@ -0,0 +1,4 @@
+Kadun Zu Ketra:
+We must destroy the Varka Silenos, our ancient rivals! Who will join our cause?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-02.htm
new file mode 100644
index 0000000000..bd07640fec
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-02.htm
@@ -0,0 +1,4 @@
+Kadun Zu Ketra:
+Your courage is admirable, but your abilities are lacking! Come back when you've developed your skills a bit more.
+(This quest may only be undertaken by a character of level 74 or above.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-03.htm
new file mode 100644
index 0000000000..ad22476304
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-03.htm
@@ -0,0 +1,3 @@
+Kadun Zu Ketra:
+Attack the garrison of the Varka Silenos and kill as many of them as possible! Cut off their Shillien Manes and bring them back as proof of your valor! Bring back 100 of them and I'll give you a reward! Tejakar Ketra!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-04.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-04.html
new file mode 100644
index 0000000000..613a00e4a2
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-04.html
@@ -0,0 +1,6 @@
+Kadun Zu Ketra:
+My colleague, have you slaughtered our enemies, the warriors of Varka Silenos? Did you hear their pitiful cries of defeat?
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-05.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-05.html
new file mode 100644
index 0000000000..8377889e54
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-05.html
@@ -0,0 +1,3 @@
+Kadun Zu Ketra:
+Wipe out the enemy! Don't let any Varka Silenos survive! Kill them all!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-06.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-06.html
new file mode 100644
index 0000000000..3f041b7793
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-06.html
@@ -0,0 +1,3 @@
+Kadun Zu Ketra:
+The fight must go on! Victory is ours!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-07.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-07.html
new file mode 100644
index 0000000000..92c609709f
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-07.html
@@ -0,0 +1,6 @@
+Kadun Zu Ketra:
+Excellent! Today's victory will always be remembered! Oh, brave warrior! You'll be well-rewarded for your valor! At one time, this Buffalo horn was only given to the bravest soldiers of our tribe. It's quite valuable! You could trade it for something you really need!
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-08.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-08.html
new file mode 100644
index 0000000000..0fd6dcdf69
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-08.html
@@ -0,0 +1,3 @@
+Kadun Zu Ketra:
+Didn't I ask for at least 100 Shillien Manes? Return to the battlefield now!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-09.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-09.html
new file mode 100644
index 0000000000..1883cd1c37
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/31370-09.html
@@ -0,0 +1,3 @@
+Kadun Zu Ketra:
+Even the most invincible warrior should take a break once in a while! You've done well! Come back when you're rested!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/Q00606_BattleAgainstVarkaSilenos.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/Q00606_BattleAgainstVarkaSilenos.java
new file mode 100644
index 0000000000..7295871177
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00606_BattleAgainstVarkaSilenos/Q00606_BattleAgainstVarkaSilenos.java
@@ -0,0 +1,150 @@
+/*
+ * 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.Q00606_BattleAgainstVarkaSilenos;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.l2jmobius.gameserver.enums.QuestSound;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.Player;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Battle against Varka Silenos (606)
+ * @author malyelfik
+ */
+public class Q00606_BattleAgainstVarkaSilenos extends Quest
+{
+ // NPC
+ private static final int KADUN = 31370;
+ // Monsters
+ private static final Map MOBS = new HashMap<>();
+ static
+ {
+ MOBS.put(21350, 500); // Varka Silenos Recruit
+ MOBS.put(21353, 510); // Varka Silenos Scout
+ MOBS.put(21354, 522); // Varka Silenos Hunter
+ MOBS.put(21355, 519); // Varka Silenos Shaman
+ MOBS.put(21357, 529); // Varka Silenos Priest
+ MOBS.put(21358, 529); // Varka Silenos Warrior
+ MOBS.put(21360, 539); // Varka Silenos Medium
+ MOBS.put(21362, 539); // Varka Silenos Officer
+ MOBS.put(21364, 558); // Varka Silenos Seer
+ MOBS.put(21365, 568); // Varka Silenos Great Magus
+ MOBS.put(21366, 568); // Varka Silenos General
+ MOBS.put(21368, 568); // Varka Silenos Great Seer
+ MOBS.put(21369, 664); // Varka's Commander
+ MOBS.put(21371, 713); // Varka's Head Magus
+ MOBS.put(21373, 738); // Varka's Prophet
+ }
+ // Items
+ private static final int HORN = 7186;
+ private static final int MANE = 7233;
+ // Misc
+ private static final int MIN_LEVEL = 74;
+ private static final int MANE_COUNT = 100;
+
+ public Q00606_BattleAgainstVarkaSilenos()
+ {
+ super(606);
+ addStartNpc(KADUN);
+ addTalkId(KADUN);
+ addKillId(MOBS.keySet());
+ registerQuestItems(MANE);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = event;
+ switch (event)
+ {
+ case "31370-03.htm":
+ {
+ qs.startQuest();
+ break;
+ }
+ case "31370-06.html":
+ {
+ break;
+ }
+ case "31370-07.html":
+ {
+ if (getQuestItemsCount(player, MANE) < MANE_COUNT)
+ {
+ return "31370-08.html";
+ }
+ takeItems(player, MANE, MANE_COUNT);
+ giveItems(player, HORN, 20);
+ break;
+ }
+ case "31370-09.html":
+ {
+ qs.exitQuest(true, true);
+ break;
+ }
+ default:
+ {
+ htmltext = null;
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onKill(Npc npc, Player killer, boolean isSummon)
+ {
+ final Player member = getRandomPartyMember(killer, 1);
+ if ((member != null) && (getRandom(1000) < MOBS.get(npc.getId())))
+ {
+ giveItems(member, MANE, 1);
+ playSound(member, QuestSound.ITEMSOUND_QUEST_ITEMGET);
+ }
+ return super.onKill(npc, killer, isSummon);
+ }
+
+ @Override
+ public String onTalk(Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ htmltext = (player.getLevel() >= MIN_LEVEL) ? "31370-01.htm" : "31370-02.htm";
+ break;
+ }
+ case State.STARTED:
+ {
+ htmltext = (hasQuestItems(player, MANE)) ? "31370-04.html" : "31370-05.html";
+ break;
+ }
+ }
+ return htmltext;
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-01.htm
new file mode 100644
index 0000000000..ba5a062c79
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-01.htm
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+We Varka have shown our strength and tenacity in countless battles and wars, but know that we can't survive alone. Everyone needs friends. We're looking for friends to help us fight! Will you fight alongside the mighty Varka Silenos?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-02.htm
new file mode 100644
index 0000000000..f7f2d79d3b
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-02.htm
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+We're looking for an exceptionally strong fighter! Why don't you come back when you've developed your skills a bit more?
+(This quest may only be undertaken by a character of level 74 or above.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-03.htm
new file mode 100644
index 0000000000..2d809c2da9
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-03.htm
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+You've got some nerve, coming around here after helping our enemy! Have you no shame?
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-04.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-04.htm
new file mode 100644
index 0000000000..b845c3de5b
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-04.htm
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+You seem pretty sure of yourself, but we can't afford to take in just anybody...
+If you wish to fight alongside the Varka Silenos, you must drive the Ketra Orcs from their advance base! Destroy the Ketra Orc footmen, raiders, scouts, shamans and war hounds and bring back 100 badges of Ketra grunts, then you will have proven your ability. Show us what you can do!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-05.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-05.htm
new file mode 100644
index 0000000000..28bd04ad02
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-05.htm
@@ -0,0 +1,5 @@
+Varka's Messenger Naran Ashanuk:
+Friend of Varka. You've done well, and the trust of Varka will be growing as much as you've showed us. But, if you truly want to take our trust to a higher level, bring us 200 badges of Ketra grunts and 100 badges of Ketra officers. Fighters like you have become essential to our victory!
+You can get the captain's badge by killing Ketra Orc Warriors, Lieutenants, Mediums, Elite Soldiers, Commanders, Elite Guards, White Captains, and Seers.
+However, if I hear that you've laid a hand on our Varka Silenos in the middle, I will not be able to trust you.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-06.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-06.htm
new file mode 100644
index 0000000000..4c0fa7c8b8
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-06.htm
@@ -0,0 +1,5 @@
+Varka's Messenger Naran Ashanuk:
+Friend of Varka. You've shown great loyalty to the Varka twice before, dear friend! However, the trust of Varka will be growing as much as you've showed us. If you want to strengthen our alliance even further by becoming a 3rd level ally, bring us 300 badges of Ketra grunts, 200 badges of Ketra officers and 100 badges of Ketra captains.
+The badges of Ketra captains can be obtained from Ketra Orc captains, battalion commanders, grand seers, chief shamans, chief royal guards, prophets, Prophet's Guards, and Prophet's Aides.
+However, if I hear that you've laid a hand on our Varka Silenos in the middle, I will not be able to trust you.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-07.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-07.htm
new file mode 100644
index 0000000000..025645ad61
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-07.htm
@@ -0,0 +1,5 @@
+Varka's Messenger Naran Ashanuk:
+Dear and faithful friend, your countless victories for the Varka have proven your loyalty to us. However, the trust of Varka will be growing as much as you've showed us. If you wish to strengthen our alliance and become our 4th level ally, bring from the Ketra 300 badges of grunts, 300 badges of officers, 200 badges of captains and a Feather of Valor.
+The feather can be obtained by undertaking the Prove Your Courage quest, a mission assigned by Ashas Varka Durai, the elder of our tribe.
+However, if I hear that you've laid a hand on our Varka Silenos in the middle, I will not be able to trust you.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-08.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-08.htm
new file mode 100644
index 0000000000..aabf90f83c
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-08.htm
@@ -0,0 +1,5 @@
+Varka's Messenger Naran Ashanuk:
+Dear and faithful friend, your countless victories for the Varka have proven your loyalty to us. There is one more mission that remains... If you wish to be our level 5 ally -- our highest honor of trust, obtain400 badges of Ketra grunts, 400 badges of Ketra officers, 200 badges of Ketra captains and a Feather of Wisdom.
+The feather can be obtained by undertaking the Slay the Enemy Commander quest, a mission assigned by Ashas Varka Durai, the elder of our tribe.
+However, if I hear that you've laid a hand on our Varka Silenos in the middle, I will not be able to trust you.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-09.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-09.htm
new file mode 100644
index 0000000000..1add676dee
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-09.htm
@@ -0,0 +1,5 @@
+Varka's Messenger Naran Ashanuk:
+Respected friend of the Varka. I no longer have any duties to give you. There is no one among us who is as courageous and faithful as you. The Varka Silenos of the village will give you their greatest service and benefit. Come to the Varka's village without hesitation.
+But if their treatment does not satisfy you, you may give up the alliance.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-10.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-10.html
new file mode 100644
index 0000000000..7f3f5e51f2
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-10.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+Are you still here? If you want to be a friend of the Varka Silenos, you must go to the advance base of the Ketra Orcs and kill them all! Kill their footmen, raiders, scouts, shamans and war hounds. Bring back 100 badges of Ketra grunts, then you will have proven your friendship to the Varka.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-11.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-11.html
new file mode 100644
index 0000000000..e233cfbb2c
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-11.html
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+I bet you left a bitter taste in the Ketra Orcs' mouths. What have you brought me?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12.html
new file mode 100644
index 0000000000..b5b137d0db
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+We Varka appreciate your help and friendship. Henceforth, you shall be known as a friend of the Varka! Congratulations! Please accept this Mark of Varka's Alliance - 1st level. It will guarantee you proper treatment in the village shops.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12a.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12a.html
new file mode 100644
index 0000000000..f7d168f673
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12a.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+Friend of the Varka, go destroy our enemies!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12b.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12b.html
new file mode 100644
index 0000000000..2e7a7227f3
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-12b.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+We value your trust, friend.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-13.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-13.html
new file mode 100644
index 0000000000..3465084d96
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-13.html
@@ -0,0 +1,8 @@
+Varka's Messenger Naran Ashanuk:
+What are you still doing here? Get to the battlefield immediately!
+You've committed to bring 200 badges of Ketra grunts and 100 badges of Ketra officers.
+Get the officers' badges from Ketra Orc Warriors, lieutenants, mediums, elite soldiers, centurions, seers, legionnaire captains, and elite royal guards.
+If you don't like this job, you're always welcome to quit!
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-14.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-14.html
new file mode 100644
index 0000000000..24ddd0591b
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-14.html
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+Did those gutless Ketras cry when you beat them? How many did you kill? Where are the proofs?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-15.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-15.html
new file mode 100644
index 0000000000..4479f1553e
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-15.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+Good job! You've earned this Mark of Varka's Alliance - Level 2. It gives you even more benefits and privileges from the village. If you want to use the warehouse, speak with Warehouse Keeper Hagos.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-16.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-16.html
new file mode 100644
index 0000000000..fc6d9153c1
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-16.html
@@ -0,0 +1,8 @@
+Varka's Messenger Naran Ashanuk:
+What are you still doing here? Get to the battlefield immediately!
+Remember, you've agreed to bring 300 badges of Ketra grunts, 200 badges of Ketra officers and 100 badges of Ketra captains.
+You can get the General's Badge by slaying the Ketra Orc Generals, Battalion Commanders, Grand Seers, Head Shamans, Head Guards, Prophets, Prophet's Guard, and Prophet's Aide.
+If you don't like your job, you're always welcome to quit!
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-17.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-17.html
new file mode 100644
index 0000000000..a7bbb044bd
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-17.html
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+Ah, back from your visit with the Ketra Orcs, are you? What was your trophy?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-18.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-18.html
new file mode 100644
index 0000000000..2e2bc71b9d
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-18.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+Were you successful? Congratulations! Take this Mark of Varka's Alliance - Level 3. This will give you even more benefits and privileges in the village. New specialty items are available to you, and you may now receive the blessing of Udan Mardui, guide of dead souls.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-19.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-19.html
new file mode 100644
index 0000000000..b733467552
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-19.html
@@ -0,0 +1,7 @@
+Varka's Messenger Naran Ashanuk:
+What are you still doing here? Get to the battlefield immediately!
+You've promised us you'd bring from the Ketra Orcs 300 badges of grunts, 300 badges of officers, 200 badges of captains and a Feather of Valor. This feather can be obtained by undertaking the Prove Your Courage quest, a mission assigned by Ashas Varka Durai, the elder of our tribe.
+
+If you don't like your job, you're always welcome to quit!
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-20.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-20.html
new file mode 100644
index 0000000000..3e2c95d497
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-20.html
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+Well, look who's back. from meeting with the Ketra Orcs. What did you find?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-21.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-21.html
new file mode 100644
index 0000000000..931fecd0e6
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-21.html
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+Congratulations! Please accept this Mark of Varka's Alliance - Level 4. It will give you even more benefits and privileges in the village. Now you can travel to other villages through Gate Keeper Teranu Mardui.
+Now all that remains is for you to become our closest friend, one with the highest trust we bestow! Will you do it?
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-22.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-22.html
new file mode 100644
index 0000000000..168aa905cc
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-22.html
@@ -0,0 +1,7 @@
+Varka's Messenger Naran Ashanuk:
+What are you still doing here? Get to the battlefield immediately!
+You've promised to bring 400 badges of Ketra grunts, 400 badges of Ketra officers, 200 badges of Ketra captains and a Feather of Wisdom. This feather can be obtained by undertaking the Slay the Enemy Commander quest, a mission assigned by Ashas Varka Durai, the elder of our tribe.
+Remember, you can always quit!
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-23.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-23.html
new file mode 100644
index 0000000000..a3795e2296
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-23.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+Congratulations, friend of Varka! Please accept this Mark of Varka's Alliance - Level 5. This entitles you to all the privileges the village can offer! From now on, you can purchase new specialty items and travel to distant hunting grounds through our gatekeeper. We're truly honored to have such a powerful and trustworthy friend as you!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-24.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-24.html
new file mode 100644
index 0000000000..5815e6cd04
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-24.html
@@ -0,0 +1,6 @@
+Varka's Messenger Naran Ashanuk:
+You're braver than anyone I've ever seen! All the Varka will do their best to help you. You must visit our village and allow us to demonstrate our gratitude!
+But don't feel like you need to stay if you're unhappy...
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-25.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-25.html
new file mode 100644
index 0000000000..d97bf7d47e
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-25.html
@@ -0,0 +1,4 @@
+Varka's Messenger Naran Ashanuk:
+Friend of Varka. I, Varka's Messenger Naran Ashanuk, must warn you, friend of Varka! Once you end our alliance, we will become as strangers... as if we never met! Earning our friendship again will mean starting over at the beginning. Are you sure you want to quit?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-26.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-26.html
new file mode 100644
index 0000000000..45d884cb80
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/31378-26.html
@@ -0,0 +1,3 @@
+Varka's Messenger Naran Ashanuk:
+Oh well, I suppose I was wrong about you! Good-bye, stranger!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/Q00611_AllianceWithVarkaSilenos.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/Q00611_AllianceWithVarkaSilenos.java
new file mode 100644
index 0000000000..29fc347f42
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00611_AllianceWithVarkaSilenos/Q00611_AllianceWithVarkaSilenos.java
@@ -0,0 +1,366 @@
+/*
+ * 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.Q00611_AllianceWithVarkaSilenos;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.l2jmobius.gameserver.enums.QuestSound;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.Player;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Alliance with Varka Silenos (611)
+ * @author malyelfik
+ */
+public class Q00611_AllianceWithVarkaSilenos extends Quest
+{
+ private static class DropInfo
+ {
+ private final int _chance;
+ private final int _minCond;
+ private final int _itemId;
+
+ public DropInfo(int chance, int minCond)
+ {
+ _chance = chance;
+ _minCond = minCond;
+ switch (_minCond)
+ {
+ case 1:
+ {
+ _itemId = KETRA_BADGE_SOLDIER;
+ break;
+ }
+ case 2:
+ {
+ _itemId = KETRA_BADGE_OFFICER;
+ break;
+ }
+ default:
+ {
+ _itemId = KETRA_BADGE_CAPTAIN;
+ break;
+ }
+ }
+ }
+
+ public int getMinCond()
+ {
+ return _minCond;
+ }
+
+ public int getChance()
+ {
+ return _chance;
+ }
+
+ public int getItemId()
+ {
+ return _itemId;
+ }
+ }
+
+ // NPC
+ private static final int NARAN_ASHANUK = 31378;
+ // Monsters
+ private static final Map MOBS = new HashMap<>();
+ static
+ {
+ MOBS.put(21324, new DropInfo(500, 1)); // Ketra Orc Footman
+ MOBS.put(21325, new DropInfo(500, 1)); // Ketra's War Hound
+ MOBS.put(21327, new DropInfo(509, 1)); // Ketra Orc Raider
+ MOBS.put(21328, new DropInfo(521, 1)); // Ketra Orc Scout
+ MOBS.put(21329, new DropInfo(519, 1)); // Ketra Orc Shaman
+ MOBS.put(21331, new DropInfo(500, 2)); // Ketra Orc Warrior
+ MOBS.put(21332, new DropInfo(500, 2)); // Ketra Orc Lieutenant
+ MOBS.put(21334, new DropInfo(509, 2)); // Ketra Orc Medium
+ MOBS.put(21335, new DropInfo(518, 2)); // Ketra Orc Elite Soldier
+ MOBS.put(21336, new DropInfo(518, 2)); // Ketra Orc White Captain
+ MOBS.put(21338, new DropInfo(527, 2)); // Ketra Orc Seer
+ MOBS.put(21339, new DropInfo(500, 3)); // Ketra Orc General
+ MOBS.put(21340, new DropInfo(500, 3)); // Ketra Orc Battalion Commander
+ MOBS.put(21342, new DropInfo(508, 3)); // Ketra Orc Grand Seer
+ MOBS.put(21343, new DropInfo(628, 2)); // Ketra Commander
+ MOBS.put(21344, new DropInfo(604, 2)); // Ketra Elite Guard
+ MOBS.put(21345, new DropInfo(627, 3)); // Ketra's Head Shaman
+ MOBS.put(21346, new DropInfo(604, 3)); // Ketra's Head Guard
+ MOBS.put(21347, new DropInfo(649, 3)); // Ketra Prophet
+ MOBS.put(21348, new DropInfo(626, 3)); // Prophet's Guard
+ MOBS.put(21349, new DropInfo(626, 3)); // Prophet's Aide
+ }
+ // Items
+ private static final int KETRA_BADGE_SOLDIER = 7226;
+ private static final int KETRA_BADGE_OFFICER = 7227;
+ private static final int KETRA_BADGE_CAPTAIN = 7228;
+ private static final int VALOR_FEATHER = 7229;
+ private static final int WISDOM_FEATHER = 7230;
+ private static final int[] KETRA_MARKS =
+ {
+ 7211, // Mark of Ketra's Alliance - Level 1
+ 7212, // Mark of Ketra's Alliance - Level 2
+ 7213, // Mark of Ketra's Alliance - Level 3
+ 7214, // Mark of Ketra's Alliance - Level 4
+ 7215, // Mark of Ketra's Alliance - Level 5
+ };
+ private static final int[] VARKA_MARKS =
+ {
+ 7221, // Mark of Varka's Alliance - Level 1
+ 7222, // Mark of Varka's Alliance - Level 2
+ 7223, // Mark of Varka's Alliance - Level 3
+ 7224, // Mark of Varka's Alliance - Level 4
+ 7225, // Mark of Varka's Alliance - Level 5
+ };
+ // Misc
+ private static final int MIN_LEVEL = 74;
+ private static final int[] SOLDIER_BADGE_COUNT =
+ {
+ 100, // cond 1
+ 200, // cond 2
+ 300, // cond 3
+ 300, // cond 4
+ 400, // cond 5
+ };
+ private static final int[] OFFICER_BADGE_COUNT =
+ {
+ 0, // cond 1
+ 100, // cond 2
+ 200, // cond 3
+ 300, // cond 4
+ 400, // cond 5
+ };
+ private static final int[] CAPTAIN_BADGE_COUNT =
+ {
+ 0, // cond 1
+ 0, // cond 2
+ 100, // cond 3
+ 200, // cond 4
+ 200, // cond 5
+ };
+
+ public Q00611_AllianceWithVarkaSilenos()
+ {
+ super(611);
+ addStartNpc(NARAN_ASHANUK);
+ addTalkId(NARAN_ASHANUK);
+ addKillId(MOBS.keySet());
+ registerQuestItems(KETRA_BADGE_CAPTAIN, KETRA_BADGE_OFFICER, KETRA_BADGE_SOLDIER);
+ }
+
+ private boolean canGetItem(QuestState qs, int itemId)
+ {
+ int count = 0;
+ switch (itemId)
+ {
+ case KETRA_BADGE_SOLDIER:
+ {
+ count = SOLDIER_BADGE_COUNT[qs.getCond() - 1];
+ break;
+ }
+ case KETRA_BADGE_OFFICER:
+ {
+ count = OFFICER_BADGE_COUNT[qs.getCond() - 1];
+ break;
+ }
+ case KETRA_BADGE_CAPTAIN:
+ {
+ count = CAPTAIN_BADGE_COUNT[qs.getCond() - 1];
+ break;
+ }
+ }
+ return getQuestItemsCount(qs.getPlayer(), itemId) < count;
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = event;
+ switch (event)
+ {
+ case "31378-12a.html":
+ case "31378-12b.html":
+ case "31378-25.html":
+ {
+ break;
+ }
+ case "31378-04.htm":
+ {
+ if (hasAtLeastOneQuestItem(player, KETRA_MARKS))
+ {
+ return "31378-03.htm";
+ }
+ qs.setState(State.STARTED);
+ playSound(player, QuestSound.ITEMSOUND_QUEST_ACCEPT);
+ for (int i = 0; i < VARKA_MARKS.length; i++)
+ {
+ if (hasQuestItems(player, VARKA_MARKS[i]))
+ {
+ qs.setCond(i + 2);
+ return "31378-0" + (i + 5) + ".htm";
+ }
+ }
+ qs.setCond(1);
+ break;
+ }
+ case "31378-12.html":
+ {
+ if (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[0])
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, KETRA_BADGE_SOLDIER, -1);
+ giveItems(player, VARKA_MARKS[0], 1);
+ qs.setCond(2, true);
+ break;
+ }
+ case "31378-15.html":
+ {
+ if ((getQuestItemsCount(player, KETRA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[1]) || (getQuestItemsCount(player, KETRA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[1]))
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, -1, KETRA_BADGE_SOLDIER, KETRA_BADGE_OFFICER, VARKA_MARKS[0]);
+ giveItems(player, VARKA_MARKS[1], 1);
+ qs.setCond(3, true);
+ break;
+ }
+ case "31378-18.html":
+ {
+ if ((getQuestItemsCount(player, KETRA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[2]) || (getQuestItemsCount(player, KETRA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[2]) || (getQuestItemsCount(player, KETRA_BADGE_CAPTAIN) < CAPTAIN_BADGE_COUNT[2]))
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, -1, KETRA_BADGE_SOLDIER, KETRA_BADGE_OFFICER, KETRA_BADGE_CAPTAIN, VARKA_MARKS[1]);
+ giveItems(player, VARKA_MARKS[2], 1);
+ qs.setCond(4, true);
+ break;
+ }
+ case "31378-21.html":
+ {
+ if (!hasQuestItems(player, VALOR_FEATHER) || (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[3]) || (getQuestItemsCount(player, KETRA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[3]) || (getQuestItemsCount(player, KETRA_BADGE_CAPTAIN) < CAPTAIN_BADGE_COUNT[3]))
+ {
+ return getNoQuestMsg(player);
+ }
+ takeItems(player, -1, KETRA_BADGE_SOLDIER, KETRA_BADGE_OFFICER, KETRA_BADGE_CAPTAIN, VALOR_FEATHER, VARKA_MARKS[2]);
+ giveItems(player, VARKA_MARKS[3], 1);
+ qs.setCond(5, true);
+ break;
+ }
+ case "31378-26.html":
+ {
+ takeItems(player, -1, VARKA_MARKS);
+ takeItems(player, -1, VALOR_FEATHER, WISDOM_FEATHER);
+ qs.exitQuest(true, true);
+ break;
+ }
+ default:
+ {
+ htmltext = null;
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onKill(Npc npc, Player killer, boolean isSummon)
+ {
+ final Player member = getRandomPartyMemberState(killer, State.STARTED);
+ if (member != null)
+ {
+ final QuestState qs = getQuestState(member, false);
+ final DropInfo info = MOBS.get(npc.getId());
+ if ((qs.getCond() >= info.getMinCond()) && (qs.getCond() < 6) && canGetItem(qs, info.getItemId()) && (getRandom(1000) < info.getChance()))
+ {
+ giveItems(member, info.getItemId(), 1);
+ }
+ }
+ return super.onKill(npc, killer, isSummon);
+ }
+
+ @Override
+ public String onTalk(Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ htmltext = (player.getLevel() >= MIN_LEVEL) ? "31378-01.htm" : "31378-02.htm";
+ break;
+ }
+ case State.STARTED:
+ {
+ switch (qs.getCond())
+ {
+ case 1:
+ {
+ htmltext = (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[0]) ? "31378-11.html" : "31378-10.html";
+ break;
+ }
+ case 2:
+ {
+ htmltext = (hasQuestItems(player, VARKA_MARKS[0]) && (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[1]) && (getQuestItemsCount(player, KETRA_BADGE_OFFICER) >= OFFICER_BADGE_COUNT[1])) ? "31378-14.html" : "31378-13.html";
+ break;
+ }
+ case 3:
+ {
+ htmltext = (hasQuestItems(player, VARKA_MARKS[1]) && (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[2]) && (getQuestItemsCount(player, KETRA_BADGE_OFFICER) >= OFFICER_BADGE_COUNT[2]) && (getQuestItemsCount(player, KETRA_BADGE_CAPTAIN) >= CAPTAIN_BADGE_COUNT[2])) ? "31378-17.html" : "31378-16.html";
+ break;
+ }
+ case 4:
+ {
+ htmltext = (hasQuestItems(player, VARKA_MARKS[2], VALOR_FEATHER) && (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) >= SOLDIER_BADGE_COUNT[3]) && (getQuestItemsCount(player, KETRA_BADGE_OFFICER) >= OFFICER_BADGE_COUNT[3]) && (getQuestItemsCount(player, KETRA_BADGE_CAPTAIN) >= CAPTAIN_BADGE_COUNT[3])) ? "31378-20.html" : "31378-19.html";
+ break;
+ }
+ case 5:
+ {
+ if (!hasQuestItems(player, VARKA_MARKS[3]) || !hasQuestItems(player, WISDOM_FEATHER) || (getQuestItemsCount(player, KETRA_BADGE_SOLDIER) < SOLDIER_BADGE_COUNT[4]) || (getQuestItemsCount(player, KETRA_BADGE_OFFICER) < OFFICER_BADGE_COUNT[4]) || (getQuestItemsCount(player, KETRA_BADGE_CAPTAIN) < CAPTAIN_BADGE_COUNT[4]))
+ {
+ return "31378-22.html";
+ }
+ qs.setCond(6, true);
+ takeItems(player, -1, KETRA_BADGE_SOLDIER, KETRA_BADGE_OFFICER, KETRA_BADGE_CAPTAIN, WISDOM_FEATHER, VARKA_MARKS[3]);
+ giveItems(player, VARKA_MARKS[4], 1);
+ htmltext = "31378-23.html";
+ break;
+ }
+ case 6:
+ {
+ if (hasQuestItems(player, VARKA_MARKS[4]))
+ {
+ htmltext = "31378-24.html";
+ }
+ break;
+ }
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-01.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-01.htm
new file mode 100644
index 0000000000..3fb6c96c8f
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-01.htm
@@ -0,0 +1,4 @@
+Chief Ashas Varka Durai:
+Our ancient battle against the Ketra Orcs continues to this very day. We must defeat them once and for all and reclaim our promised land! Who will join our fight?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-02.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-02.htm
new file mode 100644
index 0000000000..a9cee56cd2
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-02.htm
@@ -0,0 +1,4 @@
+Chief Ashas Varka Durai:
+Your courage is admirable, but you're not quite ready for the fight. Improve your skills and come back.
+(This quest may only be undertaken by characters of level 74 or above.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-03.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-03.htm
new file mode 100644
index 0000000000..a9787a3c48
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-03.htm
@@ -0,0 +1,3 @@
+Chief Ashas Varka Durai:
+Excellent! Raid the advance base of Ketra Orcs and kill as many as you can! Bring back their molars as proof of victory. Bring back 100 of them and I'll give you a prize of valor!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-04.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-04.html
new file mode 100644
index 0000000000..a3b4fd6b1f
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-04.html
@@ -0,0 +1,6 @@
+Chief Ashas Varka Durai
+My colleague, have you slaughtered many enemies, those barbarian Orcs of Ketra? Did you place the shadow of humiliation and disgrace upon them?
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-05.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-05.html
new file mode 100644
index 0000000000..ea552e4ae8
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-05.html
@@ -0,0 +1,3 @@
+Chief Ashas Varka Durai:
+Drive the Ketra Orcs from the promised land of the Varka! Don't let a single invader escape! Kill them all!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-06.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-06.html
new file mode 100644
index 0000000000..2ae6e20481
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-06.html
@@ -0,0 +1,3 @@
+Chief Ashas Varka Durai:
+The fight continues! Onward to victory!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-07.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-07.html
new file mode 100644
index 0000000000..675513225a
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-07.html
@@ -0,0 +1,6 @@
+Chief Ashas Varka Durai:
+Excellent job, my friend! Today's was a stellar victory! You're our hero! You shall be well rewarded! At one time, this Buffalo horn was given only to soldiers of our tribe. It's quite valuable! You could trade it for something you really need!
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-08.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-08.html
new file mode 100644
index 0000000000..ab0307a172
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-08.html
@@ -0,0 +1,3 @@
+Chief Ashas Varka Durai:
+Didn't I ask for at least 100 molars of Ketra Orcs! Return to the battlefield now!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-09.html b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-09.html
new file mode 100644
index 0000000000..f4298e7c93
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/31377-09.html
@@ -0,0 +1,3 @@
+Chief Ashas Varka Durai:
+Even an invincible warrior must rest occasionally! You've done a noble service! Come back when you're rested!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/Q00612_BattleAgainstKetraOrcs.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/Q00612_BattleAgainstKetraOrcs.java
new file mode 100644
index 0000000000..ce40b65c65
--- /dev/null
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/Q00612_BattleAgainstKetraOrcs/Q00612_BattleAgainstKetraOrcs.java
@@ -0,0 +1,150 @@
+/*
+ * 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.Q00612_BattleAgainstKetraOrcs;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.l2jmobius.gameserver.enums.QuestSound;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.Player;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Battle against Ketra Orcs (612)
+ * @author malyelfik
+ */
+public class Q00612_BattleAgainstKetraOrcs extends Quest
+{
+ // NPC
+ private static final int ASHAS = 31377;
+ // Monsters
+ private static final Map MOBS = new HashMap<>();
+ static
+ {
+ MOBS.put(21324, 500); // Ketra Orc Footman
+ MOBS.put(21327, 510); // Ketra Orc Raider
+ MOBS.put(21328, 522); // Ketra Orc Scout
+ MOBS.put(21329, 519); // Ketra Orc Shaman
+ MOBS.put(21331, 529); // Ketra Orc Warrior
+ MOBS.put(21332, 529); // Ketra Orc Lieutenant
+ MOBS.put(21334, 539); // Ketra Orc Medium
+ MOBS.put(21336, 548); // Ketra Orc White Captain
+ MOBS.put(21338, 558); // Ketra Orc Seer
+ MOBS.put(21339, 568); // Ketra Orc General
+ MOBS.put(21340, 568); // Ketra Orc Battalion Commander
+ MOBS.put(21342, 578); // Ketra Orc Grand Seer
+ MOBS.put(21343, 664); // Ketra Commander
+ MOBS.put(21345, 713); // Ketra's Head Shaman
+ MOBS.put(21347, 738); // Ketra Prophet
+ }
+ // Items
+ private static final int SEED = 7187;
+ private static final int MOLAR = 7234;
+ // Misc
+ private static final int MIN_LEVEL = 74;
+ private static final int MOLAR_COUNT = 100;
+
+ public Q00612_BattleAgainstKetraOrcs()
+ {
+ super(612);
+ addStartNpc(ASHAS);
+ addTalkId(ASHAS);
+ addKillId(MOBS.keySet());
+ registerQuestItems(MOLAR);
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, false);
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = event;
+ switch (event)
+ {
+ case "31377-03.htm":
+ {
+ qs.startQuest();
+ break;
+ }
+ case "31377-06.html":
+ {
+ break;
+ }
+ case "31377-07.html":
+ {
+ if (getQuestItemsCount(player, MOLAR) < MOLAR_COUNT)
+ {
+ return "31377-08.html";
+ }
+ takeItems(player, MOLAR, MOLAR_COUNT);
+ giveItems(player, SEED, 20);
+ break;
+ }
+ case "31377-09.html":
+ {
+ qs.exitQuest(true, true);
+ break;
+ }
+ default:
+ {
+ htmltext = null;
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onKill(Npc npc, Player killer, boolean isSummon)
+ {
+ final Player member = getRandomPartyMember(killer, 1);
+ if ((member != null) && (getRandom(1000) < MOBS.get(npc.getId())))
+ {
+ giveItems(member, MOLAR, 1);
+ playSound(member, QuestSound.ITEMSOUND_QUEST_ITEMGET);
+ }
+ return super.onKill(npc, killer, isSummon);
+ }
+
+ @Override
+ public String onTalk(Npc npc, Player player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ htmltext = (player.getLevel() >= MIN_LEVEL) ? "31377-01.htm" : "31377-02.htm";
+ break;
+ }
+ case State.STARTED:
+ {
+ htmltext = (hasQuestItems(player, MOLAR)) ? "31377-04.html" : "31377-05.html";
+ break;
+ }
+ }
+ return htmltext;
+ }
+}
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java
index d5644217e6..f6029cdcb1 100644
--- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -163,6 +163,10 @@ import quests.Q00418_PathOfTheArtisan.Q00418_PathOfTheArtisan;
import quests.Q00420_LittleWing.Q00420_LittleWing;
import quests.Q00421_LittleWingsBigAdventure.Q00421_LittleWingsBigAdventure;
import quests.Q00500_BrothersBoundInChains.Q00500_BrothersBoundInChains;
+import quests.Q00605_AllianceWithKetraOrcs.Q00605_AllianceWithKetraOrcs;
+import quests.Q00606_BattleAgainstVarkaSilenos.Q00606_BattleAgainstVarkaSilenos;
+import quests.Q00611_AllianceWithVarkaSilenos.Q00611_AllianceWithVarkaSilenos;
+import quests.Q00612_BattleAgainstKetraOrcs.Q00612_BattleAgainstKetraOrcs;
import quests.Q00620_FourGoblets.Q00620_FourGoblets;
import quests.Q00641_AttackSailren.Q00641_AttackSailren;
import quests.Q00642_APowerfulPrimevalCreature.Q00642_APowerfulPrimevalCreature;
@@ -374,6 +378,10 @@ public class QuestMasterHandler
Q00420_LittleWing.class, // FIXME: Underground
Q00421_LittleWingsBigAdventure.class, // FIXME: Underground
Q00500_BrothersBoundInChains.class,
+ Q00605_AllianceWithKetraOrcs.class,
+ Q00606_BattleAgainstVarkaSilenos.class,
+ Q00611_AllianceWithVarkaSilenos.class,
+ Q00612_BattleAgainstKetraOrcs.class,
Q00620_FourGoblets.class, // FIXME: Grand Crusade
Q00630_PirateTreasureHunt.class, // TODO: Not done.
Q00641_AttackSailren.class, // FIXME: Grand Crusade