#include #include #include "version.h" #include "char.h" #include "common.h" #include "npctemplate.h" #include "npccreate.h" #include "battle.h" #include "configfile.h" BOOL NPC_readNPCSettingFiles( char* topdirectory ,int templatesize, int createsize) { print("\n"); if( NPC_readNPCTemplateFiles( topdirectory ,templatesize) == FALSE ) return FALSE; if( NPC_readNPCCreateFiles( topdirectory ,createsize) == FALSE ) return FALSE; return TRUE; } BOOL NPC_reloadNPC(void) { int i; int charnum = getFdnum()+ getPetcharnum()+getOtherscharnum(); for(i=0;i