Addition of Smash It Completely event.
Contributed by CostyKiller.
This commit is contained in:
18
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/2450.xml
vendored
Normal file
18
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/2450.xml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34575</npc> <!-- Doo Doo Doo -->
|
||||
</npcs>
|
||||
<item>
|
||||
<ingredient id="81782" count="108" /> <!-- Watermelon Seed -->
|
||||
<production id="81781" count="1" /> <!-- Appearance Stone: Baby Shark Doo Doo Doo [Event] -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="81782" count="108" /> <!-- Watermelon Seed -->
|
||||
<production id="81776" count="1" /> <!-- Appearance Stone: Beach Swimsuit [Event] -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="81782" count="3" /> <!-- Watermelon Seed -->
|
||||
<production id="81783" count="1" /> <!-- Ice Box [Event] -->
|
||||
</item>
|
||||
</list>
|
@@ -0,0 +1,8 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
<font color="LEVEL">Once a day!</font> Gift giveaway! Delicious watermelons!<br>
|
||||
Of course, you can only receive a Watermelon if you have a Watermelon Seed.<br>
|
||||
Oh, you don't know what I'm talking about, do you?<br>
|
||||
You can try it if you've reached <font color="LEVEL">Lv. 105 or higher</font>! <font color="LEVEL">(once a day per account)</font>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely getSeed"><font color="058fd8">Get one Watermelon Seed a day (Lv. 105+)</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
10
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/events/SmashItCompletely/34575-2.htm
vendored
Normal file
10
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/events/SmashItCompletely/34575-2.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
Calm down? Why? I might look a bit crazy, but I am in fact very calm!<br>
|
||||
You want to know more about the buff?<br>
|
||||
Well... I'll try to keep calm. Listen here! Woo-hoo!<br>
|
||||
1. When you use a <font color="058fd8">Watermelon Seed</font>, a Watermelon will appear. Its size is up to a chance!<br>
|
||||
2. The Watermelon will break open in 30 sec., but you can attack it and break it faster. When you do, you have a chance to receive a <font color="058fd8">buff</font> and an <font color="058fd8">Ice Box</font>.<br>
|
||||
3. <font color="058fd8">The bigger the Watermelon</font>, the longer you have to hit it until it breaks and the <font color="058fd8">higher</font> probability of receiving a buff and an Ice Box.<br>
|
||||
4. Be careful, <font color="LEVEL">you can't receive the buff and the reward if you are standing too far from the Watermelon</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
@@ -0,0 +1,8 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
Huh? Hm...<br>
|
||||
Watermelons are tasty, aren't they? Once you start eating them, it's hard to stop!<br>
|
||||
To get a Watermelon Seed, join a <font color="LEVEL">clan</font> and complete a <font color="LEVEL">clan quest</font>.<br>
|
||||
If you've joined a clan during the event, click <font color="LEVEL">N</font> and then press the Clan Quests button.<br>
|
||||
Open the General and Events tabs of the main UI to learn more about the clan quests that have a <font color="058fd8">Watermelon Seed</font> as a reward.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
No-no-no! Bad!<br>
|
||||
Babies below Lv. 105 can't have watermelons! They'll upset their tummies!<br>
|
||||
<font color="LEVEL">Available to characters of Lv. 105 and higher.</font>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
Let's fight the summer heat together - the freshness of the watermelon will help us!<br>
|
||||
<font color="LEVEL">(1 time per day per account, reset at 06:30)</font>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
11
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/events/SmashItCompletely/34575.htm
vendored
Normal file
11
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/events/SmashItCompletely/34575.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
it's not hot today, isn't it? Heh-heh...<br>
|
||||
A cold watermelon on a day like this would be a godsend, wouldn't it? Do you want to know who I am?<br>
|
||||
It's me! Baby Shark, doo doo doo doo doo doo! That is actually my name - Doo Doo Doo!<br>
|
||||
You've heard the song, right? Saw the video? Anyway, since it's summertime i've prepared <font color="LEVEL">Watermelon Seeds</font>!<br>
|
||||
You can receive one gift a day now.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575-1.htm"><font color="058fd8">Get one Watermelon Seed a day (Lv. 105+)</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575-2.htm">Tell to calm down and ask about the buff</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575-3.htm">Tell to calm down and ask about Watermelon Seeds</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2450">Exchange Watermelon Seeds</Button>
|
||||
</body></html>
|
@@ -0,0 +1,269 @@
|
||||
/*
|
||||
* 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.SmashItCompletely;
|
||||
|
||||
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.gameserver.model.World;
|
||||
import org.l2jmobius.gameserver.model.actor.Attackable;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.Player;
|
||||
import org.l2jmobius.gameserver.model.events.EventType;
|
||||
import org.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||
import org.l2jmobius.gameserver.model.events.annotations.Id;
|
||||
import org.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||
import org.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||
import org.l2jmobius.gameserver.model.events.impl.item.OnItemUse;
|
||||
import org.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
import org.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
import org.l2jmobius.gameserver.model.skill.SkillCaster;
|
||||
import org.l2jmobius.gameserver.network.SystemMessageId;
|
||||
|
||||
/**
|
||||
* @URL https://l2central.info/main/events_and_promos/1444.html
|
||||
* @author CostyKiller
|
||||
* @apiNote You need to edit client file to add additional seed rewards to clan missions.
|
||||
* @TODO Fix autoloot and self destruction skill for melons.
|
||||
*/
|
||||
public class SmashItCompletely extends LongTimeEvent
|
||||
{
|
||||
// NPCs
|
||||
private static final int DOODOODOO = 34575; // Baby Shark Doo Doo Doo
|
||||
private static final int SWEET_WATERMELON = 13608;
|
||||
private static final int PRIME_WATERMELON = 13609;
|
||||
private static final int LARGE_PRIME_WATERMELON = 13610;
|
||||
// Items
|
||||
private static final int WATERMELON_SEED = 81782;
|
||||
private static final int ICE_BOX = 81783;
|
||||
// Skills
|
||||
private static final SkillHolder[] SKILLS =
|
||||
{
|
||||
new SkillHolder(39714, 2), // Sweet Watermelon
|
||||
new SkillHolder(39714, 3), // Prime Watermelon
|
||||
new SkillHolder(39714, 4), // Large Prime Watermelon
|
||||
new SkillHolder(33927, 1), // Watermelon Burst
|
||||
};
|
||||
// Buffs
|
||||
private static final SkillHolder[] BUFFS =
|
||||
{
|
||||
new SkillHolder(33928, 1), // Dizzy Lv. 1 = 1 hour
|
||||
new SkillHolder(33928, 2), // Dizzy Lv. 2 = 2 hours
|
||||
new SkillHolder(33928, 3), // Dizzy Lv. 3 = 3 hours
|
||||
};
|
||||
// Misc
|
||||
private static final String SMASH_IT_COMPLETELY_VAR = "SMASH_IT_COMPLETELY_SEED_RECEIVED";
|
||||
private static final int PLAYER_LEVEL = 105;
|
||||
// Chances for higher quality watermelons
|
||||
private static final int LARGE_PRIME_WATERMELON_SUMMON_CHANCE = 15; // Large Watermelon summon chance
|
||||
private static final int PRIME_WATERMELON_SUMMON_CHANCE = 40; // Prime Watermelon summon chance
|
||||
// Chances to get Dizzy buff
|
||||
private static final int LARGE_PRIME_WATERMELON_BUFF_CHANCE = 80; // Large Watermelon buff chance
|
||||
private static final int PRIME_WATERMELON_BUFF_CHANCE = 60; // Prime Watermelon buff chance
|
||||
private static final int SWEET_WATERMELON_BUFF_CHANCE = 40; // Sweet Watermelon buff chance
|
||||
|
||||
public SmashItCompletely()
|
||||
{
|
||||
addStartNpc(DOODOODOO);
|
||||
addFirstTalkId(DOODOODOO);
|
||||
addTalkId(DOODOODOO);
|
||||
addSpawnId(SWEET_WATERMELON, PRIME_WATERMELON, LARGE_PRIME_WATERMELON);
|
||||
addKillId(SWEET_WATERMELON, PRIME_WATERMELON, LARGE_PRIME_WATERMELON);
|
||||
|
||||
startQuestTimer("schedule", 1000, null, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, Player player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "getSeed":
|
||||
{
|
||||
if (npc.getId() != DOODOODOO)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (player.getLevel() < PLAYER_LEVEL)
|
||||
{
|
||||
htmltext = "34575-no-level.htm";
|
||||
break;
|
||||
}
|
||||
if (player.getAccountVariables().getBoolean(SMASH_IT_COMPLETELY_VAR, false))
|
||||
{
|
||||
player.sendMessage("This account has already received a seed. An account can receive a seed only once a day.");
|
||||
break;
|
||||
}
|
||||
|
||||
giveItems(player, WATERMELON_SEED, 1);
|
||||
player.getAccountVariables().set(SMASH_IT_COMPLETELY_VAR, true);
|
||||
player.getAccountVariables().storeMe();
|
||||
htmltext = "34575-successful.htm";
|
||||
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() - System.currentTimeMillis(), null, null);
|
||||
break;
|
||||
}
|
||||
case "reset":
|
||||
{
|
||||
if (isEventPeriod())
|
||||
{
|
||||
// Update data for offline players.
|
||||
try (Connection con = DatabaseFactory.getConnection();
|
||||
PreparedStatement ps = con.prepareStatement("DELETE FROM account_gsdata WHERE var=?"))
|
||||
{
|
||||
ps.setString(1, SMASH_IT_COMPLETELY_VAR);
|
||||
ps.executeUpdate();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not reset Smash It Completely Event var: ", e);
|
||||
}
|
||||
|
||||
// Update data for online players.
|
||||
for (Player plr : World.getInstance().getPlayers())
|
||||
{
|
||||
plr.getAccountVariables().remove(SMASH_IT_COMPLETELY_VAR);
|
||||
plr.getAccountVariables().storeMe();
|
||||
}
|
||||
}
|
||||
cancelQuestTimers("schedule");
|
||||
startQuestTimer("schedule", 1000, null, null);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(Npc npc, Player player)
|
||||
{
|
||||
return npc.getId() + ".htm";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(Npc npc, Player killer, boolean isPet)
|
||||
{
|
||||
if (killer.getSummonedNpc(npc.getObjectId()) == null)
|
||||
{
|
||||
killer.sendMessage("You must grow your own watermelon to get reward.");
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SWEET_WATERMELON:
|
||||
{
|
||||
if (getRandom(100) < SWEET_WATERMELON_BUFF_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(killer, killer, BUFFS[0].getSkill());
|
||||
}
|
||||
break;
|
||||
}
|
||||
case PRIME_WATERMELON:
|
||||
{
|
||||
if (getRandom(100) < PRIME_WATERMELON_BUFF_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(killer, killer, BUFFS[1].getSkill());
|
||||
}
|
||||
if (killer.isInventoryUnder80(false))
|
||||
{
|
||||
killer.doAutoLoot((Attackable) npc, ICE_BOX, 1); // Prime Watermelon Ice Box x1
|
||||
}
|
||||
else
|
||||
{
|
||||
killer.sendPacket(SystemMessageId.NOT_ENOUGH_SPACE_IN_THE_INVENTORY_UNABLE_TO_PROCESS_THIS_REQUEST_UNTIL_YOUR_INVENTORY_S_WEIGHT_AND_SLOT_COUNT_ARE_LESS_THAN_80_PERCENT_OF_CAPACITY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LARGE_PRIME_WATERMELON:
|
||||
{
|
||||
if (getRandom(100) < LARGE_PRIME_WATERMELON_BUFF_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(killer, killer, BUFFS[2].getSkill());
|
||||
}
|
||||
if (killer.isInventoryUnder80(false))
|
||||
{
|
||||
killer.doAutoLoot((Attackable) npc, ICE_BOX, 2); // Large Prime Watermelon Ice Box x2
|
||||
}
|
||||
else
|
||||
{
|
||||
killer.sendPacket(SystemMessageId.NOT_ENOUGH_SPACE_IN_THE_INVENTORY_UNABLE_TO_PROCESS_THIS_REQUEST_UNTIL_YOUR_INVENTORY_S_WEIGHT_AND_SLOT_COUNT_ARE_LESS_THAN_80_PERCENT_OF_CAPACITY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return super.onKill(npc, killer, isPet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSpawn(Npc npc)
|
||||
{
|
||||
SkillCaster.triggerCast(npc, npc, BUFFS[3].getSkill()); // TODO: FIX death skill.
|
||||
return super.onSpawn(npc);
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_ITEM_USE)
|
||||
@RegisterType(ListenerRegisterType.ITEM)
|
||||
@Id(81782) // Watermelon Seed
|
||||
public void onItemUse(OnItemUse event)
|
||||
{
|
||||
if (isEventPeriod())
|
||||
{
|
||||
final Player player = event.getPlayer();
|
||||
for (SkillHolder skill : BUFFS)
|
||||
{
|
||||
if (player.isAffectedBySkill(skill))
|
||||
{
|
||||
player.sendMessage("You must remove current Dizzy buff effect to be able to grow another watermelon.");
|
||||
player.getInventory().addItem("Watermelon Seed refund", event.getItem().getId(), 1, player, player);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
final int chance = getRandom(100);
|
||||
if (chance < LARGE_PRIME_WATERMELON_SUMMON_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(player, player, SKILLS[2].getSkill());
|
||||
}
|
||||
else if (chance < PRIME_WATERMELON_SUMMON_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(player, player, SKILLS[1].getSkill());
|
||||
}
|
||||
else
|
||||
{
|
||||
SkillCaster.triggerCast(player, player, SKILLS[0].getSkill());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new SmashItCompletely();
|
||||
}
|
||||
}
|
34
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/events/SmashItCompletely/config.xml
vendored
Normal file
34
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/events/SmashItCompletely/config.xml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Smash It Completely" active="24 08 2022-21 09 2022" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<spawnlist>
|
||||
<add npc="34575" x="-14143" y="123127" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="34575" x="16294" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="34575" x="80814" y="148037" z="-3448" heading="3355" /> <!-- Giran -->
|
||||
<add npc="34575" x="81998" y="53924" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="34575" x="147407" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
|
||||
<add npc="34575" x="112172" y="220397" z="-3648" heading="30708" /> <!-- Heine -->
|
||||
<add npc="34575" x="148161" y="-57392" z="-2752" heading="17863" /> <!-- Goddard -->
|
||||
<add npc="34575" x="44470" y="-48378" z="-776" heading="14450" /> <!-- Rune -->
|
||||
<add npc="34575" x="86940" y="-141315" z="-1336" heading="53153" /> <!-- Schuttgart -->
|
||||
<add npc="34575" x="-114772" y="256375" z="-1472" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="34575" x="-78792" y="249165" z="-3272" heading="56380" /> <!-- Faeron Village -->
|
||||
<add npc="34575" x="-80535" y="149537" z="-3016" heading="16383" /> <!-- Gludin -->
|
||||
<add npc="34575" x="117420" y="76654" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
<add npc="34575" x="208479" y="87693" z="-1006" heading="28764" /> <!-- Arcan -->
|
||||
</spawnlist>
|
||||
<destroyItemsOnEnd>
|
||||
<item id="48755" /> <!-- Glowing Dragon's Attribute Potion (XP) Event -->
|
||||
<item id="80612" /> <!-- Freya's Ice Rose Event -->
|
||||
<item id="80797" /> <!-- Shining Nevit's Gold Hourglass Event -->
|
||||
<item id="80832" /> <!-- Emperor's Special Cocktail Event -->
|
||||
<item id="81460" /> <!-- Honey Dark Beer Event -->
|
||||
<item id="81776" /> <!-- Appearance Stone: Beach Swimsuit Event -->
|
||||
<item id="81781" /> <!-- Appearance Stone: Baby Shark Doo Doo Doo Event -->
|
||||
<item id="81782" /> <!-- Watermelon Seed Event -->
|
||||
<item id="81783" /> <!-- Ice Box Event -->
|
||||
</destroyItemsOnEnd>
|
||||
<messages>
|
||||
<add type="onEnd" text="[Event] Smash It Completely has ended!" />
|
||||
<add type="onEnter" text="[Event] Smash It Completely (until September 21)" />
|
||||
</messages>
|
||||
</event>
|
@@ -612,7 +612,36 @@
|
||||
<set name="default_action" val="CAPSULE" />
|
||||
<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="extractableCountMin" val="1" />
|
||||
<set name="extractableCountMax" val="1" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<item id="48969" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - P. Atk. Balance -->
|
||||
<item id="48970" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - M. Atk. Balance -->
|
||||
<item id="48971" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - P. Accuracy Balance -->
|
||||
<item id="48972" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - M. Accuracy Balance -->
|
||||
<item id="48973" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Critical Rate for Basic Attacks Balance -->
|
||||
<item id="48974" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - P. Skill Critical Rate Balance -->
|
||||
<item id="48975" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - M. Critical Rate Balance -->
|
||||
<item id="48976" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Recovery Potions' Effect Balance -->
|
||||
<item id="48977" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Received Damage When Immobilized Balance -->
|
||||
<item id="48985" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Fixed Damage Resistance Balance -->
|
||||
<item id="80656" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - P. Def. Balance -->
|
||||
<item id="80657" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - M. Def. Balance -->
|
||||
<item id="80658" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Critical Damage for Basic Attacks Balance -->
|
||||
<item id="80659" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - P. Skill Critical Damage Balance -->
|
||||
<item id="80660" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - M. Skill Critical Damage Balance -->
|
||||
<item id="80661" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Atk. Spd. Balance -->
|
||||
<item id="80662" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Casting Spd. Balance -->
|
||||
<item id="81439" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Vitality Bonus Balance -->
|
||||
<item id="81440" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Received Healing Balance -->
|
||||
<item id="81441" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Skill MP Consumption Balance -->
|
||||
<item id="81442" min="1" max="1" minEnchant="1" maxEnchant="1" chance="4.76" /> <!-- +1 Artifact - Received P. Critical Rate Balance -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="81746" name="+3 Shining Artifact Pack" additionalName="Balance" type="EtcItem">
|
||||
<!-- Double-click to obtain a balance artifact enchanted to +3. -->
|
||||
@@ -620,7 +649,36 @@
|
||||
<set name="default_action" val="CAPSULE" />
|
||||
<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="extractableCountMin" val="1" />
|
||||
<set name="extractableCountMax" val="1" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<item id="48969" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - P. Atk. Balance -->
|
||||
<item id="48970" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - M. Atk. Balance -->
|
||||
<item id="48971" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - P. Accuracy Balance -->
|
||||
<item id="48972" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - M. Accuracy Balance -->
|
||||
<item id="48973" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Critical Rate for Basic Attacks Balance -->
|
||||
<item id="48974" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - P. Skill Critical Rate Balance -->
|
||||
<item id="48975" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - M. Critical Rate Balance -->
|
||||
<item id="48976" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Recovery Potions' Effect Balance -->
|
||||
<item id="48977" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Received Damage When Immobilized Balance -->
|
||||
<item id="48985" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Fixed Damage Resistance Balance -->
|
||||
<item id="80656" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - P. Def. Balance -->
|
||||
<item id="80657" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - M. Def. Balance -->
|
||||
<item id="80658" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Critical Damage for Basic Attacks Balance -->
|
||||
<item id="80659" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - P. Skill Critical Damage Balance -->
|
||||
<item id="80660" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - M. Skill Critical Damage Balance -->
|
||||
<item id="80661" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Atk. Spd. Balance -->
|
||||
<item id="80662" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Casting Spd. Balance -->
|
||||
<item id="81439" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Vitality Bonus Balance -->
|
||||
<item id="81440" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Received Healing Balance -->
|
||||
<item id="81441" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Skill MP Consumption Balance -->
|
||||
<item id="81442" min="1" max="1" minEnchant="3" maxEnchant="3" chance="4.76" /> <!-- +3 Artifact - Received P. Critical Rate Balance -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="81747" name="Royal Honey Dark Beer" type="EtcItem">
|
||||
<!-- For 30 min. all basic stats +3, Vitality bonus +50%, P./ M. Def. +15%.\n\nThe effect remains after death. Cooldown: 5 min.\nCannot be used in the Olympiad. -->
|
||||
@@ -1017,20 +1075,36 @@
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81777" name="Appearance Stone: Alluring Swimsuit" type="EtcItem">
|
||||
<!-- Changes the appearance of the entire armor to that of Alluring Swimsuit. Modified armor can be restored to its original appearance with Restoration Stone. -->
|
||||
<set name="icon" val="BranchSys3.lcon.g_scrl_change_co_swimsuit_01" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="material" val="STEEL" />
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81778" name="Appearance Stone: Seductive Swimsuit" type="EtcItem">
|
||||
<!-- Changes the appearance of the entire armor to that of Seductive Swimsuit. Modified armor can be restored to its original appearance with Restoration Stone. -->
|
||||
<set name="icon" val="BranchSys3.lcon.g_scrl_change_co_swimsuit_01" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="material" val="STEEL" />
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81779" name="Bag of Shining Gold" type="EtcItem">
|
||||
<!-- A bag full of valuable presents. Double-click to obtain one rare item with a certain chance. -->
|
||||
@@ -1062,6 +1136,10 @@
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81782" name="Watermelon Seed" additionalName="Event" type="EtcItem">
|
||||
<!-- You get a fresh Watermelon.\nIf the Watermelon is crashed, there is a certain chance to obtain a buff and Ice Box. The effect duration and a number of Ice Boxes depend on the Watermelon size. -->
|
||||
@@ -1069,16 +1147,74 @@
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="material" val="LIQUID" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39714" level="1" /> <!-- Fresh Watermelon Energy -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="81783" name="Ice Box" additionalName="Event" type="EtcItem">
|
||||
<!-- It can help to survive the hot summer time.\nDouble-click to obtain supplies and equipment. -->
|
||||
<!-- It can help to survive the hot summer time. Double-click to obtain supplies and equipment. -->
|
||||
<set name="icon" val="icon.ev_2020_summer_box" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="default_action" val="CAPSULE" />
|
||||
<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="extractableCountMin" val="1" />
|
||||
<set name="extractableCountMax" val="1" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<!-- Reward 1 Potions chance="40" -->
|
||||
<item id="80612" min="1" max="1" chance="8" /> <!-- Freya's Ice Rose Event -->
|
||||
<item id="80797" min="1" max="1" chance="8" /> <!-- Shining Nevit's Gold Hourglass Event -->
|
||||
<item id="80832" min="1" max="1" chance="8" /> <!-- Emperor's Special Cocktail Event -->
|
||||
<item id="81460" min="1" max="1" chance="8" /> <!-- Honey Dark Beer Event -->
|
||||
<item id="48755" min="1" max="1" chance="8" /> <!-- Glowing Dragon's Attribute Potion (XP) Event -->
|
||||
<!-- Reward 2 Resources chance="25" -->
|
||||
<item id="29469" min="1" max="1" chance="8.33" /> <!-- Enhanced Jewel Energy -->
|
||||
<item id="48831" min="1" max="1" chance="8.33" /> <!-- Jewel Energy -->
|
||||
<item id="48907" min="1" max="1" chance="8.34" /> <!-- Shillien's Soul Crystal Lv. 9 Weapon -->
|
||||
<!-- Reward 3 Bundle Items chance="15" -->
|
||||
<item id="47820" min="1" max="1" chance="7.5" /> <!-- Sayha's Talisman Pack Lv. 9 -->
|
||||
<item id="48861" min="1" max="1" chance="7.5" /> <!-- +9 Fallen Angel's Ring Pack -->
|
||||
<!-- Reward 4 R110 Weapons chance="10" -->
|
||||
<item id="80090" min="1" max="1" chance="0.71" /> <!-- Krishna Shaper -->
|
||||
<item id="80091" min="1" max="1" chance="0.71" /> <!-- Krishna Cutter -->
|
||||
<item id="80092" min="1" max="1" chance="0.71" /> <!-- Krishna Slasher -->
|
||||
<item id="80093" min="1" max="1" chance="0.71" /> <!-- Krishna Avenger -->
|
||||
<item id="80094" min="1" max="1" chance="0.71" /> <!-- Krishna Fighter -->
|
||||
<item id="80095" min="1" max="1" chance="0.71" /> <!-- Krishna Stormer -->
|
||||
<item id="80096" min="1" max="1" chance="0.71" /> <!-- Krishna Thrower -->
|
||||
<item id="80097" min="1" max="1" chance="0.71" /> <!-- Krishna Shooter -->
|
||||
<item id="80098" min="1" max="1" chance="0.72" /> <!-- Krishna Buster -->
|
||||
<item id="80099" min="1" max="1" chance="0.72" /> <!-- Krishna Caster -->
|
||||
<item id="80100" min="1" max="1" chance="0.72" /> <!-- Krishna Retributer -->
|
||||
<item id="80101" min="1" max="1" chance="0.72" /> <!-- Krishna Dual Swords -->
|
||||
<item id="80102" min="1" max="1" chance="0.72" /> <!-- Krishna Dual Daggers -->
|
||||
<item id="80103" min="1" max="1" chance="0.72" /> <!-- Krishna Dual Blunt Weapons -->
|
||||
<!-- Reward 5 R110 Armors chance="10" -->
|
||||
<item id="80104" min="1" max="1" chance="0.58" /> <!-- Leviathan Helmet - Heavy armor -->
|
||||
<item id="80105" min="1" max="1" chance="0.58" /> <!-- Leviathan Breastplate - Heavy armor -->
|
||||
<item id="80106" min="1" max="1" chance="0.58" /> <!-- Leviathan Gaiters - Heavy armor -->
|
||||
<item id="80107" min="1" max="1" chance="0.59" /> <!-- Leviathan Gauntlets - Heavy armor -->
|
||||
<item id="80108" min="1" max="1" chance="0.59" /> <!-- Leviathan Boots - Heavy armor -->
|
||||
<item id="80109" min="1" max="1" chance="0.59" /> <!-- Leviathan Shield -->
|
||||
<item id="80110" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Helmet - Light armor -->
|
||||
<item id="80111" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Armor - Light armor -->
|
||||
<item id="80112" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Leggings - Light armor -->
|
||||
<item id="80113" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Gloves - Light armor -->
|
||||
<item id="80114" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Boots - Light armor -->
|
||||
<item id="80115" min="1" max="1" chance="0.59" /> <!-- Leviathan Circlet - Robe -->
|
||||
<item id="80116" min="1" max="1" chance="0.59" /> <!-- Leviathan Tunic - Robe -->
|
||||
<item id="80117" min="1" max="1" chance="0.59" /> <!-- Leviathan Stockings - Robe -->
|
||||
<item id="80118" min="1" max="1" chance="0.59" /> <!-- Leviathan Gloves - Robe -->
|
||||
<item id="80119" min="1" max="1" chance="0.59" /> <!-- Leviathan Shoes - Robe -->
|
||||
<item id="80120" min="1" max="1" chance="0.59" /> <!-- Leviathan Sigil -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="81784" name="Blessed Angel's Necklace" type="Armor">
|
||||
<!-- When enchanted, the effect of common Angel's Accessories is applied, but the enchant value is treated as +1.\nWhen enchanted, increases CHA/ LUC, Infection Resistance/ Atk. Rate, Confusion Resistance/ Atk. Rate, Speed, Damage Reflection, Damage Reflection, P. Atk./ M. Atk./ P. Def./ M. Def. and Skill Power, also decreases Skill Cooldowns.\nThe item can be changed.\n\n<Enchanting>\nUse Scroll: Enchant Angel Accessory.\nCan be augmented. -->
|
||||
|
@@ -284,7 +284,7 @@
|
||||
<skill id="4390" level="1" /> <!-- Mystic Immunity -->
|
||||
</skillList>
|
||||
</npc>
|
||||
<npc id="13608" level="11" type="Monster" name="Sweet Watermelon">
|
||||
<npc id="13608" level="1" type="Monster" name="Sweet Watermelon">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>ETC</race>
|
||||
<sex>MALE</sex>
|
||||
@@ -298,13 +298,13 @@
|
||||
</speed>
|
||||
<hitTime>600</hitTime>
|
||||
</stats>
|
||||
<status attackable="true" />
|
||||
<status attackable="true" canMove="false" randomWalk="false" />
|
||||
<collision>
|
||||
<radius normal="11" />
|
||||
<height normal="22" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="13609" level="11" type="Monster" name="Prime Watermelon">
|
||||
<npc id="13609" level="1" type="Monster" name="Prime Watermelon">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>ETC</race>
|
||||
<sex>MALE</sex>
|
||||
@@ -318,13 +318,13 @@
|
||||
</speed>
|
||||
<hitTime>600</hitTime>
|
||||
</stats>
|
||||
<status attackable="true" />
|
||||
<status attackable="true" canMove="false" randomWalk="false" />
|
||||
<collision>
|
||||
<radius normal="17" />
|
||||
<height normal="35" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="13610" level="11" type="Monster" name="Large Prime Watermelon">
|
||||
<npc id="13610" level="1" type="Monster" name="Large Prime Watermelon">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>ETC</race>
|
||||
<sex>MALE</sex>
|
||||
@@ -338,7 +338,7 @@
|
||||
</speed>
|
||||
<hitTime>600</hitTime>
|
||||
</stats>
|
||||
<status attackable="true" />
|
||||
<status attackable="true" canMove="false" randomWalk="false" />
|
||||
<collision>
|
||||
<radius normal="30" />
|
||||
<height normal="60" />
|
||||
|
@@ -67,7 +67,68 @@
|
||||
<skill id="33928" toLevel="3" name="Dizzy Lv. 1">
|
||||
<!-- The body feels pleasant coolness, the head starts spinning. For $s1, damage +$s2, received damage -$s2. Note! 1. The effect remains after death. Cannot be used in the Olympiad/ Ceremony of Chaos. 2. The item or effect of the next level cannot be obtained if the characters is dead or too far away. 3. The item cannot be obtained if the inventory is full. 4. The effect can be removed with Alt+Mouse Left Click. -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<abnormalTime>
|
||||
<value level="1">3600</value>
|
||||
<value level="2">7200</value>
|
||||
<value level="3">14400</value>
|
||||
</abnormalTime>
|
||||
<abnormalLevel>1</abnormalLevel>
|
||||
<abnormalType>EVENT_BUFF</abnormalType>
|
||||
<abnormalVisualEffect>V_EVENT_2020_SUMMER_AVE</abnormalVisualEffect>
|
||||
<affectRange>1800</affectRange>
|
||||
<hitTime>1500</hitTime>
|
||||
<castRange>900</castRange>
|
||||
<isMagic>1</isMagic> <!-- Magic Skill -->
|
||||
<magicLevel>105</magicLevel>
|
||||
<operateType>A2</operateType>
|
||||
<reuseDelay>5000</reuseDelay>
|
||||
<magicCriticalRate>-5</magicCriticalRate>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>PARTY</affectScope>
|
||||
<affectObject>FRIEND</affectObject>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<blockedInOlympiad>true</blockedInOlympiad>
|
||||
<canBeDispelled>true</canBeDispelled>
|
||||
<conditions>
|
||||
<condition name="OpNotInEvent" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="PveMagicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvePhysicalAttackDamageBonus">
|
||||
<amount>10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvePhysicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvpPhysicalAttackDamageBonus">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvpMagicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvpPhysicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="DamageByAttack">
|
||||
<amount>-10</amount>
|
||||
<type>PK</type>
|
||||
</effect>
|
||||
<effect name="DamageByAttack">
|
||||
<amount>-10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="33929" toLevel="2" name="Dizzy Lv. 1">
|
||||
<!-- The body feels pleasant coolness, the head starts spinning. For $s1, damage +$s2, received damage -$s2. Note! 1. The effect remains after death. Cannot be used in the Olympiad/ Ceremony of Chaos. 2. The item or effect of the next level cannot be obtained if the characters is dead or too far away. 3. The item cannot be obtained if the inventory is full. 4. The effect can be removed with Alt+Mouse Left Click. -->
|
||||
|
@@ -661,8 +661,55 @@
|
||||
</skill>
|
||||
<skill id="39656" toLevel="1" name="Honey Dark Beer">
|
||||
<!-- All basic stats +$s1, Vitality bonus +$s2. The effect remains after death. Cooldown: 5 min. Cannot be used in the Olympiad. -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<icon>icon.bm_royal_black_beer</icon>
|
||||
<operateType>A2</operateType>
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
<coolTime>500</coolTime>
|
||||
<abnormalType>HONEY_BEER</abnormalType>
|
||||
<abnormalLevel>1</abnormalLevel>
|
||||
<abnormalTime>1800</abnormalTime>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<blockedInOlympiad>true</blockedInOlympiad>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<effects>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>STR</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>CON</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>DEX</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>INT</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>WIT</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>MEN</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>LUC</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>CHA</stat>
|
||||
</effect>
|
||||
<effect name="VitalityExpRate">
|
||||
<amount>30</amount>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39657" toLevel="1" name="Tower of Insolence's Prolongation Stone">
|
||||
<magicLevel>1</magicLevel>
|
||||
|
@@ -135,7 +135,36 @@
|
||||
<skill id="39714" toLevel="4" name="Fresh Watermelon Energy">
|
||||
<!-- Makes everything cooler. For $s1, damage +$s2, received damage -$s2. Note! 1. The effect remains after death. Cannot be used in the Olympiad/ Ceremony of Chaos. 2. The item or effect of the next level cannot be obtained if the characters is dead or too far away. 3. The item cannot be obtained if the inventory is full. 4. The effect can be removed with Alt+Mouse Left Click. -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<hitTime>500</hitTime>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>
|
||||
<value level="2">1</value>
|
||||
<value level="3">1</value>
|
||||
<value level="4">1</value>
|
||||
</itemConsumeCount>
|
||||
<itemConsumeId>81782</itemConsumeId> <!-- Watermelon seed -->
|
||||
<magicLevel>1</magicLevel>
|
||||
<operateType>A1</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>105</minLevel>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc" fromLevel="2" toLevel="4">
|
||||
<npcId>
|
||||
<value level="2">13608</value> <!-- Sweet Watermelon -->
|
||||
<value level="3">13609</value> <!-- Prime Watermelon -->
|
||||
<value level="4">13610</value> <!-- Large Prime Watermelon -->
|
||||
</npcId>
|
||||
<npcCount>1</npcCount>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39715" toLevel="1" name="Homunculus Upgrade Points - 10">
|
||||
<!-- Double-click to obtain 10 homunculus upgrade points. -->
|
||||
|
18
L2J_Mobius_10.2_MasterClass/dist/game/data/multisell/2450.xml
vendored
Normal file
18
L2J_Mobius_10.2_MasterClass/dist/game/data/multisell/2450.xml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34575</npc> <!-- Doo Doo Doo -->
|
||||
</npcs>
|
||||
<item>
|
||||
<ingredient id="81782" count="108" /> <!-- Watermelon Seed -->
|
||||
<production id="81781" count="1" /> <!-- Appearance Stone: Baby Shark Doo Doo Doo [Event] -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="81782" count="108" /> <!-- Watermelon Seed -->
|
||||
<production id="81776" count="1" /> <!-- Appearance Stone: Beach Swimsuit [Event] -->
|
||||
</item>
|
||||
<item>
|
||||
<ingredient id="81782" count="3" /> <!-- Watermelon Seed -->
|
||||
<production id="81783" count="1" /> <!-- Ice Box [Event] -->
|
||||
</item>
|
||||
</list>
|
8
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575-1.htm
vendored
Normal file
8
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575-1.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
<font color="LEVEL">Once a day!</font> Gift giveaway! Delicious watermelons!<br>
|
||||
Of course, you can only receive a Watermelon if you have a Watermelon Seed.<br>
|
||||
Oh, you don't know what I'm talking about, do you?<br>
|
||||
You can try it if you've reached <font color="LEVEL">Lv. 105 or higher</font>! <font color="LEVEL">(once a day per account)</font>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely getSeed"><font color="058fd8">Get one Watermelon Seed a day (Lv. 105+)</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
10
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575-2.htm
vendored
Normal file
10
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575-2.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
Calm down? Why? I might look a bit crazy, but I am in fact very calm!<br>
|
||||
You want to know more about the buff?<br>
|
||||
Well... I'll try to keep calm. Listen here! Woo-hoo!<br>
|
||||
1. When you use a <font color="058fd8">Watermelon Seed</font>, a Watermelon will appear. Its size is up to a chance!<br>
|
||||
2. The Watermelon will break open in 30 sec., but you can attack it and break it faster. When you do, you have a chance to receive a <font color="058fd8">buff</font> and an <font color="058fd8">Ice Box</font>.<br>
|
||||
3. <font color="058fd8">The bigger the Watermelon</font>, the longer you have to hit it until it breaks and the <font color="058fd8">higher</font> probability of receiving a buff and an Ice Box.<br>
|
||||
4. Be careful, <font color="LEVEL">you can't receive the buff and the reward if you are standing too far from the Watermelon</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
8
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575-3.htm
vendored
Normal file
8
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575-3.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
Huh? Hm...<br>
|
||||
Watermelons are tasty, aren't they? Once you start eating them, it's hard to stop!<br>
|
||||
To get a Watermelon Seed, join a <font color="LEVEL">clan</font> and complete a <font color="LEVEL">clan quest</font>.<br>
|
||||
If you've joined a clan during the event, click <font color="LEVEL">N</font> and then press the Clan Quests button.<br>
|
||||
Open the General and Events tabs of the main UI to learn more about the clan quests that have a <font color="058fd8">Watermelon Seed</font> as a reward.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
No-no-no! Bad!<br>
|
||||
Babies below Lv. 105 can't have watermelons! They'll upset their tummies!<br>
|
||||
<font color="LEVEL">Available to characters of Lv. 105 and higher.</font>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
Let's fight the summer heat together - the freshness of the watermelon will help us!<br>
|
||||
<font color="LEVEL">(1 time per day per account, reset at 06:30)</font>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575.htm">Back</Button>
|
||||
</body></html>
|
11
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575.htm
vendored
Normal file
11
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/34575.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<html><body>Baby Shark Doo Doo Doo:<br>
|
||||
it's not hot today, isn't it? Heh-heh...<br>
|
||||
A cold watermelon on a day like this would be a godsend, wouldn't it? Do you want to know who I am?<br>
|
||||
It's me! Baby Shark, doo doo doo doo doo doo! That is actually my name - Doo Doo Doo!<br>
|
||||
You've heard the song, right? Saw the video? Anyway, since it's summertime i've prepared <font color="LEVEL">Watermelon Seeds</font>!<br>
|
||||
You can receive one gift a day now.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575-1.htm"><font color="058fd8">Get one Watermelon Seed a day (Lv. 105+)</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575-2.htm">Tell to calm down and ask about the buff</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SmashItCompletely 34575-3.htm">Tell to calm down and ask about Watermelon Seeds</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2450">Exchange Watermelon Seeds</Button>
|
||||
</body></html>
|
297
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/SmashItCompletely.java
vendored
Normal file
297
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/SmashItCompletely.java
vendored
Normal file
@@ -0,0 +1,297 @@
|
||||
/*
|
||||
* 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.SmashItCompletely;
|
||||
|
||||
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.gameserver.enums.ChatType;
|
||||
import org.l2jmobius.gameserver.model.World;
|
||||
import org.l2jmobius.gameserver.model.actor.Attackable;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.Player;
|
||||
import org.l2jmobius.gameserver.model.events.EventType;
|
||||
import org.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||
import org.l2jmobius.gameserver.model.events.annotations.Id;
|
||||
import org.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||
import org.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||
import org.l2jmobius.gameserver.model.events.impl.item.OnItemUse;
|
||||
import org.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
import org.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
import org.l2jmobius.gameserver.model.skill.SkillCaster;
|
||||
import org.l2jmobius.gameserver.network.NpcStringId;
|
||||
import org.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.NpcSay;
|
||||
import org.l2jmobius.gameserver.util.Broadcast;
|
||||
|
||||
/**
|
||||
* @URL https://l2central.info/main/events_and_promos/1444.html
|
||||
* @author CostyKiller
|
||||
* @apiNote You need to edit client file to add additional seed rewards to clan missions.
|
||||
* @TODO Fix autoloot and self destruction skill for melons.
|
||||
*/
|
||||
public class SmashItCompletely extends LongTimeEvent
|
||||
{
|
||||
// NPCs
|
||||
private static final int DOODOODOO = 34575; // Baby Shark Doo Doo Doo
|
||||
private static final int SWEET_WATERMELON = 13608;
|
||||
private static final int PRIME_WATERMELON = 13609;
|
||||
private static final int LARGE_PRIME_WATERMELON = 13610;
|
||||
// Items
|
||||
private static final int WATERMELON_SEED = 81782;
|
||||
private static final int ICE_BOX = 81783;
|
||||
// Skills
|
||||
private static final SkillHolder[] SKILLS =
|
||||
{
|
||||
new SkillHolder(39714, 2), // Sweet Watermelon
|
||||
new SkillHolder(39714, 3), // Prime Watermelon
|
||||
new SkillHolder(39714, 4), // Large Prime Watermelon
|
||||
new SkillHolder(33927, 1), // Watermelon Burst
|
||||
};
|
||||
// Buffs
|
||||
private static final SkillHolder[] BUFFS =
|
||||
{
|
||||
new SkillHolder(33928, 1), // Dizzy Lv. 1 = 1 hour
|
||||
new SkillHolder(33928, 2), // Dizzy Lv. 2 = 2 hours
|
||||
new SkillHolder(33928, 3), // Dizzy Lv. 3 = 3 hours
|
||||
};
|
||||
// Misc
|
||||
private static final String SMASH_IT_COMPLETELY_VAR = "SMASH_IT_COMPLETELY_SEED_RECEIVED";
|
||||
private static final int PLAYER_LEVEL = 105;
|
||||
private static final NpcStringId[] DOODOODOO_TEXT =
|
||||
{
|
||||
NpcStringId.HERE_COMES_BABY_SHARK_DOO_DOO_DOO,
|
||||
NpcStringId.HEY_I_WANT_A_WATERMELON_TOO
|
||||
};
|
||||
// Chances for higher quality watermelons
|
||||
private static final int LARGE_PRIME_WATERMELON_SUMMON_CHANCE = 15; // Large Watermelon summon chance
|
||||
private static final int PRIME_WATERMELON_SUMMON_CHANCE = 40; // Prime Watermelon summon chance
|
||||
// Chances to get Dizzy buff
|
||||
private static final int LARGE_PRIME_WATERMELON_BUFF_CHANCE = 80; // Large Watermelon buff chance
|
||||
private static final int PRIME_WATERMELON_BUFF_CHANCE = 60; // Prime Watermelon buff chance
|
||||
private static final int SWEET_WATERMELON_BUFF_CHANCE = 40; // Sweet Watermelon buff chance
|
||||
|
||||
public SmashItCompletely()
|
||||
{
|
||||
addStartNpc(DOODOODOO);
|
||||
addFirstTalkId(DOODOODOO);
|
||||
addTalkId(DOODOODOO);
|
||||
addSpawnId(DOODOODOO, SWEET_WATERMELON, PRIME_WATERMELON, LARGE_PRIME_WATERMELON);
|
||||
addKillId(SWEET_WATERMELON, PRIME_WATERMELON, LARGE_PRIME_WATERMELON);
|
||||
|
||||
startQuestTimer("schedule", 1000, null, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, Player player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "getSeed":
|
||||
{
|
||||
if (npc.getId() != DOODOODOO)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (player.getLevel() < PLAYER_LEVEL)
|
||||
{
|
||||
htmltext = "34575-no-level.htm";
|
||||
break;
|
||||
}
|
||||
if (player.getAccountVariables().getBoolean(SMASH_IT_COMPLETELY_VAR, false))
|
||||
{
|
||||
player.sendMessage("This account has already received a seed. An account can receive a seed only once a day.");
|
||||
break;
|
||||
}
|
||||
|
||||
giveItems(player, WATERMELON_SEED, 1);
|
||||
player.getAccountVariables().set(SMASH_IT_COMPLETELY_VAR, true);
|
||||
player.getAccountVariables().storeMe();
|
||||
htmltext = "34575-successful.htm";
|
||||
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() - System.currentTimeMillis(), null, null);
|
||||
break;
|
||||
}
|
||||
case "reset":
|
||||
{
|
||||
if (isEventPeriod())
|
||||
{
|
||||
// Update data for offline players.
|
||||
try (Connection con = DatabaseFactory.getConnection();
|
||||
PreparedStatement ps = con.prepareStatement("DELETE FROM account_gsdata WHERE var=?"))
|
||||
{
|
||||
ps.setString(1, SMASH_IT_COMPLETELY_VAR);
|
||||
ps.executeUpdate();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.log(Level.SEVERE, "Could not reset Smash It Completely Event var: ", e);
|
||||
}
|
||||
|
||||
// Update data for online players.
|
||||
for (Player plr : World.getInstance().getPlayers())
|
||||
{
|
||||
plr.getAccountVariables().remove(SMASH_IT_COMPLETELY_VAR);
|
||||
plr.getAccountVariables().storeMe();
|
||||
}
|
||||
}
|
||||
cancelQuestTimers("schedule");
|
||||
startQuestTimer("schedule", 1000, null, null);
|
||||
break;
|
||||
}
|
||||
case "DOODOODOO_SHOUT":
|
||||
{
|
||||
Broadcast.toKnownPlayersInRadius(npc, new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), getRandomEntry(DOODOODOO_TEXT)), 1000);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(Npc npc, Player player)
|
||||
{
|
||||
return npc.getId() + ".htm";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(Npc npc, Player killer, boolean isPet)
|
||||
{
|
||||
if (killer.getSummonedNpc(npc.getObjectId()) == null)
|
||||
{
|
||||
killer.sendMessage("You must grow your own watermelon to get reward.");
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SWEET_WATERMELON:
|
||||
{
|
||||
if (getRandom(100) < SWEET_WATERMELON_BUFF_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(killer, killer, BUFFS[0].getSkill());
|
||||
}
|
||||
break;
|
||||
}
|
||||
case PRIME_WATERMELON:
|
||||
{
|
||||
if (getRandom(100) < PRIME_WATERMELON_BUFF_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(killer, killer, BUFFS[1].getSkill());
|
||||
}
|
||||
if (killer.isInventoryUnder80(false))
|
||||
{
|
||||
killer.doAutoLoot((Attackable) npc, ICE_BOX, 1); // Prime Watermelon Ice Box x1
|
||||
}
|
||||
else
|
||||
{
|
||||
killer.sendPacket(SystemMessageId.NOT_ENOUGH_SPACE_IN_THE_INVENTORY_UNABLE_TO_PROCESS_THIS_REQUEST_UNTIL_YOUR_INVENTORY_S_WEIGHT_AND_SLOT_COUNT_ARE_LESS_THAN_80_PERCENT_OF_CAPACITY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LARGE_PRIME_WATERMELON:
|
||||
{
|
||||
if (getRandom(100) < LARGE_PRIME_WATERMELON_BUFF_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(killer, killer, BUFFS[2].getSkill());
|
||||
}
|
||||
if (killer.isInventoryUnder80(false))
|
||||
{
|
||||
killer.doAutoLoot((Attackable) npc, ICE_BOX, 2); // Large Prime Watermelon Ice Box x2
|
||||
}
|
||||
else
|
||||
{
|
||||
killer.sendPacket(SystemMessageId.NOT_ENOUGH_SPACE_IN_THE_INVENTORY_UNABLE_TO_PROCESS_THIS_REQUEST_UNTIL_YOUR_INVENTORY_S_WEIGHT_AND_SLOT_COUNT_ARE_LESS_THAN_80_PERCENT_OF_CAPACITY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return super.onKill(npc, killer, isPet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSpawn(Npc npc)
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DOODOODOO:
|
||||
{
|
||||
startQuestTimer("DOODOODOO_SHOUT", (5 * 60 * 1000), npc, null, true); // Spam texts every 5 min
|
||||
break;
|
||||
}
|
||||
case SWEET_WATERMELON:
|
||||
case PRIME_WATERMELON:
|
||||
case LARGE_PRIME_WATERMELON:
|
||||
{
|
||||
SkillCaster.triggerCast(npc, npc, BUFFS[3].getSkill()); // TODO: FIX death skill.
|
||||
break;
|
||||
}
|
||||
}
|
||||
return super.onSpawn(npc);
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_ITEM_USE)
|
||||
@RegisterType(ListenerRegisterType.ITEM)
|
||||
@Id(81782) // Watermelon Seed
|
||||
public void onItemUse(OnItemUse event)
|
||||
{
|
||||
if (isEventPeriod())
|
||||
{
|
||||
final Player player = event.getPlayer();
|
||||
for (SkillHolder skill : BUFFS)
|
||||
{
|
||||
if (player.isAffectedBySkill(skill))
|
||||
{
|
||||
player.sendMessage("You must remove current Dizzy buff effect to be able to grow another watermelon.");
|
||||
player.getInventory().addItem("Watermelon Seed refund", event.getItem().getId(), 1, player, player);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
final int chance = getRandom(100);
|
||||
if (chance < LARGE_PRIME_WATERMELON_SUMMON_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(player, player, SKILLS[2].getSkill());
|
||||
}
|
||||
else if (chance < PRIME_WATERMELON_SUMMON_CHANCE)
|
||||
{
|
||||
SkillCaster.triggerCast(player, player, SKILLS[1].getSkill());
|
||||
}
|
||||
else
|
||||
{
|
||||
SkillCaster.triggerCast(player, player, SKILLS[0].getSkill());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new SmashItCompletely();
|
||||
}
|
||||
}
|
34
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/config.xml
vendored
Normal file
34
L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/events/SmashItCompletely/config.xml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Smash It Completely" active="24 08 2022-21 09 2022" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<spawnlist>
|
||||
<add npc="34575" x="-14143" y="123127" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="34575" x="16294" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="34575" x="80814" y="148037" z="-3448" heading="3355" /> <!-- Giran -->
|
||||
<add npc="34575" x="81998" y="53924" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="34575" x="147407" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
|
||||
<add npc="34575" x="112172" y="220397" z="-3648" heading="30708" /> <!-- Heine -->
|
||||
<add npc="34575" x="148161" y="-57392" z="-2752" heading="17863" /> <!-- Goddard -->
|
||||
<add npc="34575" x="44470" y="-48378" z="-776" heading="14450" /> <!-- Rune -->
|
||||
<add npc="34575" x="86940" y="-141315" z="-1336" heading="53153" /> <!-- Schuttgart -->
|
||||
<add npc="34575" x="-114772" y="256375" z="-1472" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="34575" x="-78792" y="249165" z="-3272" heading="56380" /> <!-- Faeron Village -->
|
||||
<add npc="34575" x="-80535" y="149537" z="-3016" heading="16383" /> <!-- Gludin -->
|
||||
<add npc="34575" x="117420" y="76654" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
<add npc="34575" x="208479" y="87693" z="-1006" heading="28764" /> <!-- Arcan -->
|
||||
</spawnlist>
|
||||
<destroyItemsOnEnd>
|
||||
<item id="48755" /> <!-- Glowing Dragon's Attribute Potion (XP) Event -->
|
||||
<item id="80612" /> <!-- Freya's Ice Rose Event -->
|
||||
<item id="80797" /> <!-- Shining Nevit's Gold Hourglass Event -->
|
||||
<item id="80832" /> <!-- Emperor's Special Cocktail Event -->
|
||||
<item id="81460" /> <!-- Honey Dark Beer Event -->
|
||||
<item id="81776" /> <!-- Appearance Stone: Beach Swimsuit Event -->
|
||||
<item id="81781" /> <!-- Appearance Stone: Baby Shark Doo Doo Doo Event -->
|
||||
<item id="81782" /> <!-- Watermelon Seed Event -->
|
||||
<item id="81783" /> <!-- Ice Box Event -->
|
||||
</destroyItemsOnEnd>
|
||||
<messages>
|
||||
<add type="onEnd" text="[Event] Smash It Completely has ended!" />
|
||||
<add type="onEnter" text="[Event] Smash It Completely (until September 21)" />
|
||||
</messages>
|
||||
</event>
|
@@ -1075,20 +1075,36 @@
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81777" name="Appearance Stone: Alluring Swimsuit" type="EtcItem">
|
||||
<!-- Changes the appearance of the entire armor to that of Alluring Swimsuit. Modified armor can be restored to its original appearance with Restoration Stone. -->
|
||||
<set name="icon" val="BranchSys3.lcon.g_scrl_change_co_swimsuit_01" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="material" val="STEEL" />
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81778" name="Appearance Stone: Seductive Swimsuit" type="EtcItem">
|
||||
<!-- Changes the appearance of the entire armor to that of Seductive Swimsuit. Modified armor can be restored to its original appearance with Restoration Stone. -->
|
||||
<set name="icon" val="BranchSys3.lcon.g_scrl_change_co_swimsuit_01" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="material" val="STEEL" />
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81779" name="Bag of Shining Gold" type="EtcItem">
|
||||
<!-- A bag full of valuable presents. Double-click to obtain one rare item with a certain chance. -->
|
||||
@@ -1120,6 +1136,10 @@
|
||||
<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="immediate_effect" val="true" />
|
||||
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
|
||||
<set name="handler" val="Appearance" />
|
||||
</item>
|
||||
<item id="81782" name="Watermelon Seed" additionalName="Event" type="EtcItem">
|
||||
<!-- You get a fresh Watermelon. If the Watermelon is crashed, there is a certain chance to obtain a buff and Ice Box. The effect duration and a number of Ice Boxes depend on the Watermelon size. -->
|
||||
@@ -1127,16 +1147,74 @@
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="material" val="LIQUID" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39714" level="1" /> <!-- Fresh Watermelon Energy -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="81783" name="Ice Box" additionalName="Event" type="EtcItem">
|
||||
<!-- It can help to survive the hot summer time. Double-click to obtain supplies and equipment. -->
|
||||
<set name="icon" val="icon.ev_2020_summer_box" />
|
||||
<set name="default_action" val="PEEL" />
|
||||
<set name="default_action" val="CAPSULE" />
|
||||
<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="extractableCountMin" val="1" />
|
||||
<set name="extractableCountMax" val="1" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<!-- Reward 1 Potions chance="40" -->
|
||||
<item id="80612" min="1" max="1" chance="8" /> <!-- Freya's Ice Rose Event -->
|
||||
<item id="80797" min="1" max="1" chance="8" /> <!-- Shining Nevit's Gold Hourglass Event -->
|
||||
<item id="80832" min="1" max="1" chance="8" /> <!-- Emperor's Special Cocktail Event -->
|
||||
<item id="81460" min="1" max="1" chance="8" /> <!-- Honey Dark Beer Event -->
|
||||
<item id="48755" min="1" max="1" chance="8" /> <!-- Glowing Dragon's Attribute Potion (XP) Event -->
|
||||
<!-- Reward 2 Resources chance="25" -->
|
||||
<item id="29469" min="1" max="1" chance="8.33" /> <!-- Enhanced Jewel Energy -->
|
||||
<item id="48831" min="1" max="1" chance="8.33" /> <!-- Jewel Energy -->
|
||||
<item id="48907" min="1" max="1" chance="8.34" /> <!-- Shillien's Soul Crystal Lv. 9 Weapon -->
|
||||
<!-- Reward 3 Bundle Items chance="15" -->
|
||||
<item id="47820" min="1" max="1" chance="7.5" /> <!-- Sayha's Talisman Pack Lv. 9 -->
|
||||
<item id="48861" min="1" max="1" chance="7.5" /> <!-- +9 Fallen Angel's Ring Pack -->
|
||||
<!-- Reward 4 R110 Weapons chance="10" -->
|
||||
<item id="80090" min="1" max="1" chance="0.71" /> <!-- Krishna Shaper -->
|
||||
<item id="80091" min="1" max="1" chance="0.71" /> <!-- Krishna Cutter -->
|
||||
<item id="80092" min="1" max="1" chance="0.71" /> <!-- Krishna Slasher -->
|
||||
<item id="80093" min="1" max="1" chance="0.71" /> <!-- Krishna Avenger -->
|
||||
<item id="80094" min="1" max="1" chance="0.71" /> <!-- Krishna Fighter -->
|
||||
<item id="80095" min="1" max="1" chance="0.71" /> <!-- Krishna Stormer -->
|
||||
<item id="80096" min="1" max="1" chance="0.71" /> <!-- Krishna Thrower -->
|
||||
<item id="80097" min="1" max="1" chance="0.71" /> <!-- Krishna Shooter -->
|
||||
<item id="80098" min="1" max="1" chance="0.72" /> <!-- Krishna Buster -->
|
||||
<item id="80099" min="1" max="1" chance="0.72" /> <!-- Krishna Caster -->
|
||||
<item id="80100" min="1" max="1" chance="0.72" /> <!-- Krishna Retributer -->
|
||||
<item id="80101" min="1" max="1" chance="0.72" /> <!-- Krishna Dual Swords -->
|
||||
<item id="80102" min="1" max="1" chance="0.72" /> <!-- Krishna Dual Daggers -->
|
||||
<item id="80103" min="1" max="1" chance="0.72" /> <!-- Krishna Dual Blunt Weapons -->
|
||||
<!-- Reward 5 R110 Armors chance="10" -->
|
||||
<item id="80104" min="1" max="1" chance="0.58" /> <!-- Leviathan Helmet - Heavy armor -->
|
||||
<item id="80105" min="1" max="1" chance="0.58" /> <!-- Leviathan Breastplate - Heavy armor -->
|
||||
<item id="80106" min="1" max="1" chance="0.58" /> <!-- Leviathan Gaiters - Heavy armor -->
|
||||
<item id="80107" min="1" max="1" chance="0.59" /> <!-- Leviathan Gauntlets - Heavy armor -->
|
||||
<item id="80108" min="1" max="1" chance="0.59" /> <!-- Leviathan Boots - Heavy armor -->
|
||||
<item id="80109" min="1" max="1" chance="0.59" /> <!-- Leviathan Shield -->
|
||||
<item id="80110" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Helmet - Light armor -->
|
||||
<item id="80111" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Armor - Light armor -->
|
||||
<item id="80112" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Leggings - Light armor -->
|
||||
<item id="80113" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Gloves - Light armor -->
|
||||
<item id="80114" min="1" max="1" chance="0.59" /> <!-- Leviathan Leather Boots - Light armor -->
|
||||
<item id="80115" min="1" max="1" chance="0.59" /> <!-- Leviathan Circlet - Robe -->
|
||||
<item id="80116" min="1" max="1" chance="0.59" /> <!-- Leviathan Tunic - Robe -->
|
||||
<item id="80117" min="1" max="1" chance="0.59" /> <!-- Leviathan Stockings - Robe -->
|
||||
<item id="80118" min="1" max="1" chance="0.59" /> <!-- Leviathan Gloves - Robe -->
|
||||
<item id="80119" min="1" max="1" chance="0.59" /> <!-- Leviathan Shoes - Robe -->
|
||||
<item id="80120" min="1" max="1" chance="0.59" /> <!-- Leviathan Sigil -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="81784" name="Blessed Angel's Necklace" type="Armor">
|
||||
<!-- When enchanted, the effect of common Angel's Accessories is applied, but the enchant value is treated as +1. When enchanted, increases CHA/ LUC, Infection Resistance/ Atk. Rate, Confusion Resistance/ Atk. Rate, Speed, Damage Reflection, Damage Reflection, P. Atk./ M. Atk./ P. Def./ M. Def. and Skill Power, also decreases Skill Cooldowns. The item can be changed. <Enchanting> Use Scroll: Enchant Angel Accessory. Can be augmented. -->
|
||||
|
@@ -284,7 +284,7 @@
|
||||
<skill id="4390" level="1" /> <!-- Mystic Immunity -->
|
||||
</skillList>
|
||||
</npc>
|
||||
<npc id="13608" level="11" type="Monster" name="Sweet Watermelon">
|
||||
<npc id="13608" level="1" type="Monster" name="Sweet Watermelon">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>ETC</race>
|
||||
<sex>MALE</sex>
|
||||
@@ -298,13 +298,13 @@
|
||||
</speed>
|
||||
<hitTime>600</hitTime>
|
||||
</stats>
|
||||
<status attackable="true" />
|
||||
<status attackable="true" canMove="false" randomWalk="false" />
|
||||
<collision>
|
||||
<radius normal="11" />
|
||||
<height normal="22" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="13609" level="11" type="Monster" name="Prime Watermelon">
|
||||
<npc id="13609" level="1" type="Monster" name="Prime Watermelon">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>ETC</race>
|
||||
<sex>MALE</sex>
|
||||
@@ -318,13 +318,13 @@
|
||||
</speed>
|
||||
<hitTime>600</hitTime>
|
||||
</stats>
|
||||
<status attackable="true" />
|
||||
<status attackable="true" canMove="false" randomWalk="false" />
|
||||
<collision>
|
||||
<radius normal="17" />
|
||||
<height normal="35" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="13610" level="11" type="Monster" name="Large Prime Watermelon">
|
||||
<npc id="13610" level="1" type="Monster" name="Large Prime Watermelon">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>ETC</race>
|
||||
<sex>MALE</sex>
|
||||
@@ -338,7 +338,7 @@
|
||||
</speed>
|
||||
<hitTime>600</hitTime>
|
||||
</stats>
|
||||
<status attackable="true" />
|
||||
<status attackable="true" canMove="false" randomWalk="false" />
|
||||
<collision>
|
||||
<radius normal="30" />
|
||||
<height normal="60" />
|
||||
|
@@ -67,7 +67,68 @@
|
||||
<skill id="33928" toLevel="3" name="Dizzy Lv. 1">
|
||||
<!-- The body feels pleasant coolness, the head starts spinning. For $s1, damage +$s2, received damage -$s2. Note! 1. The effect remains after death. Cannot be used in the Olympiad/ Ceremony of Chaos. 2. The item or effect of the next level cannot be obtained if the characters is dead or too far away. 3. The item cannot be obtained if the inventory is full. 4. The effect can be removed with Alt+Mouse Left Click. -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<abnormalTime>
|
||||
<value level="1">3600</value>
|
||||
<value level="2">7200</value>
|
||||
<value level="3">14400</value>
|
||||
</abnormalTime>
|
||||
<abnormalLevel>1</abnormalLevel>
|
||||
<abnormalType>EVENT_BUFF</abnormalType>
|
||||
<abnormalVisualEffect>V_EVENT_2020_SUMMER_AVE</abnormalVisualEffect>
|
||||
<affectRange>1800</affectRange>
|
||||
<hitTime>1500</hitTime>
|
||||
<castRange>900</castRange>
|
||||
<isMagic>1</isMagic> <!-- Magic Skill -->
|
||||
<magicLevel>105</magicLevel>
|
||||
<operateType>A2</operateType>
|
||||
<reuseDelay>5000</reuseDelay>
|
||||
<magicCriticalRate>-5</magicCriticalRate>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>PARTY</affectScope>
|
||||
<affectObject>FRIEND</affectObject>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<blockedInOlympiad>true</blockedInOlympiad>
|
||||
<canBeDispelled>true</canBeDispelled>
|
||||
<conditions>
|
||||
<condition name="OpNotInEvent" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="PveMagicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvePhysicalAttackDamageBonus">
|
||||
<amount>10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvePhysicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvpPhysicalAttackDamageBonus">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvpMagicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="PvpPhysicalSkillDamageBonus">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="DamageByAttack">
|
||||
<amount>-10</amount>
|
||||
<type>PK</type>
|
||||
</effect>
|
||||
<effect name="DamageByAttack">
|
||||
<amount>-10</amount>
|
||||
<type>ENEMY_ALL</type>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="33929" toLevel="2" name="Dizzy Lv. 1">
|
||||
<!-- The body feels pleasant coolness, the head starts spinning. For $s1, damage +$s2, received damage -$s2. Note! 1. The effect remains after death. Cannot be used in the Olympiad/ Ceremony of Chaos. 2. The item or effect of the next level cannot be obtained if the characters is dead or too far away. 3. The item cannot be obtained if the inventory is full. 4. The effect can be removed with Alt+Mouse Left Click. -->
|
||||
|
@@ -661,8 +661,55 @@
|
||||
</skill>
|
||||
<skill id="39656" toLevel="1" name="Honey Dark Beer">
|
||||
<!-- All basic stats +$s1, Vitality bonus +$s2. The effect remains after death. Cooldown: 5 min. Cannot be used in the Olympiad. -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<icon>icon.bm_royal_black_beer</icon>
|
||||
<operateType>A2</operateType>
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
<coolTime>500</coolTime>
|
||||
<abnormalType>HONEY_BEER</abnormalType>
|
||||
<abnormalLevel>1</abnormalLevel>
|
||||
<abnormalTime>1800</abnormalTime>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<blockedInOlympiad>true</blockedInOlympiad>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<effects>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>STR</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>CON</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>DEX</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>INT</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>WIT</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>MEN</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>LUC</stat>
|
||||
</effect>
|
||||
<effect name="StatUp">
|
||||
<amount>3</amount>
|
||||
<stat>CHA</stat>
|
||||
</effect>
|
||||
<effect name="VitalityExpRate">
|
||||
<amount>30</amount>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39657" toLevel="2" name="Tower of Insolence's Time Stone">
|
||||
<magicLevel>1</magicLevel>
|
||||
|
@@ -135,7 +135,36 @@
|
||||
<skill id="39714" toLevel="4" name="Fresh Watermelon Energy">
|
||||
<!-- Makes everything cooler. For $s1, damage +$s2, received damage -$s2. Note! 1. The effect remains after death. Cannot be used in the Olympiad/ Ceremony of Chaos. 2. The item or effect of the next level cannot be obtained if the characters is dead or too far away. 3. The item cannot be obtained if the inventory is full. 4. The effect can be removed with Alt+Mouse Left Click. -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<hitTime>500</hitTime>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>
|
||||
<value level="2">1</value>
|
||||
<value level="3">1</value>
|
||||
<value level="4">1</value>
|
||||
</itemConsumeCount>
|
||||
<itemConsumeId>81782</itemConsumeId> <!-- Watermelon seed -->
|
||||
<magicLevel>1</magicLevel>
|
||||
<operateType>A1</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>105</minLevel>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc" fromLevel="2" toLevel="4">
|
||||
<npcId>
|
||||
<value level="2">13608</value> <!-- Sweet Watermelon -->
|
||||
<value level="3">13609</value> <!-- Prime Watermelon -->
|
||||
<value level="4">13610</value> <!-- Large Prime Watermelon -->
|
||||
</npcId>
|
||||
<npcCount>1</npcCount>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39715" toLevel="1" name="Homunculus Upgrade Points - 10">
|
||||
<!-- Double-click to obtain 10 homunculus upgrade points. -->
|
||||
|
Reference in New Issue
Block a user