Jump to content
  • 0

Editing Item quantity drop.


Deviszh

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

as the title says, for example: when i killed doppelganger, doppelganger card will be drop as 5 pcs instead of 1 pc.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

 

as the title says, for example: when i killed doppelganger, doppelganger card will be drop as 5 pcs instead of 1 pc.

 

Hi. Please provide more details what do you want.

Because item drop very different and has seperate drops, card drop, items drop, mvp bonus drop.

Yes, it's possible to edit drop only for drop multiple quanty FOR ALL cards at the same time in sources, but possible without source edits by manual edition item database add 5 cards to drop.

 

Anyway, i think it possible to make some source edit, where you can decide how many items per item_id you want to get

 

Example:

Original line

1751,RANDGRIS,Valkyrie Randgris,Valkyrie Randgris,99,3567200,0,2854900,3114520,3,5560,9980,25,42,100,120,30,120,220,210,10,12,2,8,86,0x6283695,100,576,576,480,1427450,617,5500,603,5000,616,2000,7510,5000,2357,1600,2524,3000,2421,3000,2229,5000,7024,2500,0,0,0,0,0,0,4407,1

Modified line:

1751,RANDGRIS,Valkyrie Randgris,Valkyrie Randgris,99,3567200,0,2854900,3114520,3,5560,9980,25,42,100,120,30,120,220,210,10,12,2,8,86,0x6283695,100,576,576,480,1427450,617,5500,603,5000,616,2000,7510,5000,2357,1600,2524,3000,2421,3000,2229,5000,7024,2500,0,0,0,0,0,0,4407:5,1

Where 4407:5,1 as you see means drop 5 4407 with rate 1

 

If you want something like that, let me know just by mentioning my name here, when i will get free time, i maybe will help you (if someone will NOT help you before me).

 

 

i want to put a coupon when i kill MVP boss, for example i want to add the coupon when i kill some MVP. 

 

example:

 

when i kill doppelganger, 15pcs coupon will be drop.

 

@Anacondaqq

 

by the way, i tried but it only drop 1 pc instead of 5. i have 100% drop rate

 

update:

 

this will work. thanks for this script

 

-	script	#mvpdrop	-1,{

OnNPCKillEvent:

	if (getmonsterinfo(killedrid,22)) // If mob has MOB_MVPEXP, it's an MVP.

		if (rand(100) < 100) // 15% chance of activating.

			getitem 7623,10;

	end;

}
Edited by Kinkkynipps
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

as the title says, for example: when i killed doppelganger, doppelganger card will be drop as 5 pcs instead of 1 pc.

 

Hi. Please provide more details what do you want.

Because item drop very different and has seperate drops, card drop, items drop, mvp bonus drop.

Yes, it's possible to edit drop only for drop multiple quanty FOR ALL cards at the same time in sources, but possible without source edits by manual edition item database add 5 cards to drop.

 

Anyway, i think it possible to make some source edit, where you can decide how many items per item_id you want to get

 

Example:

Original line

1751,RANDGRIS,Valkyrie Randgris,Valkyrie Randgris,99,3567200,0,2854900,3114520,3,5560,9980,25,42,100,120,30,120,220,210,10,12,2,8,86,0x6283695,100,576,576,480,1427450,617,5500,603,5000,616,2000,7510,5000,2357,1600,2524,3000,2421,3000,2229,5000,7024,2500,0,0,0,0,0,0,4407,1

Modified line:

1751,RANDGRIS,Valkyrie Randgris,Valkyrie Randgris,99,3567200,0,2854900,3114520,3,5560,9980,25,42,100,120,30,120,220,210,10,12,2,8,86,0x6283695,100,576,576,480,1427450,617,5500,603,5000,616,2000,7510,5000,2357,1600,2524,3000,2421,3000,2229,5000,7024,2500,0,0,0,0,0,0,4407:5,1

Where 4407:5,1 as you see means drop 5 4407 with rate 1

 

If you want something like that, let me know just by mentioning my name here, when i will get free time, i maybe will help you (if someone will NOT help you before me).

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...