ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/doc/events.pod
(Generate patch)

Comparing deliantra/server/doc/events.pod (file contents):
Revision 1.9 by elmex, Tue Aug 29 17:29:28 2006 UTC vs.
Revision 1.10 by root, Wed Aug 30 06:06:27 2006 UTC

137=head3 say (object player message) 137=head3 say (object player message)
138 138
139Invoked whenever the I<object> can hear a B<message> being said by 139Invoked whenever the I<object> can hear a B<message> being said by
140B<player> in its vicinity. 140B<player> in its vicinity.
141 141
142=head3 move (monster enemy -- ) 142=head3 monster_move (monster enemy -- )
143 143
144Invoked whenever the B<monster> tries to move, just after B<enemy> and 144Invoked whenever the B<monster> tries to move, just after B<enemy> and
145other parameters have been determined, but before movement is actually 145other parameters have been determined, but before movement is actually
146executed. 146executed.
147 147
148=head3 attack (object hitter -- damage) 148=head3 attack (object hitter -- damage)
149 149
150Object gets attacked by somebody - when overriden, should return the 150Object gets attacked by somebody - when overriden, should return the
151damage that has been dealt. 151damage that has been dealt.
152 152
153=head3 skill_attack (attacker victim message skill -- success)
154
155Invoked whenever an B<attacker> attacks B<victim> using a B<skill> (skill
156cna be C<undef>). B<message> is the message that describes the attack when
157damage is done.
158
153=head3 attacks (weapon hitter victim) 159=head3 weapon_attack (weapon hitter victim)
154 160
155Invoked whenever an object is used as a B<weapon> by B<hitter> to attack 161Invoked whenever an object is used as a B<weapon> by B<hitter> to attack
156B<victim>. 162B<victim>.
157 163
158=head3 inscribe_note (book pl message skill -- ) 164=head3 inscribe_note (book pl message skill -- )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines