Jump to content
  • 0

Blocking exp - quest


avertuss

Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
quest blokada5 begin
	state start begin
		when kill with not npc.is_pc() and pc.get_map_index() == 273 and pc.get_level() >= 95 begin
			if pc.get_exp() >= 1 then 
				pc.give_exp2(-pc.get_exp())
			end
			chat("|cFF00ff33[Informacja]|h|cFFFFFFFF|h Masz za duży poziom aby zdobywać tu doświadczenie! ")
		end
		
		when login with pc.get_map_index() == 273 and pc.get_level() >= 95 begin
			chat("Ustawiłem QF na wartość: "..pc.get_exp())
			chat("|cFF00ff33[Informacja]|h|cFFFFFFFF|h Masz za duży poziom aby zdobywać tu doświadczenie! ")
		end
	end
end

 

Link to comment
Share on other sites

  • 0
42 minutes ago, ZenkoKXO. said:
quest blokada5 begin
	state start begin
		when kill with not npc.is_pc() and pc.get_map_index() == 273 and pc.get_level() >= 95 begin
			if pc.get_exp() >= 1 then 
				pc.give_exp2(-pc.get_exp())
			end
			chat("|cFF00ff33[Informacja]|h|cFFFFFFFF|h Masz za duży poziom aby zdobywać tu doświadczenie! ")
		end
		
		when login with pc.get_map_index() == 273 and pc.get_level() >= 95 begin
			chat("Ustawiłem QF na wartość: "..pc.get_exp())
			chat("|cFF00ff33[Informacja]|h|cFFFFFFFF|h Masz za duży poziom aby zdobywać tu doświadczenie! ")
		end
	end
end

 

Same. Maybe I need to change in the exp functions of int to long long if I made the max gold? Like this

http://pastebin.com/2sNSGfai

Link to comment
Share on other sites

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


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