Fioren Crystal Caverns movie.
Contributed by gigilo1968.
This commit is contained in:
parent
770dc2f187
commit
e379b0948f
2
trunk/dist/game/data/html/default/33044.htm
vendored
2
trunk/dist/game/data/html/default/33044.htm
vendored
@ -1,6 +1,6 @@
|
||||
<html><body>Fioren:<br>
|
||||
Not only was Beleth and his adherents, so now threatens the world is also the Goddess of Destruction. In these difficult times we must look for the way of salvation in an alliance with the gods. Hopefully, Eva will not leave you ...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_playMovie 106">Ask about the incident at the Crystal Caverns</button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_CrystalCavernsMovie">Ask about the incident at the Crystal Caverns</button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 773">Exchange Certificate of Hell on Items</button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</button>
|
||||
</body></html>
|
@ -136,6 +136,7 @@ import handlers.bypasshandlers.Buy;
|
||||
import handlers.bypasshandlers.BuyShadowItem;
|
||||
import handlers.bypasshandlers.ChatLink;
|
||||
import handlers.bypasshandlers.ClanWarehouse;
|
||||
import handlers.bypasshandlers.CrystalCavernsMovie;
|
||||
import handlers.bypasshandlers.EventEngine;
|
||||
import handlers.bypasshandlers.Freight;
|
||||
import handlers.bypasshandlers.ItemAuctionLink;
|
||||
@ -416,6 +417,7 @@ final class MasterHandler
|
||||
BuyShadowItem.class,
|
||||
ChatLink.class,
|
||||
ClanWarehouse.class,
|
||||
CrystalCavernsMovie.class,
|
||||
EventEngine.class,
|
||||
Freight.class,
|
||||
ItemAuctionLink.class,
|
||||
|
55
trunk/dist/game/data/scripts/handlers/bypasshandlers/CrystalCavernsMovie.java
vendored
Normal file
55
trunk/dist/game/data/scripts/handlers/bypasshandlers/CrystalCavernsMovie.java
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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 handlers.bypasshandlers;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2NpcInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
|
||||
/**
|
||||
* @author Gigi
|
||||
*/
|
||||
public class CrystalCavernsMovie implements IBypassHandler
|
||||
{
|
||||
// NPC
|
||||
private static final int FIOREN = 33044;
|
||||
// Others
|
||||
private static final int CRYSTAL_CAVERNS_MOVIE = 106;
|
||||
private static final String[] COMMANDS =
|
||||
{
|
||||
"CrystalCavernsMovie"
|
||||
};
|
||||
|
||||
@Override
|
||||
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
|
||||
{
|
||||
if (!target.isNpc() || (((L2NpcInstance) target).getId() != FIOREN))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
activeChar.showQuestMovie(CRYSTAL_CAVERNS_MOVIE);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getBypassList()
|
||||
{
|
||||
return COMMANDS;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user