Jump to content

Teleport Quest, Limit Level


Recommended Posts

 

Hmm maybe like this?

//1.) Search:
            if warp[i] == nil then return end
//2.) Add bellow:
	if pc.get_level() < warp[i][3] then
		say_reward(string.format("<Error> Need to have level %d for can teleport in this map!", warp[i][3]))
		return
	end
//3.) Search:
                        {474300,954800},
                        {353100,882900},
//4.) Delete and replace with this (example for limit level on maps):
                        {474300, 954800, 30}, --* "<Error> Need to have level %d for can teleport in this map!", 30)
                        {353100, 882900, 45}, --* "<Error> Need to have level %d for can teleport in this map!", 45)

 

  • Love 3
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.