From ebe4a1cc172df846fcd4ea2eac0a309a4d555c49 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Sun, 4 Jan 2015 10:51:09 +0100 Subject: [PATCH] Added support for the latest NPC ids --- db/const.txt | 3 +++ src/map/npc.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/db/const.txt b/db/const.txt index ed2a2af308..fe3f82d58d 100644 --- a/db/const.txt +++ b/db/const.txt @@ -4565,6 +4565,9 @@ THANATOS_KEEP 10009 4_PD_GOLDDRAGON 10108 4_PD_ZAEROG 10109 4_PD_TAMADORA 10110 +4_JP_EDGA_H 10111 +4_JP_BRAGOLEM_H 10112 +4_EL_AQUA 10113 HAVEQUEST 0 PLAYTIME 1 diff --git a/src/map/npc.h b/src/map/npc.h index 0b56bb1b94..ed6eac3834 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -91,7 +91,7 @@ enum actor_classes #define MAX_NPC_CLASS 1000 // New NPC range #define MAX_NPC_CLASS2_START 10000 -#define MAX_NPC_CLASS2_END 10095 +#define MAX_NPC_CLASS2_END 10114 //Checks if a given id is a valid npc id. [Skotlex] //Since new npcs are added all the time, the max valid value is the one before the first mob (Scorpion = 1001)