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.1 by root, Sun Oct 1 23:43:38 2006 UTC vs.
Revision 1.2 by root, Sun Oct 1 23:57:54 2006 UTC

2 2
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
8 return unless $ob->flag (cf::FLAG_WIZ) || $cf::CFG{nopriv_goto};
7 9
8 my $portal = cf::object::new "exit"; 10 my $portal = cf::object::new "exit";
9 11
10 $portal->slaying ($arg); 12 $portal->slaying ($arg);
11 $portal->stats->hp (0); #todo#improve 13 $portal->stats->hp (0); #todo#improve

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines