Ver Fonte

Added support for the latest NPC ids

Lemongrass3110 há 10 anos atrás
pai
commit
ebe4a1cc17
2 ficheiros alterados com 4 adições e 1 exclusões
  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)