Parcourir la source

Merge pull request #761 from rathena/hotfix/atcommand_doc

Updated atcommand documentation
* Added atcommand changecharsex to the atcommand documentation.
Aleos il y a 9 ans
Parent
commit
ad3a74bb8f
2 fichiers modifiés avec 10 ajouts et 4 suppressions
  1. 6 0
      doc/atcommands.txt
  2. 4 4
      src/map/atcommand.c

+ 6 - 0
doc/atcommands.txt

@@ -1151,6 +1151,12 @@ Changes the gender attached to the player's account.
 
 ---------------------------------------
 
+@changecharsex
+
+Changes the gender attached to the player's character.
+
+---------------------------------------
+
 @marry <player 1> <player 2>
 @divorce <player>
 

+ 4 - 4
src/map/atcommand.c

@@ -6770,8 +6770,8 @@ ACMD_FUNC(uptime)
 }
 
 /*==========================================
- * @changesex <sex>
- * => Changes one's account sex. Argument sex can be 0 or 1, m or f, male or female.
+ * @changesex 
+ * => Changes one's account sex. Switch from male to female or visversa
  *------------------------------------------*/
 ACMD_FUNC(changesex)
 {
@@ -6791,8 +6791,8 @@ ACMD_FUNC(changesex)
 }
 
 /*==========================================
- * @changecharsex <sex>
- * => Changes one's character sex. Argument sex can be 0 or 1, m or f, male or female.
+ * @changecharsex
+ * => Changes one's character sex. Switch from male to female or visversa.
  *------------------------------------------*/
 ACMD_FUNC(changecharsex)
 {