Jump to content

Quest pvp for EXP


Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Active Member
quest give_lv begin
	state start begin
		when ID.use begin
			if false == pc.can_warp() then	say("Erro Code 1")	return	end
			if pc.is_busy0() == true then say("Erro Code 2") return	end
			if pc.level >= 99 then say("Erro Code 3") return	end

			say_title("Give Lv")
			say("")
			local menu = select("Yes", "No")
			if menu == 1 then
				pc.remove_item("ID", 1)
				pc.set_level0(99) 
			else
				return
			end
		end
	end
end

I use it like this, you can adapt and pre-define levels etc etc. (Necessary to have function pc.set_level0, if not, just add the normal pc.give_exp)

Link to comment
Share on other sites

15 minutes ago, Klaus said:

quest give_lv begin state start begin when ID.use begin if false == pc.can_warp() then say("Erro Code 1") return end if pc.is_busy0() == true then say("Erro Code 2") return end if pc.level >= 99 then say("Erro Code 3") return end say_title("Give Lv") say("") local menu = select("Yes", "No") if menu == 1 then pc.remove_item("ID", 1) pc.set_level0(99) else return end end end end


quest give_lv begin
	state start begin
		when ID.use begin
			if false == pc.can_warp() then	say("Erro Code 1")	return	end
			if pc.is_busy0() == true then say("Erro Code 2") return	end
			if pc.level >= 99 then say("Erro Code 3") return	end

			say_title("Give Lv")
			say("")
			local menu = select("Yes", "No")
			if menu == 1 then
				pc.remove_item("ID", 1)
				pc.set_level0(99) 
			else
				return
			end
		end
	end
end

I use it like this, you can adapt and pre-define levels etc etc. (Necessary to have function pc.set_level0, if not, just add the normal pc.give_exp)

I want kill people and earn exp

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.