Poblemas con 4 quest buscarme el error

Topic created · 1 Mensajes · 611 Visitas
  • pues eso kien sepa de quest ke me buske el error

    ----------------------------------------------------
    --COLLECT QUEST_lv90
    --METIN2 Collect Quest  
    ----------------------------------------------------
    quest collect_quest_lv90  begin
    	state start begin
    		when login or levelup with pc.level >= 90 and pc.level 
    
    
    
    
    ----------------------------------------------------
    --COLLECT QUEST_lv92
    --METIN2 Collection Quest
    ----------------------------------------------------
    quest collect_quest_lv92  begin
    	state start begin
    	end
    	state run begin
    		when login or levelup with pc.level >= 92  begin
    			set_state(information)
    		end	
    	end
    
    	state information begin
    		when letter begin
    			local v = find_npc_by_vnum(20091)
    			if v != 0 then
    				target.vid("__TARGET__", v, "Seon-Pyeong")
    			end
    			send_letter("Seon-Pyeong's strange hobby")
    		end
    
    		when button or info begin
    			say("")
    			say("Seon-Pyeong in Dragon Valley")
    			say("is looking for you.")
    			say("Please find out what is going on.")
    			say("")
    		end
    		
    		when __TARGET__.target.click or
    			20091.chat."Weapon collecter Seon-Pyeong" begin
    			target.delete("__TARGET__")
    			---                                                   l
    			say("Seon-Pyeong")
    			say("Oh.. Brave warrior~! I was looking for you")
    			say("to get you help~!! ")
    			say("Please help me~! ")
    			say("I have heard that monsters in Heaven Lair ")
    			say("have gems for weapon research~! ")
    			say("")
    			wait()
    			say("Seon-Pyeong")
    			say("The gems must be the perfect one~! ")
    			say("I will evaluate if you can bring me~!")
    			say("You must bring it~! ")
    			say("The gem I need is Red sky gem, ")
    			say("And i need 10 of them~!")
    			say("Please~!")
    			say("")
    			set_state(go_to_disciple)
    			pc.setqf("duration",0)  -- Time limit
    			pc.setqf("collect_count",0)--Items collected
    			pc.setqf("drink_drug",0) --Quest Potion 1
    		end
    	end
    
    	state go_to_disciple begin
    		when letter begin
    			send_letter("Seon-Pyeong's strange hobby")
    			
    		end
    		when button or info begin
    			say_title("Get Red sky gems")
    			---                                                   l
    			say("Weapon collector Seon-Pyeong")
    			say("is collecting gems for weapon research.")
    			say("The gems can be collected from ")
    			say("Heavens Ice Man and Heavens Ice Golem")
    			say_item_vnum(30251) 
    			say_reward("  Currently".." "..pc.getqf("collect_count").."have collected")
    			say("")
    		end
    		
    		when 71035.use begin --dazzlement potion 
    			if get_time() < pc.getqf("duration") then
    				say("Can not use it now")
    				return
    			end
    			if pc.getqf("drink_drug")==1 then
    				say("You already had one")
    				return
    			end
    			if pc.count_item(30251)==0 then
    				say("Chaegirab:")
    				say("you can use the potion")
    				say("after you collected the red sky gem")
    				say("")
    				return
    			end
    
    			item.remove()	
    			pc.setqf("drink_drug",1)
    		end
    
    		when 1135.kill or
    			 1137.kill  begin
    			local s = number(1, 200)
    			if s