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

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.113 by root, Sat Apr 3 02:27:24 2010 UTC vs.
Revision 1.114 by root, Sat Apr 3 17:15:19 2010 UTC

136 136
137 skill = find_skill_by_name_fuzzy (pl, params); 137 skill = find_skill_by_name_fuzzy (pl, params);
138 138
139 if (!skill) 139 if (!skill)
140 { 140 {
141 new_draw_info_format (NDI_UNIQUE, 0, pl, "You have no knowledge of the skill %s", params); 141 new_draw_info_format (NDI_UNIQUE, 0, pl, "You have no knowledge of the %s skill.", params);
142 return 0; 142 return 0;
143 } 143 }
144 144
145 pl->apply (skill); 145 pl->apply (skill);
146 return 1; 146 return 1;
153command_throw (object *op, char *params) 153command_throw (object *op, char *params)
154{ 154{
155 if (object *skop = find_skill_by_name (op, skill_names[SK_THROWING])) 155 if (object *skop = find_skill_by_name (op, skill_names[SK_THROWING]))
156 return do_skill (op, op, skop, op->facing, params); 156 return do_skill (op, op, skop, op->facing, params);
157 else 157 else
158 new_draw_info (NDI_UNIQUE, 0, op, "You have no knowledge of the skill throwing."); 158 new_draw_info (NDI_UNIQUE, 0, op, "You have no knowledge of the throwing skill.");
159 159
160 return 0; 160 return 0;
161} 161}
162 162
163int 163int

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines