Jump to content
  • 0

Fail to use Pharmacy through NPC


OscarScorp

Question


  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

Hello everyone,

I made an NPC which makes the player cast Pharmacy, but apparently will only work on Alchemists who have the skill learned.
I wish for every job to use it and to create potions, but I have a problem:

If a Knight talks to this NPC, the skill fails with a window with the text: "You can't create items yet.".
I've tried with an Alchemist and it works perfectly.

I assume there is a Skill requirement within source but I can't manage to find it. Where can I find the skill requirement for Pharmacy to work successfully regardless of your job? 

Note 1: I do have all items required to prepare a potion in inventory. When trying with Alchemist, I can succesfully create a Red Potion for example. Having the same items as a Knight won't work.

Edited by OscarScorp
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

your forgetting your manual + materials ?

Edited by Naruto
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

4 minutes ago, Naruto said:

your forgetting your manual + materials ?

I have all the items in inventory, just as mentioned, when I try with Alchemist it works.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

1 minute ago, OscarScorp said:

I have all the items in inventory, just as mentioned, when I try with Alchemist it works.

well when i add pharmacy through item using skill command it works fine for me so idk you might be on to something and we'll have to look more 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  217
  • Reputation:   16
  • Joined:  01/28/15
  • Last Seen:  

Just now, Naruto said:

well when i add pharmacy through item using skill command it works fine for me so idk you might be on to something and we'll have to look more 

Which code do you use within the item?
I use this for the npc:

unitskilluseid getcharid(3),"AM_PHARMACY",1;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

1 minute ago, OscarScorp said:

Which code do you use within the item?
I use this for the npc:


unitskilluseid getcharid(3),"AM_PHARMACY",1;

 

same one as in fireblend

1133,Fire_Brand,Fireblend,5,20,,500,100,,1,0,0x000654E2,7,2,2,4,40,1,2,{ bonus bAtkEle,Ele_Fire; skill "MG_FIREBOLT",3; bonus3 bAutoSpell,"MG_FIREBOLT",3,100; },{},{}
skill "228",1;

 

 

Im not sure why it doesnt work using the npc script >_<

  • Upvote 1
Link to comment
Share on other sites

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.

×
×
  • Create New...