From 854d47b7e17045b551c0910cc12b24e2110d2af6 Mon Sep 17 00:00:00 2001
From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Thu, 8 Mar 2018 14:05:24 +0000
Subject: [PATCH] Various event additions. Contributed by quangnguyen.
---
.../dist/game/data/LuckyGameData.xml | 231 ++----------------
.../ChefMonkeyEvent/ChefMonkeyEvent.java | 108 ++++++++
.../scripts/events/ChefMonkeyEvent/config.xml | 24 ++
.../ChefMonkeyEvent/ev_chef_monkey001.htm | 10 +
.../ChefMonkeyEvent/ev_chef_monkey002.htm | 7 +
.../ChefMonkeyEvent/ev_chef_monkey003.htm | 7 +
.../ChefMonkeyEvent/ev_chef_monkey004.htm | 7 +
.../ChefMonkeyEvent/ev_chef_monkey005.htm | 8 +
.../events/EveTheFortuneTeller/31855-1.htm | 9 +
.../events/EveTheFortuneTeller/31855.htm | 12 +
.../EveTheFortuneTeller.java | 82 +++++++
.../events/EveTheFortuneTeller/config.xml | 21 ++
.../scripts/events/ThePowerOfLove/33893-1.htm | 6 +
.../scripts/events/ThePowerOfLove/33893-2.htm | 12 +
.../scripts/events/ThePowerOfLove/33893-3.htm | 14 ++
.../scripts/events/ThePowerOfLove/33893-4.htm | 5 +
.../scripts/events/ThePowerOfLove/33893-5.htm | 5 +
.../scripts/events/ThePowerOfLove/33893-6.htm | 5 +
.../scripts/events/ThePowerOfLove/33893-7.htm | 5 +
.../scripts/events/ThePowerOfLove/33893-9.htm | 4 +
.../events/ThePowerOfLove/ThePowerOfLove.java | 101 ++++++++
.../scripts/events/ThePowerOfLove/config.xml | 24 ++
.../scripts/events/TotalRecall/9013-1.htm | 4 +
.../scripts/events/TotalRecall/9013-2.htm | 12 +
.../scripts/events/TotalRecall/9013-3.htm | 14 ++
.../scripts/events/TotalRecall/9013-4.htm | 5 +
.../scripts/events/TotalRecall/9013-9.htm | 4 +
.../events/TotalRecall/TotalRecall.java | 77 ++++++
.../scripts/events/TotalRecall/config.xml | 21 ++
29 files changed, 635 insertions(+), 209 deletions(-)
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ChefMonkeyEvent.java
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/config.xml
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey001.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey002.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey003.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey004.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey005.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855-1.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/EveTheFortuneTeller.java
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/config.xml
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-1.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-2.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-3.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-4.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-5.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-6.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-7.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-9.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/ThePowerOfLove.java
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/config.xml
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-1.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-2.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-3.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-4.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-9.htm
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/TotalRecall.java
create mode 100644 L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/config.xml
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/LuckyGameData.xml b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/LuckyGameData.xml
index 595b4d47f0..33c809cee7 100644
--- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/LuckyGameData.xml
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/LuckyGameData.xml
@@ -2,223 +2,36 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ChefMonkeyEvent.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ChefMonkeyEvent.java
new file mode 100644
index 0000000000..1edcac65ba
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ChefMonkeyEvent.java
@@ -0,0 +1,108 @@
+/*
+ * 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 events.ChefMonkeyEvent;
+
+import com.l2jmobius.gameserver.data.xml.impl.MultisellData;
+import com.l2jmobius.gameserver.model.actor.L2Npc;
+import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jmobius.gameserver.model.events.EventType;
+import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
+import com.l2jmobius.gameserver.model.events.annotations.Id;
+import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
+import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
+import com.l2jmobius.gameserver.model.events.impl.character.npc.OnNpcMenuSelect;
+import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
+
+/**
+ * Chef Monkey Event
+ * http://www.lineage2.com/en/news/events/chef-monkey-event-2016.php
+ * @author ChaosPaladin
+ */
+public final class ChefMonkeyEvent extends LongTimeEvent
+{
+ // NPCs
+ private static final int EV_CHEF_MONKEY = 34292;
+
+ private ChefMonkeyEvent()
+ {
+ addStartNpc(EV_CHEF_MONKEY);
+ addFirstTalkId(EV_CHEF_MONKEY);
+ addTalkId(EV_CHEF_MONKEY);
+ }
+
+ @Override
+ public String onFirstTalk(L2Npc npc, L2PcInstance player)
+ {
+ return "ev_chef_monkey001.htm";
+ }
+
+ @Override
+ public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+ {
+ String htmltext = null;
+
+ switch (event)
+ {
+ case "ev_chef_monkey001.htm":
+ case "ev_chef_monkey002.htm":
+ case "ev_chef_monkey003.htm":
+ case "ev_chef_monkey004.htm":
+ case "ev_chef_monkey005.htm":
+ {
+ htmltext = event;
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @RegisterEvent(EventType.ON_NPC_MENU_SELECT)
+ @RegisterType(ListenerRegisterType.NPC)
+ @Id(EV_CHEF_MONKEY)
+ public final void OnNpcMenuSelect(OnNpcMenuSelect event)
+ {
+ final L2PcInstance player = event.getTalker();
+ final L2Npc npc = event.getNpc();
+ final int ask = event.getAsk();
+ final int reply = event.getReply();
+
+ if (ask == -303)
+ {
+ if (reply == 2209)
+ {
+ // I want to buy Monkey Bait
+ MultisellData.getInstance().separateAndSend(2209, player, npc, false);
+ }
+ else if (reply == 2212)
+ {
+ // I want to exchange Tuna fish
+ MultisellData.getInstance().separateAndSend(2212, player, npc, false);
+ }
+ else if (reply == 3043)
+ {
+ // buy buff cocktail
+ MultisellData.getInstance().separateAndSend(3043, player, npc, false);
+
+ }
+ }
+ }
+
+ public static void main(String[] args)
+ {
+ new ChefMonkeyEvent();
+ }
+}
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/config.xml b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/config.xml
new file mode 100644
index 0000000000..bee683e51f
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/config.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey001.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey001.htm
new file mode 100644
index 0000000000..971f3036a5
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey001.htm
@@ -0,0 +1,10 @@
+
Event Manager Chef Monkey:
+One morning, I opened my eyes and found myself a genius chef! I am Chef Monkey.
+I have come to the Aden Continent to bring happiness to all through my food! Even the monsters have eaten my food! They drop bananas when they die!
+The fish love the bait I make! They can’t get enough! You can use my super bait to catch a special Tuna fish!
+Oh, that will be a great fishing! Especially if you have a delicious Banana Cocktail with you. Alleviate your tiredness with fishing!
+
+
+
+
+View
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey002.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey002.htm
new file mode 100644
index 0000000000..c145a69206
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey002.htm
@@ -0,0 +1,7 @@
+Event Manager Chef Monkey:
+Do you need it explained to you again?
+I , Chef Monkey, am a genius chef! Everybody is after my food: the monsters, the fish, even the Seed Talisman Manager!
+They’ll appreciate my cooking on the Aden Continent as well. That’s why I’ve gone and prepared some Monkey Bait. The fish love it!
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey003.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey003.htm
new file mode 100644
index 0000000000..1386153a9f
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey003.htm
@@ -0,0 +1,7 @@
+Event Manager Chef Monkey:
+So you'd like to know about the Monkey Bait, hmm? It's a type of bait that I've cooked up, and the fish love it! They can't get enough!
+Fishing with the Monkey Bait, you'll be able to fish faster than before! You'll also get more XP.
+Sometimes, you'll get lucky and catch a Chef Monkey's Treasure Chest. I lost it when the fish swarmed around me! But if you manage to fish the Treasure Chest around using my bait, it's yours! I don't have much need for it.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey004.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey004.htm
new file mode 100644
index 0000000000..13c47ca784
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey004.htm
@@ -0,0 +1,7 @@
+Event Manager Chef Monkey:
+The Seed Talisman Manager in the Town of Aden also likes my cooking!
+He asked me to make him a month's worth, so I did.
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey005.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey005.htm
new file mode 100644
index 0000000000..6cfaa70761
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ChefMonkeyEvent/ev_chef_monkey005.htm
@@ -0,0 +1,8 @@
+Event Manager Chef Monkey:
+You'd like to hear about Chef Monkey's Banana Herb, eh? Haha, it's quite something!
+When I first arrive on the Aden continent, I didn't know anything, so I ended up cooking for the monsters! They loved it. When the monsters who had eaten my food died, they dropped Banana Herbs. It was strange.
+Chef Monkey's Banana Herb increases P. Atk., M. Atk, P. Def., and M. Def. by 50% for 5 minutes, and increases XP and SP gained by 10%!
+I've cooked for a lot of monsters! Go out and hunt them!
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855-1.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855-1.htm
new file mode 100644
index 0000000000..4792e10b36
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855-1.htm
@@ -0,0 +1,9 @@
+Crystal Seer Eve:
+Welcome to the doorway to your future! Show me your tickets, and I'll show you all that you desire.
+As long as you bring me the Fortune Reading tickets needed, I can read your fortune.
+You can get various dimensional items and rare items. You can get better items from the Luxury Fortune Reading game than the Regular Fortune Reading game.
+To play the Luxury Fortune Reading game, you'll need a Luxury Fortune Reading Ticket.
+To play the Regular Fortune Reading game, you'll need a Fortune Reading Ticket.
+You can purchase Fortune Reading Tickets from the L2Store for 35,000,000 Adena each..
+You can purchase Luxury Fortune Reading Tickets for 160 NCoins each.
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855.htm
new file mode 100644
index 0000000000..23def8c255
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/31855.htm
@@ -0,0 +1,12 @@
+
+
+
+
+
+
May your future be full of mystery!
+
What would suit your fancy, traveler?
+
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/EveTheFortuneTeller.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/EveTheFortuneTeller.java
new file mode 100644
index 0000000000..7cd91cc869
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/EveTheFortuneTeller.java
@@ -0,0 +1,82 @@
+/*
+ * 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 events.EveTheFortuneTeller;
+
+import com.l2jmobius.gameserver.enums.LuckyGameType;
+import com.l2jmobius.gameserver.model.actor.L2Npc;
+import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
+import com.l2jmobius.gameserver.network.serverpackets.luckygame.ExStartLuckyGame;
+
+/**
+ * Eve the Fortune Teller Returns
+ * Info - http://www.lineage2.com/en/news/events/11182015-eve-the-fortune-teller-returns.php
+ * @author Mobius
+ */
+public final class EveTheFortuneTeller extends LongTimeEvent
+{
+ // NPCs
+ private static final int EVE = 31855;
+ // Items
+ private static final int FORTUNE_READING_TICKET = 23767;
+ private static final int LUXURY_FORTUNE_READING_TICKET = 23768;
+
+ private EveTheFortuneTeller()
+ {
+ addStartNpc(EVE);
+ addFirstTalkId(EVE);
+ addTalkId(EVE);
+ addSpawnId(EVE);
+ }
+
+ @Override
+ public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+ {
+ String htmltext = null;
+ switch (event)
+ {
+ case "31855.htm":
+ case "31855-1.htm":
+ {
+ htmltext = event;
+ break;
+ }
+ case "FortuneReadingGame":
+ {
+ player.sendPacket(new ExStartLuckyGame(LuckyGameType.NORMAL, player.getInventory().getInventoryItemCount(FORTUNE_READING_TICKET, -1)));
+ break;
+ }
+ case "LuxuryFortuneReadingGame":
+ {
+ player.sendPacket(new ExStartLuckyGame(LuckyGameType.LUXURY, player.getInventory().getInventoryItemCount(LUXURY_FORTUNE_READING_TICKET, -1)));
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onFirstTalk(L2Npc npc, L2PcInstance player)
+ {
+ return "31855.htm";
+ }
+
+ public static void main(String[] args)
+ {
+ new EveTheFortuneTeller();
+ }
+}
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/config.xml b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/config.xml
new file mode 100644
index 0000000000..dcb234de10
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/EveTheFortuneTeller/config.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-1.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-1.htm
new file mode 100644
index 0000000000..48f5500084
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-1.htm
@@ -0,0 +1,6 @@
+Coco Brownie:
+How is your love life? As sweet as chocolate, I hope? If not, never fear! I, the cupid of Ivory Tower, have come to your rescue!
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-2.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-2.htm
new file mode 100644
index 0000000000..2c342c3eed
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-2.htm
@@ -0,0 +1,12 @@
+Coco Brownie:
+A monster stole the Love Potion I made! It was my blood, sweat, and tears!
+A sip of it will double the P. Atk./ M. Atk./ Speed/ Casting Spd. for 2 minutes for everyone in your party! Awesome, right?
+I wouldn't call this a side effect, but the potion does tend to change the appearance of your weapon a little. But don't worry, because it's not ugly! I'm the messenger of love, remember?
+(The effect of the Love Potion disappears when you restart the game.)
+Also, you can choose Chocolate Truffle, Candy Heart, or Comfort Cookie. Each one restores your Vitality in peace zones and has also has its own special power.
+The Chocolate Truffle lets you use the Decadence skill, resulting in STR + 2, INT + 2, and Attribute Resistance + 20. The Candy Heart lets you use the Sugar Rush skill, increasing STR + 2, INT + 2, DEX + 2, and WIT + 2. The Comfort Cookie lets you use the Forever Alone skill, increasing STR + 2, INT + 2, CON + 2, and MEN + 2. If 3 people with each item gather around and use their skills, they can receive all of the effects, so you might want to go looking for new friends! The skills were made from leftovers from the Love Potion, so they might look a bit, uh, excessive... But hey, they're cute, I promise!
+Oh, and you know about the transformation and summoning items, right?
+Transformation items let you transform into either a Snow Man, Scarecrow Jack, Tin Golem, Makeshift Bat, Angry Tow, Lady Tow, or Sleepy Tow. What's so great about them, you say? Well, they're cute! So insanely cute!
+Friend-summoning items let you summon your friends. Create a party, and use the items to summon a party member! Easy, right? Well, that's it! Have a very sweet day!
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-3.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-3.htm
new file mode 100644
index 0000000000..b96230094a
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-3.htm
@@ -0,0 +1,14 @@
+Coco Brownie:
+Oh, are you coming onto me? Not very subtle, but cute, I suppose! Hehe. I know I smell nice -- I have magical items as a result of my labor of love!
+It's always good to know which item you look and feel good with. What would you like? Oh, but you can still get all the skill effects of Decadence, Sugar Rush, and Forever Alone. Just find someone who has something you don't!
+Chocolate Truffle
+Enables the Decadence skill, resulting in STR/ INT + 2, and Attribute Resistance + 20.
+Candy Heart
+ Enables the Sugar Rush skill, resulting in STR/ INT/ DEX/ WIT + 2.
+Comfort Cookie
+Enables the Forever Alone skill, resulting in STR/ INT/ CON/ MEN + 2.
+
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-4.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-4.htm
new file mode 100644
index 0000000000..c7ac3147b1
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-4.htm
@@ -0,0 +1,5 @@
+Coco Brownie:
+Magical Energy takes effect for only 5 minutes.
+Love potions and Coco Brownie's magic lose their effects when you restart, so be careful! Have a sweet day.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-5.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-5.htm
new file mode 100644
index 0000000000..4d87696165
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-5.htm
@@ -0,0 +1,5 @@
+Coco:
+Chocolate Truffles it is!
+A very good choice. Here, take Coco's Transformation Chocolate and Coco's Friend Summon Chocolate as a bonus.
+If you don't like what you got, get rid of the things I gave you, and I'll give you something else. Have a sweet day!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-6.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-6.htm
new file mode 100644
index 0000000000..71e88e1884
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-6.htm
@@ -0,0 +1,5 @@
+Coco:
+Candy Heart it is!
+A very good choice. Here, take Coco's Transformation Candy and Coco's Friend Summon Candy as a bonus.
+If you don't like what you got, get rid of the things I gave you, and I'll give you something else. Have a sweet day!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-7.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-7.htm
new file mode 100644
index 0000000000..e50df7bfce
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-7.htm
@@ -0,0 +1,5 @@
+Coco:
+Comfort Cookie it is!
+A very good choice. Here, take Coco's Transformation Cookie and Coco's Friend Summon Cookie as a bonus.
+If you don't like what you got, get rid of the things I gave you, and I'll give you something else. Have a sweet day!
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-9.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-9.htm
new file mode 100644
index 0000000000..4ea5a898d3
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/33893-9.htm
@@ -0,0 +1,4 @@
+Coco Brownie:
+But you already got the event items! If you want something else, get rid of what I gave you.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/ThePowerOfLove.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/ThePowerOfLove.java
new file mode 100644
index 0000000000..29a56582d9
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/ThePowerOfLove.java
@@ -0,0 +1,101 @@
+/*
+ * 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 events.ThePowerOfLove;
+
+import com.l2jmobius.gameserver.model.actor.L2Npc;
+import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jmobius.gameserver.model.holders.SkillHolder;
+import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
+import com.l2jmobius.gameserver.model.skills.SkillCaster;
+
+/**
+ * The Power Of Love
+ * @URL http://www.lineage2.com/en/news/events/02102016-the-power-of-love-part-iii.php
+ * @author hlwrave
+ */
+public final class ThePowerOfLove extends LongTimeEvent
+{
+ // NPC
+ private static final int COCO = 33893;
+ // Items
+ private static final int COCOGIFBOX = 36081;
+ private static final int AMULETLOVE = 70232;
+ // Skill
+ private static final SkillHolder COCO_M = new SkillHolder(55327, 1); // Sweet Chocolate Energy
+
+ private ThePowerOfLove()
+ {
+ addStartNpc(COCO);
+ addFirstTalkId(COCO);
+ addTalkId(COCO);
+ }
+
+ @Override
+ public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+ {
+ String htmltext = null;
+ switch (event)
+ {
+ case "33893-1.htm":
+ case "33893-2.htm":
+ case "33893-3.htm":
+ {
+ htmltext = event;
+ break;
+ }
+ case "coco_giveItem":
+ {
+ if (!hasQuestItems(player, COCOGIFBOX))
+ {
+ giveItems(player, COCOGIFBOX, 1);
+ htmltext = "33893-5.htm";
+ }
+ else
+ {
+ htmltext = "33893-9.htm";
+ }
+ break;
+ }
+ case "coco_takeAmulet":
+ {
+ if (hasQuestItems(player, AMULETLOVE))
+ {
+ SkillCaster.triggerCast(npc, player, COCO_M.getSkill());
+ htmltext = "33893-4.htm";
+ takeItems(player, AMULETLOVE, 1);
+ }
+ else
+ {
+ htmltext = "33893-9.htm";
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onFirstTalk(L2Npc npc, L2PcInstance player)
+ {
+ return npc.getId() + "-1.htm";
+ }
+
+ public static void main(String[] args)
+ {
+ new ThePowerOfLove();
+ }
+}
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/config.xml b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/config.xml
new file mode 100644
index 0000000000..e3e3f9288a
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/ThePowerOfLove/config.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-1.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-1.htm
new file mode 100644
index 0000000000..2828c2f3a8
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-1.htm
@@ -0,0 +1,4 @@
+Frog:
+How is your love life? As sweet as chocolate, I hope? If not, never fear! I, the cupid of Ivory Tower, have come to your rescue!
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-2.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-2.htm
new file mode 100644
index 0000000000..dd92cc53a2
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-2.htm
@@ -0,0 +1,12 @@
+Frog:
+A monster stole the Love Potion I made! It was my blood, sweat, and tears!
+A sip of it will double the P. Atk./ M. Atk./ Speed/ Casting Spd. for 2 minutes for everyone in your party! Awesome, right?
+I wouldn't call this a side effect, but the potion does tend to change the appearance of your weapon a little. But don't worry, because it's not ugly! I'm the messenger of love, remember?
+(The effect of the Love Potion disappears when you restart the game.)
+Also, you can choose Chocolate Truffle, Candy Heart, or Comfort Cookie. Each one restores your Vitality in peace zones and has also has its own special power.
+The Chocolate Truffle lets you use the Decadence skill, resulting in STR + 2, INT + 2, and Attribute Resistance + 20. The Candy Heart lets you use the Sugar Rush skill, increasing STR + 2, INT + 2, DEX + 2, and WIT + 2. The Comfort Cookie lets you use the Forever Alone skill, increasing STR + 2, INT + 2, CON + 2, and MEN + 2. If 3 people with each item gather around and use their skills, they can receive all of the effects, so you might want to go looking for new friends! The skills were made from leftovers from the Love Potion, so they might look a bit, uh, excessive... But hey, they're cute, I promise!
+Oh, and you know about the transformation and summoning items, right?
+Transformation items let you transform into either a Snow Man, Scarecrow Jack, Tin Golem, Makeshift Bat, Angry Tow, Lady Tow, or Sleepy Tow. What's so great about them, you say? Well, they're cute! So insanely cute!
+Friend-summoning items let you summon your friends. Create a party, and use the items to summon a party member! Easy, right? Well, that's it! Have a very sweet day!
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-3.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-3.htm
new file mode 100644
index 0000000000..90a4324c56
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-3.htm
@@ -0,0 +1,14 @@
+Frog:
+Oh, are you coming onto me? Not very subtle, but cute, I suppose! Hehe. I know I smell nice -- I have magical items as a result of my labor of love!
+It's always good to know which item you look and feel good with. What would you like? Oh, but you can still get all the skill effects of Decadence, Sugar Rush, and Forever Alone. Just find someone who has something you don't!
+Chocolate Truffle
+Enables the Decadence skill, resulting in STR/ INT + 2, and Attribute Resistance + 20.
+Candy Heart
+ Enables the Sugar Rush skill, resulting in STR/ INT/ DEX/ WIT + 2.
+Comfort Cookie
+Enables the Forever Alone skill, resulting in STR/ INT/ CON/ MEN + 2.
+
+
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-4.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-4.htm
new file mode 100644
index 0000000000..8e1f5fffd0
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-4.htm
@@ -0,0 +1,5 @@
+Frog:
+Magical Energy takes effect for only 5 minutes.
+Love potions and Coco Brownie's magic lose their effects when you restart, so be careful! Have a sweet day.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-9.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-9.htm
new file mode 100644
index 0000000000..0ade36306f
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/9013-9.htm
@@ -0,0 +1,4 @@
+Frog:
+But you already got the event items! If you want something else, get rid of what I gave you.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/TotalRecall.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/TotalRecall.java
new file mode 100644
index 0000000000..9117855cd3
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/TotalRecall.java
@@ -0,0 +1,77 @@
+/*
+ * 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 events.TotalRecall;
+
+import com.l2jmobius.gameserver.model.actor.L2Npc;
+import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jmobius.gameserver.model.holders.SkillHolder;
+import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
+import com.l2jmobius.gameserver.model.skills.SkillCaster;
+
+/**
+ * Total Recall Event
+ * @URL https://eu.4gameforum.com/threads/578395/
+ * @author QuangNguyen
+ */
+public final class TotalRecall extends LongTimeEvent
+{
+ // NPC
+ private static final int FROG = 9013;
+ // Skill
+ private static final SkillHolder FROG_KISS = new SkillHolder(55314, 1);
+
+ private TotalRecall()
+ {
+ addStartNpc(FROG);
+ addFirstTalkId(FROG);
+ addTalkId(FROG);
+ }
+
+ @Override
+ public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+ {
+ String htmltext = null;
+ switch (event)
+ {
+ case "9013-1.htm":
+ case "9013-2.htm":
+ case "9013-3.htm":
+ {
+ htmltext = event;
+ break;
+ }
+ case "frog_buff":
+ {
+ SkillCaster.triggerCast(npc, player, FROG_KISS.getSkill());
+ htmltext = "9013-4.htm";
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onFirstTalk(L2Npc npc, L2PcInstance player)
+ {
+ return "9013-1.htm";
+ }
+
+ public static void main(String[] args)
+ {
+ new TotalRecall();
+ }
+}
diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/config.xml b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/config.xml
new file mode 100644
index 0000000000..a0e458844c
--- /dev/null
+++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/events/TotalRecall/config.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file