Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

Kill twice fix for mobs


3xMike

Question

2 answers to this question

Recommended Posts

  • 0
  • VIP

Solved thanks to Klaus arigato ❤️ 

Find:

void CQuestManager::Kill(unsigned int pc, unsigned int npc)

Replace whole function with:

	void CQuestManager::Kill(unsigned int pc, unsigned int npc)
	{
		//m_CurrentNPCRace = npc;
		PC * pPC;

		sys_log(0, "CQuestManager::Kill QUEST_KILL_EVENT (pc=%d, npc=%d)", pc, npc);

		if ((pPC = GetPC(pc)))
		{
			if (!CheckQuestLoaded(pPC))
				return;

			/* [hyo] ¸÷ kill½Ã Áߺ¹ Ä«¿îÆà À̽´ °ü·ÃÇÑ ¼öÁ¤»çÇ×
			   quest script¿¡ when 171.kill begin ... µîÀÇ ÄÚµå·Î ÀÎÇÏ¿© ½ºÅ©¸³Æ®°¡ 󸮵Ǿú´õ¶óµµ
			   ¹Ù·Î returnÇÏÁö ¾Ê°í ´Ù¸¥ °Ë»çµµ ¼öÇàÇϵµ·Ï º¯°æÇÔ. (2011/07/21)
			*/
			// kill call script
			if (npc >= MAIN_RACE_MAX_NUM) //@fixme109
				m_mapNPC[npc].OnKill(*pPC); //@warme004
			m_mapNPC[QUEST_NO_NPC].OnKill(*pPC);

		}
		else
			sys_err("QUEST: no such pc id : %d", pc);
	}

THX once mpre Klaus ❤️

Link to post

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


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