Jump to content
  • 0

Create Deadly Potion


BigBurrito

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

I want the skill to instead of create one potion, creates two but get the items of one potion, which means 2x1. ex: If i collect enough items to make 100 EDPs, I will get 200 EDPs). I don't want this to be on an NPC for my VIP system reason.

I tried changing in  src/map/skill.c

 

case ASC_CDP:
if(sd) {
clif_skill_nodamage(src,bl,skill_id,skill_lv,1);
skill_produce_mix(sd, skill_id, ITEMID_POISON_BOTTLE, 0, 0, 0, 1, -1); //Produce a Poison Bottle.
}
break;
 
Changing the fourth value (1) into 2, but it did make 2 potion but it also got the items for 2 potions, I want it to make 2 potions and get only the items for one potion. Please Help, Thank you in advance! :)
Link to comment
Share on other sites

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.

×
×
  • Create New...