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

Comparing deliantra/server/server/skill_util.C (file contents):
Revision 1.83 by root, Fri Mar 26 20:17:48 2010 UTC vs.
Revision 1.84 by root, Fri Apr 2 03:41:25 2010 UTC

168 168
169 if (!skill) 169 if (!skill)
170 skill = give_skill_by_name (who, skill_tool->skill); 170 skill = give_skill_by_name (who, skill_tool->skill);
171 171
172 if (!skill_tool->flag [FLAG_APPLIED]) 172 if (!skill_tool->flag [FLAG_APPLIED])
173 if (apply_special (who, splay (skill_tool), AP_APPLY | AP_NO_READY)) 173 if (apply_special (who, splay (skill_tool), AP_APPLY))
174 return 0; 174 return 0;
175 175
176 return splay (skill); 176 return splay (skill);
177} 177}
178 178
893 LOG (llevError, "Could not find anything to attack on %s\n", &op->name); 893 LOG (llevError, "Could not find anything to attack on %s\n", &op->name);
894 return 0; 894 return 0;
895 } 895 }
896 } 896 }
897 897
898 if (!op->change_weapon (pl->combat_ob)) 898 if (!op->apply (pl->combat_ob))
899 return 0; 899 return 0;
900 } 900 }
901 901
902 /* lose invisiblity/hiding status for running attacks */ 902 /* lose invisiblity/hiding status for running attacks */
903 if (pl->tmp_invis) 903 if (pl->tmp_invis)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines