--- deliantra/server/pod/events.pod 2007/03/02 00:29:08 1.16 +++ deliantra/server/pod/events.pod 2007/05/22 10:50:00 1.19 @@ -145,11 +145,11 @@ (if it is a player) an indication of whats wrong. Must return true if the object was freed. -=head3 use_skill (skill who part direction strignarg -- ) +=head3 use_skill (skill who part direction stringarg -- ) Invoked whenever a skill is used by somebody or something. -=head3 cast_spell (spell casting_object owner direction stringarg -- ) +=head3 cast_spell (spell owner casting_object direction stringarg -- ) Invoked whenever a given spell is cast by B (used by B). @@ -297,6 +297,12 @@ =head3 move (player direction -- ) +Called whenever the player is supposed to move or attack. The handler +must handle the cases of speed_left or weapon_sp_left being negative, +fire being on, is responsible for decreaseing the speed_left value +on successful moves etc. etc.. When overriden, must return a boolean +indicating wether a move could be effected. + =head3 pray_altar (player altar skill -- ) Invoked whenever the B prays over an B, using the given B. @@ -375,10 +381,15 @@ Called as soon as a new connection to the server is established. Should not be overriden. +=head3 setup (client string -- ) + +Client sent the setup command to negotiate parameters. Handling is +mandatory and done by F. + =head3 addme (client -- ) -The client sent an addme, thus ending the initial handshaking. If overriden, the server -will not send any response. +The client sent an addme, thus ending the initial handshaking. Handling is mandatory +and done by F. =head3 reply (client replystring -- )