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

Comparing deliantra/maps/perl/schmorp-neko.ext (file contents):
Revision 1.2 by root, Wed Feb 8 05:22:41 2006 UTC vs.
Revision 1.3 by root, Wed Feb 8 06:22:43 2006 UTC

20 20
21sub on_move { 21sub on_move {
22 my ($data) = @_; 22 my ($data) = @_;
23 23
24 if (my $pl = $data->{who}->nearest_player) { 24 if (my $pl = $data->{who}->nearest_player) {
25 if ($pl->level >= 10) { 25 if ($pl->exp >= 200000) {
26 my (undef, undef, undef, $dir, undef) = $data->{who}->direction ($pl); 26 my (undef, undef, undef, $dir, undef) = $data->{who}->direction ($pl);
27 $data->{who}->move ($data->{who}, $dir); 27 $data->{who}->move ($data->{who}, $dir);
28 } 28 }
29 } 29 }
30 30

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines