Jump to content
  • 0

Questinfo update


Question

Posted (edited)

Can someone rewrite the questinfo, that you can use more than one in an NPC?
As an example, the Criatura Academy Staff from Izlude, who gives the tutorial on how to drink an Apple Juice.
After you use the Apple Juice, you have completed the quest and a quest icon should appear above the NPC,
but somehow this is not possible in rAthena.
I have tested it in hercules and there it is possible.
Would be great if it were also possible in rAthena.


rAthena:  (Does not work)

OnInit:
      questinfo( QTYPE_QUEST, QMARK_YELLOW, "Class == Job_Novice && BaseLevel <= 14 && !isbegin_quest(7473)" );    
      questinfo( QTYPE_QUEST2, QMARK_YELLOW, "Class == Job_Novice && isbegin_quest(7473) == 1 && countitem(501) == 0" );
      end;


hercules: ( Works )

OnInit:
        questinfo(QTYPE_QUEST, 1);
        setquestinfo(QINFO_JOB, Job_Novice);
        setquestinfo(QINFO_QUEST, 7473, 0);
        
        questinfo(QTYPE_QUEST2, 1);
        setquestinfo(QINFO_JOB, Job_Novice);
        setquestinfo(QINFO_QUEST, 7473, 1);
        setquestinfo(QINFO_ITEM, Apple_Juice, 0, 0);
        end;

 

Edited by WhiteEagle

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...