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.38 by elmex, Mon Oct 25 09:08:31 2010 UTC vs.
Revision 1.39 by root, Sun Nov 18 15:19:48 2018 UTC

230 if ($nrof) { 230 if ($nrof) {
231 # XXX: yes, I know what I'm doing here, I don't set nrof, but it didn't work somehow (pls. check sometimes) 231 # XXX: yes, I know what I'm doing here, I don't set nrof, but it didn't work somehow (pls. check sometimes)
232 $ingred->remove ($ingr_grp, $srcarchname); 232 $ingred->remove ($ingr_grp, $srcarchname);
233 for (1 .. $nrof) { 233 for (1 .. $nrof) {
234 $chdl->put (my $ob = cf::object::new $outarch); 234 $chdl->put (my $ob = cf::object::new $outarch);
235 $ob->set_animation (cf::rndm $ob->num_animations) 235 $ob->set_anim_frame (cf::rndm $ob->anim_frames)
236 if ($ob->type == cf::RING); 236 if ($ob->type == cf::RING);
237 $ob->flag (cf::FLAG_IDENTIFIED, 1); 237 $ob->flag (cf::FLAG_IDENTIFIED, 1);
238 } 238 }
239 239
240 my $xp_sum = $xp_gain * $nrof; 240 my $xp_sum = $xp_gain * $nrof;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines