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

Comparing deliantra/maps/perl/jeweler.ext (file contents):
Revision 1.10 by root, Fri Sep 8 16:22:14 2006 UTC vs.
Revision 1.11 by root, Thu Sep 14 18:14:57 2006 UTC

1#! perl 1#! perl
2#CONVERSION: NONE 2
3use Data::Dumper; 3use Data::Dumper;
4use Jeweler; 4use Jeweler;
5use List::Util qw/max min sum/; 5use List::Util qw/max min sum/;
6use strict; 6use strict;
7 7
88 88
89cf::attach_to_type cf::SKILL, cf::SK_JEWELER, 89cf::attach_to_type cf::SKILL, cf::SK_JEWELER,
90 on_use_skill => sub { 90 on_use_skill => sub {
91 my ($sk, $ob, $part, $dir, $msg) = @_; 91 my ($sk, $ob, $part, $dir, $msg) = @_;
92 my $pl = $ob; 92 my $pl = $ob;
93 warn ($pl->name . " uses jeweler skill [$msg]!\n");
94 93
95 my $skobj = $sk; 94 my $skobj = $sk;
96 95
97 my $chdl = new Jeweler::CauldronHandler; 96 my $chdl = new Jeweler::CauldronHandler;
98 97

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines