Jump to content

Quest is working to horse lvl1


Recommended Posts

  • 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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Target Information System

    2. 1

      Feeding game source to LLM

    3. 2

      anti exp explanation pls

    4. 1

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 0

      [GR2] Positioning an object added with "Attach"

    7. 1417

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • Recently Browsing

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