Skip to content
Haru edited this page Oct 19, 2016 · 1 revision

Table of Contents

Syntax

Description

This command will temporarily add a drop to an existing monster. If the
monster already drops the specified item, its drop rate will be updated to the
given value.

Both the monster and the item must be valid. Acceptable values for the drop
rate are in the range [1:10000].

Return value will be 1 in case of success (the item was added or its drop rate
was updated), and 0 otherwise (there were no free item drop slots).

Example

 	// Add Poring Doll (741) to the Poring's (1002) drops, with 1% (100) rate
 	addmonsterdrop(1002, 741, 100);

See Also

Category:Script Command
Clone this wiki locally