[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Thu Jun 9 16:38:27 CDT 2011
A page in your DokuWiki was added or changed. Here are the details:
Date : 2011/06/09 16:38
User : ryo
Edit Summary: add 'Arrest'
@@ -538,8 +538,9 @@
* 0: give the player the skill
* 1: give player exp to total, no skill
* 2: player gets nothing
* 3: used when removing exp
+
==== Apply ====
Current object applies specified object. The effect depends on the object being applied, which can be a potion, a trigger, ...
@@ -550,8 +551,17 @@
Return value:
* 0: player or monster can't apply objects of that type
* 1: has been applied, or there was an error applying the object
* 2: objects of that type can't be applied if not in inventory
+
+ ==== Arrest ====
+ Player is jailed, put in a map defined based on the region. No information is sent to victim.
+
+ Return value:
+ * 0: correctly jailed
+ * -1: no jail could be found (region issue)
+ * -2: failure loading jail, or player already on jail's destination
+ * -3: object is not a player (Type == PLAYER)
==== Cast ====
Current object casts a spell.
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1307653295
New Revision: http://wiki.metalforge.net/doku.php/cfpython
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list