[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Tue Mar 6 16:31:53 CST 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/03/06 16:31
User        : ryo
Edit Summary: update

@@ -45,15 +45,16 @@
  ==== Apply ====
  Archetype: event_apply
  
  This event is generated whenever the object is applied or unapplied.
+ 
  
  ==== Attack ====
  Archetype: event_attack
  
  This event is used in two cases:
-   * bound to a 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;
-   * bound to a monster, it is triggered when the monster is attacked.
+   * 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")
  
  ==== Close ====
  Archetype: event_close
  


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1173005320
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