Jump to content

Recommended Posts

  • Honorable Member

For source

	static const std::map<long, std::pair<int, int>> _maplevel // map, min, max 
	{
		{41, {1,50}},
		{67, {75,125}},
	};
	const auto it = _maplevel.find(ch->GetMapIndex());
	if (it != _maplevel.end() && ch->GetLevel() >= it->second.first && ch->GetLevel() <= it->second.second)
		ch->GoHome();

input_login.cpp/Entergame end of func

  • Love 2

 

20 hours ago, Mali61 said:

For source


	static const std::map<long, std::pair<int, int>> _maplevel // map, min, max 
	{
		{41, {1,50}},
		{67, {75,125}},
	};
	const auto it = _maplevel.find(ch->GetMapIndex());
	if (it != _maplevel.end() && ch->GetLevel() >= it->second.first && ch->GetLevel() <= it->second.second)
		ch->GoHome();

input_login.cpp/Entergame end of func

Thanks, you are such a god.

Quote

quest block_map begin
    state start begin
        when login with pc.get_map_index() == 67 begin
            if pc.get_level() < 125 then
                warp_to_village()
            end
        end

    end

end

in quest

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.