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

Comparing deliantra/server/ext/schmorp-neko.ext (file contents):
Revision 1.3 by root, Tue Feb 13 21:28:11 2007 UTC vs.
Revision 1.4 by root, Sat May 19 11:04:16 2007 UTC

111 $hitter->{neko_attack} = 0; 111 $hitter->{neko_attack} = 0;
112 } 112 }
113 113
114 $hitter->{neko_last_attack} = time; 114 $hitter->{neko_last_attack} = time;
115 $hitter->{neko_attack}++ 115 $hitter->{neko_attack}++
116 or ext::schmorp_irc::do_notice "Neko-san was attacked by ". $hitter->name . "!\n"; 116 or ext::irc::do_notice "Neko-san was attacked by ". $hitter->name . "!\n";
117 117
118 $hitter->message ("Meoow! (Please do not hurt me)") 118 $hitter->message ("Meoow! (Please do not hurt me)")
119 if !($hitter->{neko_attack} & 15); 119 if !($hitter->{neko_attack} & 15);
120 120
121 if ($hitter->{neko_attack} > 512) { 121 if ($hitter->{neko_attack} > 512) {
134} 134}
135 135
136sub on_say { 136sub on_say {
137 my ($self, $pl, $msg) = @_; 137 my ($self, $pl, $msg) = @_;
138 138
139 ext::schmorp_irc::do_notice (sprintf "[Neko-fon] %s: %s\n", $pl->ob->name, $msg); 139 ext::irc::do_notice (sprintf "[Neko-fon] %s: %s\n", $pl->ob->name, $msg);
140} 140}
141 141
142cf::object::attachment "Nekosan", package => __PACKAGE__; 142cf::object::attachment "Nekosan", package => __PACKAGE__;
143 143

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines