From a45d114dcf233eb0f932a5abc7c3cd229b82ceef Mon Sep 17 00:00:00 2001 From: ultramage Date: Thu, 1 Sep 2011 21:19:10 +0000 Subject: 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 --- doc/script_commands.txt | 4 ++-- 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 is not specified, items will be created in the invoking +If 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 "",,,,,,,,{,}; 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 ,{,}; - * getitem "",{,}; + * getitem ,{,}; + * getitem "",{,}; *------------------------------------------*/ BUILDIN_FUNC(getitem) { -- cgit v1.2.3-70-g09d2