Jump to content
Sign in to follow this  
UNK3N0W7

Reward for 200 player Kills

Recommended Posts

quest kill begin
	state start begin
		when login with pc.level >= 80 begin
			send_letter("Duel")
		end

		when button or info begin
			if pc.getqf("number") == 0 then
				say_title("The experts in duel !")
				say("")
				say("Want to be the best of all realms ?")
				say("You can prove it !")
				say("Just Beings & Noble must satisfy the Rules")
				say("")
				say("")
				say("")
				say_reward("Kill 200 players")
				say_reward("And receive a reward!")
				say("")
				pc.setqf("state", 200)
				q.set_counter("duels Remaining:", 200)
				pc.setqf("number", 1)
			elseif pc.getqf("number") == 1 then
				say("Want to be the best of all realms ?")
				say("You can prove it !")
				say("Just Beings & Noble must satisfy the Rules")
				say_reward("Still missing you: "..pc.getqf("state").." kills . GOGO")
			end
		end	
		when kill begin
			if npc.is_pc() then
				local count = pc.getqf("state") - 1
				if count <= 200 then
					pc.setqf("state", count)
					q.set_counter("duels Remaining:", count)
					
					if count == 0 then
						say_title("Congratulations!")
						say("You have Killed 200 players!")
						say("Here's your reward:")
						say_reward("100.000.000 Yang")
						pc.change_money(100000000)
						pc.give_item2(45005 , 1)
						pc.give_item2(45006 , 1)
						pc.give_item2(45007 , 1)
						notice_all("".. pc.get_name() .." Have Killed 200 players! And it has its rewards ")
						clear_letter()
					end
				end
			end
		end
	end
end

Quest by : comiatuaprima

Correction by : Nurb

Traduction by : Nurb

 

Share this post


Link to post

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
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

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