[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Wed Apr 18 15:57:40 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/04/18 15:57
User : ryo
Edit Summary: modifications
@@ -56,17 +56,15 @@
==== Apply ====
Archetype: event_apply
This event is generated whenever the object is applied or unapplied.
-
-
==== Attack ====
Archetype: event_attack
This event is used in three cases:
- * bound to a (hand) weapon, it is triggered each time the weapon is used to slay something; this can typically be used to generate special effects when you hit a monster. In this case, "op" is the weapon, "activator" the player and "third" the monster attacked.
- * bound to a monster, it is triggered when the monster is attacked. In this case, "op" is the monster, "activator" is the player, "third" is the weapon (can be equal to "activator")
+ * bound to a (hand) weapon, it is triggered each time the weapon is used to slay something; this can typically be used to generate special effects when you hit a monster. In this case, "op" is the weapon, "activator" the player and "third" the monster attacked. Returning a non-zero value cancels the attack
+ * bound to a monster, it is triggered when the monster is attacked. In this case, "op" is the monster, "activator" is the player, "third" is the weapon (can be equal to "activator"). Returning a non-zero value cancels the attack
* bound to an arrow, it is triggered when the arrow hits something. "op" is the arrow, "hitter" what really hits (arrow can have stuff inside), "third" is the victim
==== Close ====
Archetype: event_close
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1176639997
New Revision: http://wiki.metalforge.net/doku.php/server_plugin
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list