Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

WeedHex 

How add new limit working with monster?

bool __IsNPCRace(unsigned race)
{
    if (race > 45999)
        return true;

    return false;
}

bool __IsNPCRace(unsigned race)
{
	if (race > 45999)
		return true;

	return false;
}

 

 

 

Link to comment
https://metin2.dev/topic/20943-monsternpc-id-limit/#findComment-113539
Share on other sites

  • Forum Moderator

Add some conditions in your function like this:

if (race > 0 && race <= 2499)
	// vec_stPathes.push_back ("d:/ymir work/monster/");
else if (race >= 2500 && race <= 8999)
	// vec_stPathes.push_back ("d:/ymir work/monster2/");
else
{
  [....]
}
Link to comment
https://metin2.dev/topic/20943-monsternpc-id-limit/#findComment-113545
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.