Removal of ensoul system.

This commit is contained in:
MobiusDevelopment
2020-07-14 02:35:59 +00:00
parent 00c3cca0e0
commit 7ca604fe73
173 changed files with 8803 additions and 7874 deletions

View File

@@ -143,7 +143,6 @@ import handlers.bypasshandlers.Buy;
import handlers.bypasshandlers.ChangePlayerName;
import handlers.bypasshandlers.ChatLink;
import handlers.bypasshandlers.ClanWarehouse;
import handlers.bypasshandlers.EnsoulWindow;
import handlers.bypasshandlers.EventEngine;
import handlers.bypasshandlers.FindPvP;
import handlers.bypasshandlers.Freight;
@@ -483,7 +482,6 @@ public class MasterHandler
ChangePlayerName.class,
ChatLink.class,
ClanWarehouse.class,
EnsoulWindow.class,
EventEngine.class,
FindPvP.class,
Freight.class,

View File

@@ -1,62 +0,0 @@
/*
* 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 org.l2jmobius.gameserver.handler.IBypassHandler;
import org.l2jmobius.gameserver.model.actor.Creature;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.network.serverpackets.ensoul.ExShowEnsoulExtractionWindow;
import org.l2jmobius.gameserver.network.serverpackets.ensoul.ExShowEnsoulWindow;
/**
* @author St3eT
*/
public class EnsoulWindow implements IBypassHandler
{
private static final String[] COMMANDS =
{
"show_ensoul_window",
"show_extract_ensoul_window"
};
@Override
public boolean useBypass(String command, PlayerInstance player, Creature target)
{
if (!target.isNpc())
{
return false;
}
if (command.toLowerCase().startsWith(COMMANDS[0])) // show_ensoul_window
{
player.sendPacket(ExShowEnsoulWindow.STATIC_PACKET);
return true;
}
else if (command.toLowerCase().startsWith(COMMANDS[1])) // show_extract_ensoul_window
{
player.sendPacket(ExShowEnsoulExtractionWindow.STATIC_PACKET);
return true;
}
return false;
}
@Override
public String[] getBypassList()
{
return COMMANDS;
}
}

View File

@@ -35,18 +35,10 @@ public class Link implements IBypassHandler
{
"common/craft_01.htm",
"common/craft_02.htm",
"common/runes_01.htm",
"common/sealed_runes_02.htm",
"common/sealed_runes_03.htm",
"common/sealed_runes_04.htm",
"common/sealed_runes_05.htm",
"common/sealed_runes_06.htm",
"common/sealed_runes_07.htm",
"common/sealed_runes_08.htm",
"common/sealed_runes_09.htm",
"common/skill_enchant_help_01.htm",
"common/skill_enchant_help_02.htm",
"common/skill_enchant_help_03.htm",
"common/weapon_sa_01.htm",
"default/BlessingOfProtection.htm",
"default/SupportMagic.htm",
"fisherman/exchange_old_items.htm",