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://svn.code.sf.net/p/rathena/svn/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4fed311425
commit
225a4b2ce2
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user