Jump to content

Recommended Posts

Hello i search for same quest
 

quest drob begin
    state start and maxpindes is xx begin
      when xxx.kill begin
		respawn.mob xxx1
		when xxx1.kill begin
		respawn.mob xxx2
		when xxx2.kill begin
		respawn xxx3

srry for my english :(

i need quest , no navicat :) 
Please help me, 

Link to comment
https://metin2.dev/topic/17051-quest-respawn-mob-when-kill-another/
Share on other sites

  • Honorable Member

you don't need a quest for that, use the resurrection_vnum column in the mob_proto

 

If you really need that, do something like this:

 

respawn_cycle = function()
	return {
		[101] = 1022,
		[1022] = 2304,
		[2304] = 4056
	};
end -- function

when kill with table.is_in(quest.respawn_cycle(), npc.get_race()) begin
	mob.spawn(quest.respawn_cycle()[npc.get_race()], pc.get_local_x(), pc.get_local_y(), 3, false, 1);
end -- when

 

  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
9 hours ago, Dobrescu Sebastian said:

Do not use mob spawn. If you come with more players near the mob, when you kill it will spawn not just one, but two or more.

What are you talking about? Kill one mob it will spawn one mob, unless you put a number > 1 on the count arg, no matter "how many players are there around you".

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Premium
3 hours ago, Syreldar said:

What are you talking about? Kill one mob it will spawn one mob, unless you put a number > 1 on the count arg, no matter "how many players are there around you".

It's a bug. Can be made, not exactly as i said.

Players know to do it better. Gonna ask them soon how.

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.