[Мануал] Создание банки доющей невидимость Всё для создания своего сервера LineAge
Создаем файл: /java/sf/net/l2j/gameserver/handler/itemhandlers/InvisiblePotion.java
InvisiblePotion.java /*
* 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 net.sf.l2j.gameserver.handler.itemhandlers;
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.ThreadPoolManager;
import net.sf.l2j.gameserver.handler.IItemHandler;
import net.sf.l2j.gameserver.model.L2ItemInstance;
import net.sf.l2j.gameserver.model.entity.events.CTF;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.serverpackets.MagicSkillUser ;
/**
* @author `Аллигаторы®™
*
*/
public class InvisiblePotion implements IItemHandler
{
private static final int getItemIds()
{
return ITEM_IDS;
}
}
Открываем: /java/net/sf/l2j/gameserver/handler/ItemHandler.java
Добавляем импорты:
import net.sf.l2j.gameserver.handler.itemhandlers.InvisiblePotion;
найдем:
private ItemHandler(){
_datatable = new TreeMap<Integer, IItemHandler>();
"Аромантизм: когда сердце не знает любви"
GTA 5 MODS: Как восстановить файлы в игре с помощью OpenIV
GTA 5 Premium Online Edition vs Обычная GTA 5: в чем разница?
Гта 5 рп, Что делать? Правильно ли это?
Как правильно произносить название самолета KC-135?
Лучшие годы: почему 2010-2016 кажутся особенными?
Почему электрическое отопление не прогревает дом?
Почему это повторяется?
Почему фпс падает на PS4 Slim при игре в Человека-паука
Реально ли купить садовый участок за 30 тысяч?
Решение неравенств методом интервалов
Решение неравенств по математике
Решение неравенств с помощью метода дискриминанта
Школа, могут ли меня исключить?
Школа: оценка за четверть. Балл 4,5 - какая оценка?
"Школьная дискотека: подготовка, музыка и веселье"
The Benefits of Learning a Second Language
The Benefits of Learning a Second Language
The Benefits of Learning English in 10th Grade
The Benefits of Learning English
The Benefits of Reading
Ведьмак 1: игра в кости и вопрос о покере
Заголовок: Имя или фамилия? Что же в Папа Карло?
Заголовок: Как найти Q1 из формулы η = Aп/Q1?
Заголовок: Как решить комплексную расчётную задачу
Заголовок: "Неотъемлемые качества каждой женщины"
Заголовок: Почему люди задают одни и те же вопросы?
Заголовок: Почему я боюсь спать?
Заголовок: Сравнение чисел: 10 2/5 и 23,1