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

Comparing deliantra/maps/perl/follow.ext (file contents):
Revision 1.22 by root, Wed Aug 30 13:04:23 2006 UTC vs.
Revision 1.23 by root, Fri Sep 8 16:22:14 2006 UTC

13 && abs ($pl->ob->x - $x) <= 1 13 && abs ($pl->ob->x - $x) <= 1
14 && abs ($pl->ob->y - $y) <= 1; 14 && abs ($pl->ob->y - $y) <= 1;
15 15
16 my $portal = cf::object::new "exit"; 16 my $portal = cf::object::new "exit";
17 17
18 $portal->set_slaying ($map); 18 $portal->slaying ($map);
19 $portal->set_hp ($x); 19 $portal->hp ($x);
20 $portal->set_sp ($y); 20 $portal->sp ($y);
21 21
22 $portal->apply ($pl->ob); 22 $portal->apply ($pl->ob);
23 23
24 $portal->free; 24 $portal->free;
25} 25}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines