Jump to content
  • 0

aCis NoblessQuest Q242_PossessorOfAPreciousSoul_2


Question

Posted

What is problem?

PURE_UNICORN not give quest

sorry for my bad english...

 

 

			case FALLEN_UNICORN:
			if (cond == 9)
				htmltext = "31746-1.htm";
			else if (cond == 10)
			{
				htmltext = "31746-2.htm";
				startQuestTimer("1", 3000, npc, player);
			}
		break;

		case CORNERSTONE:
			if (cond == 9)
			{
				if (st.getQuestItemsCount(ORB_OF_BINDING) == 0)
					htmltext = "31748-1.htm";
				else
				{
					htmltext = "31748-2.htm";
					st.takeItems(ORB_OF_BINDING, 1);
					npc.doDie(npc);
					st.set("cornerstones", "cornerstones"+1);
					st.playSound("ItemSound.quest_middle");
				}
				if (cornerstones == 3)
				{
					st.set("cond", "10");
					st.playSound("ItemSound.quest_middle");
				}
			}
		break;

		case PURE_UNICORN:
			if (cond == 10)
			{
				st.set("cond", "11");
				st.playSound("ItemSound.quest_middle");
				htmltext = "31747-1.htm";
				startQuestTimer("2", 3000, npc, player);
			}
			else if (cond == 11)
				htmltext = "31747-2.htm";
		break;
		}
	}
	return htmltext;
}

@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isPet)
{
	QuestState st = player.getQuestState(qn);
	if (st == null)
		return null;

	L2PcInstance partyMember = getRandomPartyMember(player, "awaitsDrops", "1");
	if (partyMember == null)
		return null;
	st = partyMember.getQuestState(qn);

	if (st.getInt("cond") == 9 && st.getQuestItemsCount(ORB_OF_BINDING) <= 5)
	{
		st.giveItems(ORB_OF_BINDING, 1);
		st.playSound("ItemSound.quest_itemget");
		if (st.getQuestItemsCount(ORB_OF_BINDING) == 5)
			st.unset("awaitsDrops");
	}
	return null;
}

public static void main(String[] args)
{
	new Q242_PossessorOfAPreciousSoul_2(242, qn, "Possessor Of A Precious Soul - 2");
}
}

4 answers to this question

Recommended Posts

  • 0
Posted

Hi Kenrix,

 

I tried searching the datapack and also server for where this is but I can't seem to find it.

Can you give more information about where this is and did you change anything?

  • 0
Posted

It will be made when it will be made, not before, not after ('after' part is obvious :D).

 

Those quests aren't remade yet, and the shares you can find on forums (70% made by fernandopm, ty to him for the good work so far) often need rework aswell.

 

To resume : Kenrix asks support for a quest which hasn't be corrected so far. So to moderators : close topic and for Kenrix : wait it is commited. Spamming that forum, aCis forum or my PMs won't change anything.

 

Added to that Kenrix :

- you can bump your topics only once per 24hours on this forum.

- No support for projects who got active forum (ok, forum is down but that doesn't mean you have to spam MxC).

 

So follow rules.

 

PS : more you ask, more I will delay the correction.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock