Browse Source

Merge pull request #201 from rathena/update/npc_ids

Added support for the latest NPC ids
lighta 10 years ago
parent
commit
357aa0489f
2 changed files with 4 additions and 1 deletions
  1. 3 0
      db/const.txt
  2. 1 1
      src/map/npc.h

+ 3 - 0
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

+ 1 - 1
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)