Jump to content
Forgot your email address? ×
×
×
  • Create New...

Reward for 200 Player Kills


UNK3N0W7

Recommended Posts

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( Internal )

 

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

 

  • Good 1
Link to comment
  • 2 weeks later...
  • 2 months later...

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

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.