Jump to content
×
×
  • Create New...
  • 0

Quest is working to horse lvl1


iRETEMAG

Question

  • Premium
quest horse_call begin
	state start begin
		when 50051.use with horse.get_grade()>=1 and horse.get_grade()<=10 begin
			if pc.is_riding() then
				horse.unride()
			elseif pc.is_polymorphed() then
				syschat("Transformed.")
			elseif horse.get_grade()==0 then
				syschat("No horse.")
			elseif horse.get_grade()>=2 then
				syschat("Incorrect item.")
			else
				horse.ride()
			end
		end
	end
end

 

This quest is working to normal horse, but, changing the quest to:

 

quest cavalo_chamar1 begin
	state start begin
		when 50052.use with horse.get_grade()>=11 and horse.get_grade()<=20 begin
			if pc.is_riding() then
				horse.unride()
			elseif pc.is_polymorphed() then
				syschat("Transformed.")
			elseif horse.get_grade()==0 then
				syschat("No horse.")
			elseif horse.get_grade()>=21 then
				syschat("Incorrect item.")
			else
				horse.ride()
			end
		end
	end
end

 

The second one don't work correctly... :( Why?

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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


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.