-
Notifications
You must be signed in to change notification settings - Fork 760
Addmonsterdrop
Haru edited this page Oct 19, 2016
·
1 revision
- addmonsterdrop (<mob></mob>, <item></item>, <rate></rate>);
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).
// Add Poring Doll (741) to the Poring's (1002) drops, with 1% (100) rate addmonsterdrop(1002, 741, 100);Category:Script Command