Jump to content

NPC ou Mob


Metin2
 Share

Recommended Posts

basta corrigir o Race em  GameLib->RaceManager.cpp ou criar uma função...

Exemplo:

bool __IsNewNPCRace(unsigned race)
{
    if (race >= 30301 && race <= 30306)
        return true;
	    if (race >= 60000 && race <= 60003)
        return true;
	    return false;
}

depois.....

else if (__IsNewNPCRace(race))
    {
        vec_stPathes.push_back("d:/ymir work/npc/");
        vec_stPathes.push_back("d:/ymir work/npc2/");
        vec_stPathes.push_back("d:/ymir work/monster/");
        vec_stPathes.push_back("d:/ymir work/monster2/");
        vec_stPathes.push_back("d:/ymir work/guild/");
    }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...