Skip to content
Snippets Groups Projects
Commit 0c5ef06f authored by MELERIX's avatar MELERIX
Browse files

BETA/STABLE: Cleanup due [L4613].

parent ba9254b0
No related branches found
No related tags found
No related merge requests found
...@@ -648,7 +648,6 @@ custom/SubClassCertification/Validator.java ...@@ -648,7 +648,6 @@ custom/SubClassCertification/Validator.java
custom/HeroCirclet/HeroCirclet.java custom/HeroCirclet/HeroCirclet.java
custom/HeroWeapon/HeroWeapon.java custom/HeroWeapon/HeroWeapon.java
custom/IOPRace/IOPRace.java custom/IOPRace/IOPRace.java
custom/NonTalkingNPCs/NonTalkingNPCs.java
custom/PinsAndPouchUnseal/PinsAndPouchUnseal.java custom/PinsAndPouchUnseal/PinsAndPouchUnseal.java
custom/SkillTransfer/SkillTransfer.java custom/SkillTransfer/SkillTransfer.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 custom.NonTalkingNPCs;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.network.serverpackets.ActionFailed;
public class NonTalkingNPCs extends Quest
{
private static final int[] NPC_IDS =
{
18684, 18685, 18686, 18687, 18688, 18689, 18690, 19691, 18692, 31557, 31606,
31671,31672,31673,31674,32026,32030,32031,32032,32306,32619,32620,32621
};
public NonTalkingNPCs(int id, String name, String descr)
{
super(id, name, descr);
for (int npcId : NPC_IDS)
addFirstTalkId(npcId);
}
@Override
public final String onFirstTalk(L2Npc npc, L2PcInstance player)
{
player.sendPacket(ActionFailed.STATIC_PACKET);
return null;
}
public static void main(String[] args)
{
new NonTalkingNPCs(-1, NonTalkingNPCs.class.getSimpleName(), "custom");
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment