2 часа искал....
_10391_ASuspiciousHelper
Код:
@Override
public String onTalk(NpcInstance npc, QuestState st)
{
String htmltext = "noquest";
int npcId = npc.getNpcId();
int cond = st.getCond();
if(npcId == ELLI)
{
if(st.isCompleted())
return "This quest is completed";
else if(cond == 0)
return "barons_personal_escort_eli_q10391_01.htm";
else
return "barons_personal_escort_eli_q10391_04.htm";
}
else if(npcId == CHEL)
{
if(cond == 1)
return "worker_chel_q10391_01.htm";
}
else if(npcId == IASON_HEINE)
{
if(cond == 2)
return "iason_heine_q10391_01.htm";
}
return htmltext;
}
Хреново не понимать все это, только логика...
Исправлено.