From ac6fd81810e6afb1ef60e7f2c7f8fc6e03408724 Mon Sep 17 00:00:00 2001 From: Emistry Haoyan Date: Sat, 20 Aug 2016 03:10:26 +0800 Subject: Update *makeitem2 script command - squash commits. - fix conflicts during rebase. - fix travis build warnings. --- doc/script_commands.txt | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 204723905..92d5a0a4e 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4976,7 +4976,32 @@ will be used. --------------------------------------- -*cleanarea("", , , , ) +*makeitem2(,,,,,,,,,{"",,,}) +*makeitem2("",,,,,,,,,{"",,,}) + +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("",,,,) *cleanmap("") These commands will clear all items lying on the ground on the specified -- cgit v1.2.3-70-g09d2