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

Comparing deliantra/maps/perl/invite.ext (file contents):
Revision 1.11 by root, Thu Apr 6 19:57:56 2006 UTC vs.
Revision 1.12 by root, Fri Sep 8 16:22:14 2006 UTC

96sub teleport { 96sub teleport {
97 my ($pl, $map, $x, $y) = @_; 97 my ($pl, $map, $x, $y) = @_;
98 98
99 my $portal = cf::object::new "exit"; 99 my $portal = cf::object::new "exit";
100 100
101 $portal->set_slaying ($map->path); 101 $portal->slaying ($map->path);
102 $portal->set_hp ($x); 102 $portal->hp ($x);
103 $portal->set_sp ($y); 103 $portal->sp ($y);
104 104
105 $portal->apply ($pl); 105 $portal->apply ($pl);
106 106
107 $portal->free; 107 $portal->free;
108} 108}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines