Halloween event.

This commit is contained in:
MobiusDev 2017-10-12 01:36:13 +00:00
parent 17aaeeb11b
commit cd29ff55d7
15 changed files with 345 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>13135</npc> <!-- Pumpkin Ghost -->
</npcs>
<item>
<ingredient count="1" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22385" /> <!-- Halloween Cookie -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="26252" /> <!-- Halloween Outfit Appearance Stone -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22384" /> <!-- Halloween Broomstic Mount -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22390" /> <!-- Halloween Cloak -->
</item>
</list>

View File

@ -0,0 +1,8 @@
<html><body>Pumpkin Ghost:<br>
A bowl of candy, a bag of treats,<br1>
a dish of tasty, sugary sweets,<br1>
when witches go riding, and black cats are seen,<br1>
the moon laughs and whispers...<br>
Tis near Halloween!<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 1313501">"I want to trade pumpkins."</Button>
</body></html>

View File

@ -0,0 +1,48 @@
/*
* 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.Halloween;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
/**
* @author Mobius
*/
public class Halloween extends LongTimeEvent
{
// NPC
private static final int PUMPKIN_GHOST = 13135;
private Halloween()
{
addStartNpc(PUMPKIN_GHOST);
addFirstTalkId(PUMPKIN_GHOST);
addTalkId(PUMPKIN_GHOST);
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "13135-01.htm";
}
public static void main(String[] args)
{
new Halloween();
}
}

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Halloween" active="05 09 2014-22 10 2014" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<droplist>
<add item="15461" min="1" max="1" chance="1%" /> <!-- Halloween Nectar Pumpkin -->
<add item="15462" min="1" max="1" chance="1%" /> <!-- Halloween King Pumpkin -->
<add item="15463" min="1" max="1" chance="5%" /> <!-- Small Halloween Pumpkin -->
</droplist>
<spawnlist>
<add npc="13135" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
<add npc="13135" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
<add npc="13135" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
<add npc="13135" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
<add npc="13135" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
<add npc="13135" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
<add npc="13135" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
<add npc="13135" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
<add npc="13135" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
<add npc="13135" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
<add npc="13135" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
<add npc="13135" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
<add npc="13135" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
<add npc="13135" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
</spawnlist>
<messages>
<add type="onEnd" text="Halloween: Event end!" />
<add type="onEnter" text="Halloween: Event ongoing!" />
</messages>
</event>

View File

@ -1040,6 +1040,7 @@
<set name="is_commissionable" val="false" />
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
<set name="is_stackable" val="true" />
<set name="handler" val="Appearance" />
</item>
<item id="26253" name="Halloween Weapon Appearance Stone" type="EtcItem">
<!-- Changes the appearance of a weapon to that of a Halloween weapon. Can be used on shields and sigils. The Halloween Skill is applied when the appearance is changed. Note: Appearance may reset when the Change Weapon skill is used. -->
@ -1047,7 +1048,9 @@
<set name="is_freightable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_commissionable" val="false" />
<set name="etcitem_type" val="SHAPE_SHIFTING_WP_FIXED" />
<set name="is_stackable" val="true" />
<set name="handler" val="Appearance" />
</item>
<item id="26254" name="Halloween Outfit" type="Armor">
<!-- Halloween outfit. -->

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>13135</npc> <!-- Pumpkin Ghost -->
</npcs>
<item>
<ingredient count="1" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22385" /> <!-- Halloween Cookie -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="26252" /> <!-- Halloween Outfit Appearance Stone -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22384" /> <!-- Halloween Broomstic Mount -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22390" /> <!-- Halloween Cloak -->
</item>
</list>

View File

@ -0,0 +1,8 @@
<html><body>Pumpkin Ghost:<br>
A bowl of candy, a bag of treats,<br1>
a dish of tasty, sugary sweets,<br1>
when witches go riding, and black cats are seen,<br1>
the moon laughs and whispers...<br>
Tis near Halloween!<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 1313501">"I want to trade pumpkins."</Button>
</body></html>

View File

@ -0,0 +1,48 @@
/*
* 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.Halloween;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
/**
* @author Mobius
*/
public class Halloween extends LongTimeEvent
{
// NPC
private static final int PUMPKIN_GHOST = 13135;
private Halloween()
{
addStartNpc(PUMPKIN_GHOST);
addFirstTalkId(PUMPKIN_GHOST);
addTalkId(PUMPKIN_GHOST);
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "13135-01.htm";
}
public static void main(String[] args)
{
new Halloween();
}
}

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Halloween" active="05 09 2014-22 10 2014" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<droplist>
<add item="15461" min="1" max="1" chance="1%" /> <!-- Halloween Nectar Pumpkin -->
<add item="15462" min="1" max="1" chance="1%" /> <!-- Halloween King Pumpkin -->
<add item="15463" min="1" max="1" chance="5%" /> <!-- Small Halloween Pumpkin -->
</droplist>
<spawnlist>
<add npc="13135" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
<add npc="13135" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
<add npc="13135" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
<add npc="13135" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
<add npc="13135" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
<add npc="13135" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
<add npc="13135" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
<add npc="13135" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
<add npc="13135" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
<add npc="13135" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
<add npc="13135" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
<add npc="13135" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
<add npc="13135" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
<add npc="13135" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
</spawnlist>
<messages>
<add type="onEnd" text="Halloween: Event end!" />
<add type="onEnter" text="Halloween: Event ongoing!" />
</messages>
</event>

View File

@ -1040,6 +1040,7 @@
<set name="is_commissionable" val="false" />
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
<set name="is_stackable" val="true" />
<set name="handler" val="Appearance" />
</item>
<item id="26253" name="Halloween Weapon Appearance Stone" type="EtcItem">
<!-- Changes the appearance of a weapon to that of a Halloween weapon. Can be used on shields and sigils. The Halloween Skill is applied when the appearance is changed. Note: Appearance may reset when the Change Weapon skill is used. -->
@ -1047,7 +1048,9 @@
<set name="is_freightable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_commissionable" val="false" />
<set name="etcitem_type" val="SHAPE_SHIFTING_WP_FIXED" />
<set name="is_stackable" val="true" />
<set name="handler" val="Appearance" />
</item>
<item id="26254" name="Halloween Outfit" type="Armor">
<!-- Halloween outfit. -->

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>13135</npc> <!-- Pumpkin Ghost -->
</npcs>
<item>
<ingredient count="1" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22385" /> <!-- Halloween Cookie -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="26252" /> <!-- Halloween Outfit Appearance Stone -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22384" /> <!-- Halloween Broomstic Mount -->
</item>
<item>
<ingredient count="100" id="15461" /> <!-- Halloween Nectar Pumpkin -->
<ingredient count="100" id="15462" /> <!-- Halloween King Pumpkin -->
<ingredient count="500" id="15463" /> <!-- Small Halloween Pumpkin -->
<production count="1" id="22390" /> <!-- Halloween Cloak -->
</item>
</list>

View File

@ -0,0 +1,8 @@
<html><body>Pumpkin Ghost:<br>
A bowl of candy, a bag of treats,<br1>
a dish of tasty, sugary sweets,<br1>
when witches go riding, and black cats are seen,<br1>
the moon laughs and whispers...<br>
Tis near Halloween!<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 1313501">"I want to trade pumpkins."</Button>
</body></html>

View File

@ -0,0 +1,48 @@
/*
* 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.Halloween;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
/**
* @author Mobius
*/
public class Halloween extends LongTimeEvent
{
// NPC
private static final int PUMPKIN_GHOST = 13135;
private Halloween()
{
addStartNpc(PUMPKIN_GHOST);
addFirstTalkId(PUMPKIN_GHOST);
addTalkId(PUMPKIN_GHOST);
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return "13135-01.htm";
}
public static void main(String[] args)
{
new Halloween();
}
}

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Halloween" active="05 09 2014-22 10 2014" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<droplist>
<add item="15461" min="1" max="1" chance="1%" /> <!-- Halloween Nectar Pumpkin -->
<add item="15462" min="1" max="1" chance="1%" /> <!-- Halloween King Pumpkin -->
<add item="15463" min="1" max="1" chance="5%" /> <!-- Small Halloween Pumpkin -->
</droplist>
<spawnlist>
<add npc="13135" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
<add npc="13135" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
<add npc="13135" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
<add npc="13135" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
<add npc="13135" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
<add npc="13135" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
<add npc="13135" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
<add npc="13135" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
<add npc="13135" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
<add npc="13135" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
<add npc="13135" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
<add npc="13135" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
<add npc="13135" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
<add npc="13135" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
</spawnlist>
<messages>
<add type="onEnd" text="Halloween: Event end!" />
<add type="onEnter" text="Halloween: Event ongoing!" />
</messages>
</event>

View File

@ -1040,6 +1040,7 @@
<set name="is_commissionable" val="false" />
<set name="etcitem_type" val="SHAPE_SHIFTING_AM_FIXED" />
<set name="is_stackable" val="true" />
<set name="handler" val="Appearance" />
</item>
<item id="26253" name="Halloween Weapon Appearance Stone" type="EtcItem">
<!-- Changes the appearance of a weapon to that of a Halloween weapon. Can be used on shields and sigils. The Halloween Skill is applied when the appearance is changed. Note: Appearance may reset when the Change Weapon skill is used. -->
@ -1047,7 +1048,9 @@
<set name="is_freightable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_commissionable" val="false" />
<set name="etcitem_type" val="SHAPE_SHIFTING_WP_FIXED" />
<set name="is_stackable" val="true" />
<set name="handler" val="Appearance" />
</item>
<item id="26254" name="Halloween Outfit" type="Armor">
<!-- Halloween outfit. -->