Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

Alchamy quest


HattanBinNassar

Question

hey ! ,, i made this quest :
 

quest dragon_soul_activation begin
    state start begin
		when levelup or letter with pc.level >= 30 begin
			send_letter(gameforge.dragon_soul._1010_sendLetter)
			local v = find_npc_by_vnum(20001)
			
			if 0 != v then
				target.vid("__TARGET__", v, mob_name(20001))
			end
		end
	
        when 20001.chat." ÊÝÚíá ÇáßíãÇÆí " begin
			target.delete("__TARGET__")
            say(" Êã ÇáÊÝÚíá ")
			ds.give_qualification()
            char_log(pc.get_player_id(), 'DS_QUALIFICATION', 'SUCCESS')
        end
    end
end

for the ds.give_qualification() to be active on level 30 , the problem is ( the quset never end even when you have the - ds.give_qualification() - and already talk to the npc and keep reload when you login or change char )

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
  • Distinguished Member
quest dragon_soul_activation begin
	state start begin
		when login or levelup or enter with pc.get_level() >= 30 begin
			set_state(information)
		end
	end
	state information begin
		when letter begin
			send_letter(gameforge.dragon_soul._1010_sendLetter)
			local v = find_npc_by_vnum(20001)
			if 0 != v then
				target.vid("__TARGET__", v, mob_name(20001))
			end
		end
		when 20001.chat." ÊÝÚíá ÇáßíãÇÆí " begin
			target.delete("__TARGET__")
			say(" Êã ÇáÊÝÚíá ")
			ds.give_qualification()
			char_log(pc.get_player_id(), 'DS_QUALIFICATION', 'SUCCESS')
			set_state(__complete)
		end
	end
	state __complete begin
	end
end

 

  • Love 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


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