ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/Jeweler.pm
(Generate patch)

Comparing deliantra/server/ext/Jeweler.pm (file contents):
Revision 1.13 by elmex, Tue Apr 10 16:42:57 2007 UTC vs.
Revision 1.14 by elmex, Tue Apr 10 17:46:22 2007 UTC

796sub to_object { 796sub to_object {
797 my ($self) = @_; 797 my ($self) = @_;
798 798
799 my $obj = cf::object::new $self->{hash}->{arch}; 799 my $obj = cf::object::new $self->{hash}->{arch};
800 800
801 $obj->item_power ($self->power_to_level); # there have to be strings attached! 801 $obj->item_power (floor ($self->power_to_level / 3)); # there have to be strings attached!
802 802
803 $obj->face ($self->{hash}{face}); 803 $obj->face ($self->{hash}{face});
804 804
805 my $stats = $obj->stats; 805 my $stats = $obj->stats;
806 806

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines