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.18 by elmex, Tue Jul 31 09:40:15 2007 UTC vs.
Revision 1.19 by elmex, Thu Aug 9 10:49:56 2007 UTC

1065 my ($cost, $diamonds, $category) = @_; 1065 my ($cost, $diamonds, $category) = @_;
1066 1066
1067 my $stat_split = Jeweler::getcfg (diamond_split => $category); 1067 my $stat_split = Jeweler::getcfg (diamond_split => $category);
1068 1068
1069 my $sum = sum (@$stat_split); 1069 my $sum = sum (@$stat_split);
1070 if ($sum < (1 - 0.0001)) {
1071 warn "JEWELER BUG: sum (@$stat_split) = $sum < 1 for $category!";
1072 }
1073 1070
1074 my $emarch = cf::arch::find 'emerald'; 1071 my $emarch = cf::arch::find 'emerald';
1075 my $saarch = cf::arch::find 'sapphire'; 1072 my $saarch = cf::arch::find 'sapphire';
1076 my $pearch = cf::arch::find 'pearl'; 1073 my $pearch = cf::arch::find 'pearl';
1077 my $ruarch = cf::arch::find 'ruby'; 1074 my $ruarch = cf::arch::find 'ruby';

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines