ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/dmcommands.ext
(Generate patch)

Comparing deliantra/maps/perl/dmcommands.ext (file contents):
Revision 1.3 by root, Sun Oct 1 23:59:53 2006 UTC vs.
Revision 1.4 by root, Mon Oct 2 00:03:23 2006 UTC

3# wizard commands 3# wizard commands
4 4
5cf::register_command goto => 0, sub { 5cf::register_command goto => 0, sub {
6 my ($ob, $arg) = @_; 6 my ($ob, $arg) = @_;
7 7
8 return unless $ob->flag (cf::FLAG_WIZ) || $cf::CFG{nopriv_goto}; 8 return unless $ob->flag (cf::FLAG_WIZ) || $cf::CFG{unpriv_goto};
9 9
10 my $portal = cf::object::new "exit"; 10 my $portal = cf::object::new "exit";
11 11
12 $portal->slaying ($arg); 12 $portal->slaying ($arg);
13 $portal->stats->hp (0); 13 $portal->stats->hp (0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines