diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-09-01 21:19:10 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-09-01 21:19:10 +0000 |
commit | a45d114dcf233eb0f932a5abc7c3cd229b82ceef (patch) | |
tree | 3089774c8d0b2328de16a9253a66987ff7022c6d | |
parent | 32bd768b5462ed9b276dee8cacb4b6fb785174f0 (diff) | |
download | hercules-a45d114dcf233eb0f932a5abc7c3cd229b82ceef.tar.gz hercules-a45d114dcf233eb0f932a5abc7c3cd229b82ceef.tar.bz2 hercules-a45d114dcf233eb0f932a5abc7c3cd229b82ceef.tar.xz hercules-a45d114dcf233eb0f932a5abc7c3cd229b82ceef.zip |
Fixed 'getitem' documentation typo (stating the optional 3rd argument is char id instead of account id).
Initial documentation mistakes from r2402, propagated to code documentation in r9599, only partially fixed in r12648.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | doc/script_commands.txt | 4 | ||||
-rw-r--r-- | src/map/script.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 3cdc590a6..9328cfa56 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4017,7 +4017,7 @@ wall), the character is pushed only up to the obstacle. This command will give a specific amount of specified items to the target character. If the character is not online, nothing will happen. -If <character ID> is not specified, items will be created in the invoking +If <account ID> is not specified, items will be created in the invoking character inventory instead. In the first and most commonly used version of this command, items are @@ -4059,7 +4059,7 @@ quite a few item scripts. For more examples check just about any official script *getitem2 "<Item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; This command will give an amount of specified items to the invoking character. -If an optional character ID is specified, and that character is currently +If an optional account ID is specified, and the target character is currently online, items will be created in their inventory instead. If they are not online, nothing will happen. It works essentially the same as 'getitem' (it even works for negative ID numbers the same way, which is kinda silly) but is a lot diff --git a/src/map/script.c b/src/map/script.c index 4c77bf872..66b61a419 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5570,8 +5570,8 @@ BUILDIN_FUNC(checkweight) } /*========================================== - * getitem <item id>,<amount>{,<character ID>}; - * getitem "<item name>",<amount>{,<character ID>}; + * getitem <item id>,<amount>{,<account ID>}; + * getitem "<item name>",<amount>{,<account ID>}; *------------------------------------------*/ BUILDIN_FUNC(getitem) { |