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

Comparing deliantra/server/ext/doclet.ext (file contents):
Revision 1.3 by root, Wed Nov 21 11:53:01 2012 UTC vs.
Revision 1.4 by root, Wed Nov 21 12:12:03 2012 UTC

27 27
28 "B<$name>\n\n" 28 "B<$name>\n\n"
29 . ($skill ? $skill->msg : "You don't know anything about this skill.") 29 . ($skill ? $skill->msg : "You don't know anything about this skill.")
30}; 30};
31 31
32our $SPELL_HANDLER = ext::doclet::register spell => sub {
33 my ($pl, $category, $name) = @_;
34
35 my $skill = $pl->ob->find_spell ($name);
36
37 "B<$name>\n\n"
38 . ($skill ? $skill->msg : "You don't know anything about this spell.")
39};
40
32cf::register_async_exticmd doclet => sub { 41cf::register_async_exticmd doclet => sub {
33 my ($ns, $reply, $category, $item) = @_; 42 my ($ns, $reply, $category, $item) = @_;
34 43
35 $ns->async (sub { 44 $ns->async (sub {
36 my $cfpod; 45 my $cfpod;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines