Addition of Legend's Mark event.

Contributed by manax182.
This commit is contained in:
MobiusDevelopment
2021-07-11 23:34:00 +00:00
parent 625dc69fb0
commit 43024cc6bf
11 changed files with 783 additions and 38 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>34588</npc> <!-- Dreamer of the Legend Tittle -->
</npcs>
<item>
<ingredient id="81904" count="1" /> <!-- Prophecy Fragment -->
<ingredient id="57" count="5000000" /> <!-- Adena -->
<production id="81905" count="1" /> <!-- Legend's Mark -->
<production id="80804" count="3" chance="70" /> <!-- Retired Legend's Scroll -->
<production id="81906" count="1" chance="28" /> <!-- Prophecy Chest -->
<production id="81905" count="1" chance="2" /> <!-- Legend's Mark -->
</item>
</list>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<list maintainEnchantment="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>34588</npc> <!-- Dreamer of the Legend Tittle -->
</npcs>
<item>
<ingredient count="1" id="81905" /> <!-- Legend's Mark -->
<ingredient count="5000000" id="57" /> <!-- Adena -->
<production count="4" id="80804" /> <!-- Retired Legend's Scroll-->
</item>
</list>

View File

@@ -0,0 +1,286 @@
<html><body>Dreamer of the Legend Tittle:
<br></br1>
Complete certain clan missions or collect <font>Prophecy Fragment </font>in some hunting zones.<br>
Bring them to me, and I will be able to tell who is mentioned there.<br>
If you get <font>Legend's Marks</font> while deciphering the Prophecy Fragments, you can add them to a collection.<br>
After completing the collection, you will get a buff: <font color="FF6868">P.Atk./M.Atk./P.Def./M.Def. +5%</font><br>
The effect will be Active till the end of the event.<br>
So, hurry and join in!<br>
<font color="LEVEL">[1. Hunting zones where Prophecy Fragments can be acquired]</font><br>
<font color="LEVEL">- If you are of Lv. 99 and higher, you can acquire up to 3 Prophecy Fragments a day in the following hunting zones.</font><br>
<font color="LEVEL">(The count is reset daily at 6:30 a.m. (server time).)</font><br>
<table border="1" align="left" width="280">
<tr>
<td>
<center><font color="FF6868">Hunting Zones</font></center>
</td>
<td>
<center><font color="FF6868">Recommended level and conditions</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Ivory Tower Crater</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 105-106)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Silent Valley</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 105-106)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Alligator Island</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 107-108)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Tanor Canyon</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 107-108)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Forest of Mirrors</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 109-110)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Field of Silence</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 109-110)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Isle of Prayer</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 111-112)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Fields of Whispers</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 111-112)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Breka's Stronghold</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 113-114)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Plains of the Lizardmen</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 113-114)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Sel Mahum Training Grounds</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 113-114)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Fields of Massacre</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 115-116)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Wall of Argos</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 115-116)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Cemetery</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 117-118)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Wasteland</font></center>
</td>
<td>
<center><font color="LEVEL">Solo (Lv. 117-118)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Neutral Zone</font></center>
</td>
<td>
<center><font color="LEVEL">Party (Lv. 107-108)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Varka Silenos Barracks</font></center>
</td>
<td>
<center><font color="LEVEL">Party (Lv. 111-112)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Ketra Orc Outpost</font></center>
</td>
<td>
<center><font color="LEVEL">Party (Lv. 111-112)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Sea of Spores</font></center>
</td>
<td>
<center><font color="LEVEL">Party (Lv. 115-116)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Dragon Valley</font></center>
</td>
<td>
<center><font color="LEVEL">Party (Lv. 119-120)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Fafurion Temple</font></center>
</td>
<td>
<center><font color="LEVEL">Party (Lv. 119-120)</font></center>
</td>
</tr>
</table><br><br><br><br>
<font color="LEVEL">[2. Clan missions where Prophecy Fragments can be acquired]</font><br>
<font color="LEVEL">- You can acquire up to 20 pcs. for the following missions</font><br>
<font color="LEVEL">(The count is reset after weekly maintenance)</font><br>
<table border="1" align="left" width="280">
<tr>
<td>
<center><font color="FF6868">Clan mission</font></center>
</td>
<td>
<center><font color="FF6868">Additional event reward</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Field Raid</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Fishing</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Attempt Augmenting</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Olympiad Participation</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Ceremony of Chas Participation</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Hunt on the Storm Isle</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Hunt on the Primeval Isle</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Hunt on the Isle of Souls</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Hunt in the Abandoned Coal Mines</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
<tr>
<td>
<center><font color="LEVEL">Hunt in the Otherworldly Atelia Refinert</font></center>
</td>
<td>
<center><font color="LEVEL">Prophecy Fragment (1 pc.)</font></center>
</td>
</tr>
</table><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LegendsMark prophecy_fragment"><font color="LEVEL">Ask to decipher a Prophecy Fragment</font></Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest LegendsMark 34588.html"><font color="LEVEL">Back</font></Button>
</body>
</html>

View File

@@ -0,0 +1,6 @@
<html><body>Dreamer of the Legend Tittle:<br></br1>
After you complete the <font>Legend's Mark</font> Collection, you will get a buff: <font color="FF6868">P.Atk./M.Atk./P.Def./M.Def. +5%</font>.<br>
Are you sure that you don't ned Legend's Marks?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LegendsMark legend_mark">Exchange Legend's Marks</Button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest LegendsMark 34588.html">Back</Button>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Dreamer of the Legend Tittle:<br></br1>
Why are you looking at me like that?.<br>
Do you think the things will go your way if you keep standing and staring?<br>
Gods don't like sloppy and lazy ones.<br>
One has improve and accomplish feats all the time in order to become a legend.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LegendsMark 34588-1.html">Detailed event description</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LegendsMark prophecy_fragment">Ask to decipher a Prophecy Fragment</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LegendsMark 34588-2.html">Exchange Legend's Mark</Button>
</body></html>

View File

@@ -0,0 +1,306 @@
/*
* 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 <http://www.gnu.org/licenses/>.
*/
package events.LegendsMark;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.util.Calendar;
import java.util.logging.Level;
import org.l2jmobius.commons.database.DatabaseFactory;
import org.l2jmobius.commons.util.Chronos;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.data.xml.MultisellData;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.quest.LongTimeEvent;
/**
* Legend's Mark event AI.
* @author Manax
*/
public class LegendsMark extends LongTimeEvent
{
// NPC
private static final int DREAMER = 34588;
// Monsters
private static final int[] MONSTERS =
{
// Ivory Tower Crater
24421, // Stone Gargoyle
24422, // Stone Golem
24423, // Monster Eye
24424, // Gargoyle Hunter
24425, // Steel Golem
24426, // Stone Cube
// Silent Valley
24506, // Silence Witch
24508, // Silence Warrior
24510, // Silence Hannibal
24509, // Silence Slave
24507, // Silence Preacle
// Alligator Island
24377, // Swamp Tribe
24378, // Swamp Alligator
24379, // Swamp Warrior
24373, // Dailaon Lad
24376, // Nos Lad
// Tanor Canyon
20941, // Tanor Silenos Chieftai
20939, // Tanor Silenos Warrior
20937, // Tanor Silenos Soldier
20942, // Nightmare Guide
20938, // Tanor Silenos Scout
20943, // Nightmare Watchman
24587, // Tanor Silenos
// The Forest of Mirrors
24466, // Demonic Mirror
24465, // Forest Evil Spirit
24461, // Forest Ghost
24464, // Bewildered Dwarf Adven
24463, // Bewildered Patrol
24462, // Bewildered Expedition
// Field of Silence
24523, // Krotany
24520, // Krotania
24521, // Krophy
24522, // Spiz Krophy
// Isle of Prayer
24451, // Lizardman Defender
24449, // Lizardman Warrior
24448, // Lizardman Archer
24450, // Lizardmen Wizard
24447, // Niasis
24445, // Lizardman Rogue
24446, // Island Guard
// Field of Whispers
24304, // Groz Kropiora
24305, // Groz Krotania
24306, // Groz Krophy
24307, // Groz Krotany
24308, // Water Drake
// Brekas Stronghold
24420, // Breka Orc Prefect
24416, // Breka Orc Scout Captai
24419, // Breka Orc Slaughterer
24415, // Breka Orc Scout
24417, // Breka Orc Archer
24418, // Breka Orc Shaman
// Plains of the Lizardmen
24496, // Tanta Lizardman Warrio
24498, // Tanta Lizardman Wizard
24499, // Priest Ugoros
24497, // Tanta Lizardman Archer
// Sel Mahum Training Grounds
24492, // Sel Mahum Soldier
24494, // Sel Mahum Warrior
24493, // Sel Mahum Squad Leader
24495, // Keltron
// Fields of Massacre
24486, // Dismal Pole
24487, // Graveyard Predator
24489, // Doom Scout
24491, // Doom Knight
24490, // Doom Soldier
24488, // Doom Archer
// Wall of Argos
24606, // Captive Antelope
24607, // Captive Bandersnatch
24608, // Captive Buffalo
24609, // Captive Grendel
24610, // Eye of Watchman
24611, // Elder Homunculus
// Cemetery
19455, // Aden Raider
19456, // Te Ochdumann
19457, // Travis
20668, // Grave Guard
23290, // Royal Knight
23291, // Personal Magician
23292, // Royal Guard
23293, // Royal Guard Captain
23294, // Chief Magician
23295, // Operations Manager
23296, // Chief Quartermaster
23297, // Escort
23298, // Royal Quartermaster
23299, // Operations Chief of th
23300, // Commander of Operation
// Wasteland
24501, // Centaur Fighter
24504, // Centaur Warlord
24505, // Earth Elemental Lord
24503, // Centaur Wizard
24500, // Sand Golem
24502, // Centaur Marksman
// Neutral Zone
24641, // Tel Mahum Wizard
24642, // Tel Mahum Legionary
24643, // Tel Mahum Footman
24644, // Tel Mahum Lieutenant
// Varka Silenos Barracks
24636, // Varka Silenos Magus
24637, // Varka Silenos Shaman
24638, // Varka Silenos Footman
24639, // Varka Silenos Sergeant
24640, // Varka Silenos Officer
// Ketra Orc Outpost
24631, // Ketra Orc Shaman
24632, // Ketra Orc Prophet
24633, // Ketra Orc Warrior
24634, // Ketra Orc Lieutenant
24635, // Ketra Orc Battalion Co
// Sea Of Spores
24226, // Aranea
24227, // Keros
24228, // Falena
24229, // Atrofa
24230, // Nuba
24231, // Torfedo
24234, // Lesatanas
24235, // Arbor
24236, // Tergus
24237, // Skeletus
24238, // Atrofine
// Dragon Valley
24480, // Dragon Legionnaire
24482, // Dragon Officer
24481, // Dragon Peltast
24483, // Dragon Centurion
24484, // Dragon Elite Guard
24485, // Behemoth Dragon
// Fafurion Temple
24329, // Starving Water Dragon
24318, // Temple Guard Captain
24325, // Temple Wizard
24324, // Temple Guardian Warrio
24326, // Temple Guardian Wizard
24323, // Temple Guard
24321, // Temple Patrol Guard
24322, // Temple Knight Recruit
};
// Item
private static final int PROPHECY_FRAGMENTS = 81904;
// Multisells
private static final int PROPHECY_FRAGMENT = 34588001;
private static final int LEGEND_MARK = 34588002;
// Misc
private static final String PROPHECY_FRAGMENTS_DROP_COUNT_VAR = "PROPHECY_FRAGMENTS_DROP_COUNT";
private static final int PLAYER_LEVEL = 99;
private static final int DROP_DAILY = 3;
private static final int DROP_MIN = 1;
private static final int DROP_MAX = 1;
private static final double CHANCE = 1.5;
private LegendsMark()
{
addStartNpc(DREAMER);
addFirstTalkId(DREAMER);
addTalkId(DREAMER);
addKillId(MONSTERS);
startQuestTimer("schedule", 1000, null, null);
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
switch (event)
{
case "34588.html":
case "34588-1.html":
case "34588-2.html":
{
htmltext = event;
break;
}
case "prophecy_fragment":
{
MultisellData.getInstance().separateAndSend(PROPHECY_FRAGMENT, player, npc, false);
break;
}
case "legend_mark":
{
MultisellData.getInstance().separateAndSend(LEGEND_MARK, player, npc, false);
break;
}
case "schedule":
{
final Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.HOUR_OF_DAY, 6);
calendar.set(Calendar.MINUTE, 30);
cancelQuestTimers("reset");
startQuestTimer("reset", calendar.getTimeInMillis() - Chronos.currentTimeMillis(), null, null);
break;
}
case "reset":
{
// Update data for offline players.
try (Connection con = DatabaseFactory.getConnection();
PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE var=?"))
{
ps.setString(1, PROPHECY_FRAGMENTS_DROP_COUNT_VAR);
ps.executeUpdate();
}
catch (Exception e)
{
LOGGER.log(Level.SEVERE, "Could not reset Aether drop count: ", e);
}
// Update data for online players.
World.getInstance().getPlayers().stream().forEach(plr ->
{
plr.getVariables().remove(PROPHECY_FRAGMENTS_DROP_COUNT_VAR);
plr.getVariables().storeMe();
});
cancelQuestTimers("schedule");
startQuestTimer("schedule", 1000, null, null);
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(Npc npc, PlayerInstance player)
{
return npc.getId() + ".html";
}
@Override
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
{
if (isEventPeriod() && (killer.getLevel() >= PLAYER_LEVEL) && (Rnd.get(100) < CHANCE))
{
final int count = killer.getVariables().getInt(PROPHECY_FRAGMENTS_DROP_COUNT_VAR, 0);
if (count < DROP_DAILY)
{
killer.getVariables().set(PROPHECY_FRAGMENTS_DROP_COUNT_VAR, count + 1);
giveItems(killer, PROPHECY_FRAGMENTS, getRandom(DROP_MIN, DROP_MAX));
}
}
return super.onKill(npc, killer, isSummon);
}
public static void main(String[] args)
{
new LegendsMark();
}
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Legend's Mark" active="01 07 2021-01 08 2021" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<spawnlist>
<add npc="34588" x="-14144" y="123128" z="-3096" heading="30212" /> <!-- Gludio -->
<add npc="34588" x="16304" y="142852" z="-2680" heading="14450" /> <!-- Dion -->
<add npc="34588" x="80821" y="148038" z="-3448" heading="3355" /> <!-- Giran -->
<add npc="34588" x="82014" y="53924" z="-1472" heading="3355" /> <!-- Oren -->
<add npc="34588" x="147402" y="27868" z="-2250" heading="17863" /> <!-- Aden -->
<add npc="34588" x="112172" y="220396" z="-3648" heading="30708" /> <!-- Heine -->
<add npc="34588" x="148162" y="-57388" z="-2752" heading="17863" /> <!-- Goddard -->
<add npc="34588" x="44479" y="-48365" z="-776" heading="14450" /> <!-- Rune -->
<add npc="34588" x="86943" y="-141322" z="-1320" heading="49153" /> <!-- Schuttgart -->
<add npc="34588" x="-114778" y="256366" z="-1472" heading="49744" /> <!-- Talking Island -->
<add npc="34588" x="-78793" y="249145" z="-3272" heading="56380" /> <!-- Faeron Village -->
<add npc="34588" x="-80534" y="149539" z="-3016" heading="16383" /> <!-- Gludin -->
<add npc="34588" x="117409" y="76647" z="-2672" heading="40961" /> <!-- Hunters Village -->
<add npc="34588" x="208475" y="87702" z="-1006" heading="29025" /> <!-- Arcan -->
</spawnlist>
<messages>
<add type="onEnd" text="Legend's Mark: Event end!" />
<add type="onEnter" text="Legend's Mark: Event ongoing! Visit Dreamer of the Legend Tittle! The event will end at Aug 1st!" />
</messages>
</event>

View File

@@ -44,19 +44,23 @@
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
</item> </item>
<item id="80804" name="Lucky Pig Honey Buff Scroll" type="EtcItem"> <item id="80804" name="Retired Legend's Scroll" additionalName="Event" type="EtcItem">
<!-- When used, Acquired XP/SP +30%, XP/SP Gain while in Vitality Mode +30%, P./ M. Atk. +7000, P./ M. Def. +6000, Max HP +1700, Max MP +775, Max CP +1180, Speed +15 for 30 minutes. --> <!-- For 30 min., acquired XP/ SP +15%, P./ M. Atk., Basic Attack Power and P./ M. Skill Power +10%, P./ M. Def. +20%. -->
<set name="icon" val="icon.etc_charm_of_luck_i00" /> <set name="icon" val="icon.etc_training_scroll_kalie_i00" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
<set name="material" val="LIQUID" /> <set name="material" val="LIQUID" />
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="is_tradable" val="false" /> <set name="is_tradable" val="false" />
<set name="is_dropable" val="false" /> <set name="is_dropable" val="false" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="ItemSkills" />
<skills>
<skill id="39511" level="1"/> <!-- Retired Legend's Scroll -->
</skills>
</item> </item>
<item id="80805" name="Lucky Pig Vitality Tonic" type="EtcItem"> <item id="80805" name="17th Anniversary Cake" additionalName="Event" type="EtcItem">
<!-- A small bit of power prepared by rats to celebrate New Year. Recovers 1 of the 4 Vitality bars. Cannot be used in the Olympiad. --> <!-- Special cake prepared for the 17th anniversary festivities.\nRecovers 1 of the 4 Vitality bars.\nCannot be used in the Olympiad. -->
<set name="icon" val="icon.bm_freya_potion" /> <set name="icon" val="icon.bm_freya_potion" />
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" /> <set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
<set name="material" val="LIQUID" /> <set name="material" val="LIQUID" />

View File

@@ -35,6 +35,92 @@
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
</item> </item>
<item id="81904" name="Prophecy Fragment" additionalName="Event" type="EtcItem">
<!-- Can be exchanged with certain chance to Legend's Mark, Prophecy Chest or Retired Legend's Scroll (3 pcs.). You can do it through the Dreamer of the Legend Title in any town.-->
<set name="icon" val="icon.etc_piece_of_report_i00" />
<set name="material" val="LIQUID" />
<set name="weight" val="10" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
</item>
<item id="81905" name="Legend's Mark" additionalName="Event" type="EtcItem">
<!-- A proof of completing the collection Aplies the following buff: P.Atk./M.Atk./P.Def./M.Def. +5%. -->
<set name="icon" val="icon.ev_darkelf_soul_ore" />
<set name="material" val="LIQUID" />
<set name="weight" val="10" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
</item>
<item id="81906" name="Prophecy Chest" additionalName="Event" type="EtcItem">
<!-- Double-click to obtain a rare random item -->
<set name="icon" val="icon.bm_nebit_present" />
<set name="default_action" val="PEEL" />
<set name="immediate_effect" val="true" />
<set name="material" val="PAPER" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_oly_restricted" val="true" />
<set name="handler" val="ExtractableItems" />
<capsuled_items>
<item id="81696" min="1" max="1" chance="2" /> <!-- Unique Artifact Book Lv. 3 -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Superior La Vie En Rose's Brooch -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Dragon Rind Leather Shirt -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Radiant Warrior's Circlet -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Radiant Wizard's Circlet -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Radiant Knight's Circlet -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Superior Kaliel Bracelet -->
<item id="81696" min="1" max="1" chance="2" /> <!-- Superior Seed Bracelet -->
<item id="80090" min="1" max="1" chance="2" /> <!-- Krishna Shaper-->
<item id="80091" min="1" max="1" chance="2" /> <!-- Krishna Cutter -->
<item id="80092" min="1" max="1" chance="2" /> <!-- Krishna Slasher -->
<item id="80093" min="1" max="1" chance="2" /> <!-- Krishna Avenger -->
<item id="80094" min="1" max="1" chance="2" /> <!-- Krishna Fighter -->
<item id="80095" min="1" max="1" chance="2" /> <!-- Krishna Stormer -->
<item id="80096" min="1" max="1" chance="2" /> <!-- Krishna Thrower -->
<item id="80097" min="1" max="1" chance="2" /> <!-- Krishna Guardian -->
<item id="80098" min="1" max="1" chance="2" /> <!-- Krishna Buster -->
<item id="80099" min="1" max="1" chance="2" /> <!-- Krishna Caster -->
<item id="80100" min="1" max="1" chance="2" /> <!-- Krishna Retributer -->
<item id="80101" min="1" max="1" chance="2" /> <!-- Krishna Dual Swords-->
<item id="80102" min="1" max="1" chance="2" /> <!-- Krishna Dual Dagger -->
<item id="80103" min="1" max="1" chance="2" /> <!-- Krishna Dual Blunt Weapons -->
<item id="80104" min="1" max="1" chance="2" /> <!-- Leviathan Helmet Heavy Armor -->
<item id="80105" min="1" max="1" chance="2" /> <!-- Leviathan Breastplate Heavy Armor -->
<item id="80106" min="1" max="1" chance="2" /> <!-- Leviathan Gaiters Heavy Armor -->
<item id="80107" min="1" max="1" chance="2" /> <!-- Leviathan Gauntlets Heavy Armor -->
<item id="80108" min="1" max="1" chance="2" /> <!-- Leviathan Boots Heavy Armor -->
<item id="80110" min="1" max="1" chance="2" /> <!-- Leviathan Leather Helmet Light Armor -->
<item id="80111" min="1" max="1" chance="2" /> <!-- Leviathan Leather Armor Light Armor -->
<item id="80112" min="1" max="1" chance="2" /> <!-- Leviathan Leather Leggings Light Armor -->
<item id="80113" min="1" max="1" chance="2" /> <!-- Leviathan Leather Gloves Light Armor -->
<item id="80114" min="1" max="1" chance="2" /> <!-- Leviathan Leather Boots Light Armor -->
<item id="80115" min="1" max="1" chance="2" /> <!-- Leviathan Circlet Robe -->
<item id="80116" min="1" max="1" chance="2" /> <!-- Leviathan Tunic Robe -->
<item id="80117" min="1" max="1" chance="2" /> <!-- Leviathan Stockings Robe -->
<item id="80118" min="1" max="1" chance="2" /> <!-- Leviathan Gloves Robe -->
<item id="80119" min="1" max="1" chance="2" /> <!-- Leviathan Shoes Robe -->
<item id="80120" min="1" max="1" chance="2" /> <!-- Leviathan Sigil -->
<item id="80109" min="1" max="1" chance="2" /> <!-- Leviathan Shield -->
<item id="19448" min="1" max="1" chance="2" /> <!-- Blessed Scroll: Enchant R-grade Armor -->
<item id="19447" min="1" max="1" chance="2" /> <!-- Blessed Scroll: Enchant R-grade Weapon -->
<item id="36389" min="1" max="1" chance="2" /> <!-- Giant's Scroll: Enchant R-grade Armor -->
<item id="36386" min="1" max="1" chance="2" /> <!-- Giant's Scroll: Enchant R-grade Weapon -->
<item id="23416" min="1" max="1" chance="2" /> <!-- Scroll: Enchant R-grade Armor -->
<item id="23410" min="1" max="1" chance="2" /> <!-- Scroll: Enchant R-grade Weapon -->
<item id="48831" min="1" max="1" chance="10" /> <!-- Jewel Energy -->
<item id="80804" min="1" max="1" chance="2" /> <!-- Retired Legend's Scroll -->
</capsuled_items>
</item>
<item id="81906" name="Heine Shining Luxury Bax" type="EtcItem">
<!-- A luxury box made by Shadai in Heine. Double-click to obtain 1 rare item (excluding Blessed Scroll; Enchant Brooch) -->
<set name="icon" val="br_cashtex.item.br_cash_lucky_cube_i00" />
<set name="material" val="LIQUID" />
<set name="weight" val="10" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
</item>
<item id="81908" name="Gran Kain's Scroll: Enchant La Vie En Rose's Brooch" type="EtcItem"> <item id="81908" name="Gran Kain's Scroll: Enchant La Vie En Rose's Brooch" type="EtcItem">
<!-- For Dragon Rind Leather Shirt enchanted to +7 or higher. Through Gran Kain's power, in case of failure, the item is not crystallized, and its enchant value remains the same. --> <!-- For Dragon Rind Leather Shirt enchanted to +7 or higher. Through Gran Kain's power, in case of failure, the item is not crystallized, and its enchant value remains the same. -->
<set name="icon" val="iicon.bm_shilen_scrl_of_brooch_6slot_lavianrose" /> <set name="icon" val="iicon.bm_shilen_scrl_of_brooch_6slot_lavianrose" />

View File

@@ -1689,4 +1689,23 @@
<height normal="23" /> <height normal="23" />
</collision> </collision>
</npc> </npc>
<npc id="34588" level="85" type="Npc" name="Dreamer of the Legend Tittle" title="Lineage 2">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<race>ETC</race>
<sex>FEMALE</sex>
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
<vitals hp="8446" hpRegen="10.5" mp="2355" mpRegen="3.6" />
<speed>
<walk ground="60" />
<run ground="180" />
</speed>
<attack physical="1950.2231755595" magical="1331.5869440987" critical="4" attackSpeed="253" range="40" />
<defence physical="405.85106382979" magical="297.0297029703" />
</stats>
<status attackable="false" />
<collision>
<radius normal="11" />
<height normal="23" />
</collision>
</npc>
</list> </list>

View File

@@ -71,8 +71,8 @@
<operateType>A1</operateType> <operateType>A1</operateType>
<reuseDelay>5000</reuseDelay> <reuseDelay>5000</reuseDelay>
</skill> </skill>
<skill id="39511" toLevel="1" name="Lucky Pig Honey Buff"> <skill id="39511" toLevel="1" name="Retired Legend's Scroll">
<!-- For $s1, acquired XP/ SP +$s2, XP/SP gain in Vitality state by $s3, P. Atk./ M. Atk. by $s4, P. Def./ M. Def. by $s5, Max HP by $s6, Max MP by $s7, Max CP by $s8, and Speed by $s9. --> <!-- For 30 min., acquired XP/ SP +15%, P./ M. Atk., Basic Attack Power and P./ M. Skill Power +10%, P./ M. Def. +20%. -->
<icon>icon.etc_charm_of_luck_i00</icon> <icon>icon.etc_charm_of_luck_i00</icon>
<operateType>A1</operateType> <operateType>A1</operateType>
<isMagic>4</isMagic> <isMagic>4</isMagic>
@@ -82,50 +82,31 @@
<targetType>SELF</targetType> <targetType>SELF</targetType>
<affectScope>SINGLE</affectScope> <affectScope>SINGLE</affectScope>
<effects> <effects>
<effect name="MaxCp">
<amount>775</amount>
<mode>DIFF</mode>
</effect>
<effect name="MaxHp">
<amount>1700</amount>
<mode>DIFF</mode>
</effect>
<effect name="MaxMp">
<amount>1180</amount>
<mode>DIFF</mode>
</effect>
<effect name="PAtk"> <effect name="PAtk">
<amount>7000</amount> <amount>10</amount>
<mode>DIFF</mode> <mode>PER</mode>
</effect> </effect>
<effect name="MAtk"> <effect name="MAtk">
<amount>7000</amount> <amount>10</amount>
<mode>DIFF</mode> <mode>PER</mode>
</effect> </effect>
<effect name="PhysicalDefence"> <effect name="PhysicalDefence">
<amount>6000</amount> <amount>20</amount>
<mode>DIFF</mode> <mode>PER</mode>
</effect> </effect>
<effect name="MagicalDefence"> <effect name="MagicalDefence">
<amount>6000</amount> <amount>10</amount>
<mode>DIFF</mode> <mode>PER</mode>
</effect> </effect>
<effect name="MAtk"> <effect name="MAtk">
<amount>7000</amount> <amount>10</amount>
<mode>DIFF</mode> <mode>PER</mode>
</effect> </effect>
<effect name="ExpModify"> <effect name="ExpModify">
<amount>30</amount> <amount>15</amount>
</effect> </effect>
<effect name="SpModify"> <effect name="SpModify">
<amount>30</amount>
</effect>
<effect name="VitalityPointsRate">
<amount>-30</amount>
</effect>
<effect name="Speed">
<amount>15</amount> <amount>15</amount>
<mode>DIFF</mode>
</effect> </effect>
</effects> </effects>
</skill> </skill>