Skip to content

Commit

Permalink
Added support for the latest NPC ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemongrass3110 committed Jan 4, 2015
1 parent d98f99b commit ebe4a1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions db/const.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/map/npc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ebe4a1c

Please sign in to comment.