Jump to content
  • 0

A doubt about card drop blocking.


Redao

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  29
  • Reputation:   0
  • Joined:  08/23/19
  • Last Seen:  

Does anyone know how to make a Script or a change so that I can block the drop of a certain card on a certain map?

For example:

The ghostring monster from pay_fild04, is there any way I can block the DROP of his card "only on this MAP?"

Other:

Is there a way to block the Drop of a certain card in the Endless Tower?

For example: Blocking the Boss Scene Card drop on the Endless Tower map.

Can anyone help me in this matter?

I thank!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

You can use below command

*addmonsterdrop <monster id>,<item id>,<rate>,{<steal protected>,{<random option group id>}};
*addmonsterdrop "<monster name>",<item id>,<rate>,{<steal protected>,{<random option group id>}};
*delmonsterdrop <monster id>,<item id>;
*delmonsterdrop "<monster name>",<item id>;

These commands will temporarily add or delete a monster drop, which will be reset
when the mob database reloads or the server shuts down. They return true upon success, false otherwise.

If the monster already drops the specified item, its drop rate will be updated with
the given rate (100 = 1%).

If <steal protected> is true the item will be protected from TF_STEAL (default false).
<random option group id> binds the item with the given random option group Id (default 0).
The Id must be valid, like defined in db/[pre-]re/item_randomopt_group.yml

Examples:
	// Makes Owl Baron drop Honey at an 80% rate.
	addmonsterdrop 1295,518,8000;

	// Makes Owl Baron drop Knife_ at an 80% rate, protected from TF_STEAL and with random option group Id 5.
	addmonsterdrop 1295,1202,8000,true,5;

	// Deletes Executioner's Mitten from Rybio.
	delmonsterdrop 1201,7017;

 

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