summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-14 21:45:03 +0000
committerxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-14 21:45:03 +0000
commitcb25600e4ccf9c2c14f6eb34b36cf4ad28cf6132 (patch)
tree12920952b2a5d70ceaa0f8229e3c4ef65567773a
parente1c7f1b188ed441801a0ad9932c08fc7e17517ca (diff)
downloadhercules-cb25600e4ccf9c2c14f6eb34b36cf4ad28cf6132.tar.gz
hercules-cb25600e4ccf9c2c14f6eb34b36cf4ad28cf6132.tar.bz2
hercules-cb25600e4ccf9c2c14f6eb34b36cf4ad28cf6132.tar.xz
hercules-cb25600e4ccf9c2c14f6eb34b36cf4ad28cf6132.zip
` Updated script command documentation for setdragon and setmounting. Added checkdragon.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16634 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--doc/script_commands.txt26
1 files changed, 18 insertions, 8 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 4f7226215..e3949afde 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3465,12 +3465,20 @@ bird and 0 if they aren't.
---------------------------------------
-*setdragon {<flag>};
+*setdragon {<color>};
+*checkdragon()
-If <flag> is 0 this command will remove the mount from the character.
-Otherwise it gives the invoking character a dragon mount, which is
-checked using checkriding().
-Note: the character needs to have the skill KN_RIDING to gain a mount
+The 'setdragon' function toggles mounting a dragon for the invoking character.
+It will return 1 if successful, 0 otherwise.
+
+If the character can mount a dragon, the <color> options are:
+ 1 - Green Dragon (default when omitted)
+ 2 - Brown Dragon
+ 3 - Gray Dragon
+ 4 - Blue Dragon
+ 5 - Red Dragon
+
+Note: the character must be a Rune Knight and have the skill RK_DRAGONTRAINING to gain a mount
The accompanying function will return 1 if the invoking character is riding a
dragon and 0 if they aren't.
@@ -3491,11 +3499,13 @@ Mado and 0 if they don't.
*setmounting;
*ismounting()
-Gives the invoking character a cash mount. Unlike the other mount
-commands, it cannot be used to remove a cash mount.
+The 'setmounting' function toggles cash mount for the invoking character.
+It will return 1 if successful, 0 otherwise.
+
+Note: Character must not be mounting a non-cash mount (eg. dragon, peco, wug, etc.)
The accompanying function will return 1 if the invoking character has a
-mount and 0 if they don't.
+cash mount and 0 if they don't.
---------------------------------------