diff options
author | Haru <haru@dotalux.com> | 2016-12-02 15:46:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-02 15:46:59 +0100 |
commit | 78854572cfc432ae439cdb20f83d9d19c4748b4c (patch) | |
tree | 60688527a8343114d677cfdc6a729d3379a8b493 /doc | |
parent | fb0b03305568f0ef96564038120fd4a2d8385a85 (diff) | |
parent | 99a36a426b7d2adb6a0f417e02e92366939e5d22 (diff) | |
download | hercules-78854572cfc432ae439cdb20f83d9d19c4748b4c.tar.gz hercules-78854572cfc432ae439cdb20f83d9d19c4748b4c.tar.bz2 hercules-78854572cfc432ae439cdb20f83d9d19c4748b4c.tar.xz hercules-78854572cfc432ae439cdb20f83d9d19c4748b4c.zip |
Merge pull request #1405 from Emistry/scriptcommand_makeitem2
Add *makeitem2 script command.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 9777038a4..82471aed8 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4977,7 +4977,32 @@ will be used. --------------------------------------- -*cleanarea("<map name>", <x1>, <y1>, <x2>, <y2>) +*makeitem2(<item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,{"<map name>",<X>,<Y>,<range>}) +*makeitem2("<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,{"<map name>",<X>,<Y>,<range>}) + +This script command work like 'makeitem', but it has additional parameters +to expand the usage of the scritp command. + +Parameter List: + itemid - ID / Name of an item + amount - Amount you want produced (Value: 1~MAX_AMOUNT) + - if item type is Armor/Wepaon/PetEgg/PetArmor, amount will be limit to 1 + identify - Item to be identified (1) or not (0) + refine - Refine count of item. (Value: 0 ~ MAX_REFINE) + attribute - Item is broken (1) or not (0) + card1,2,3,4 - Card IDs that compound on each slot + +Optional Parameter List: + map name - Map name (Default to attached player map) + X,Y - The coordinate of item will be dropped + If value = 0, it's drop random across the map + If value = -1, its drop around player + range - Range of item drop around player. (Value: 1 ~ battle_config.area_size, Default: 3) + Default value will be used if no player are attached to the script. + +--------------------------------------- + +*cleanarea("<map name>",<x1>,<y1>,<x2>,<y2>) *cleanmap("<map name>") These commands will clear all items lying on the ground on the specified |