1 | /* |
1 | /* |
2 | * static char *rcsid_skill_util_c = |
2 | * static char *rcsid_skill_util_c = |
3 | * "$Id: skill_util.C,v 1.2 2006/08/25 17:11:53 root Exp $"; |
3 | * "$Id: skill_util.C,v 1.3 2006/08/26 08:44:07 root Exp $"; |
4 | */ |
4 | */ |
5 | /* |
5 | /* |
6 | CrossFire, A Multiplayer game for X-windows |
6 | CrossFire, A Multiplayer game for X-windows |
7 | |
7 | |
8 | Copryight (C) 2002 Mark Wedel & Crossfire Development Team |
8 | Copryight (C) 2002 Mark Wedel & Crossfire Development Team |
… | |
… | |
878 | } |
878 | } |
879 | } |
879 | } |
880 | /* If we didn't find a skill above, look harder for a good skill */ |
880 | /* If we didn't find a skill above, look harder for a good skill */ |
881 | if (!skill) { |
881 | if (!skill) { |
882 | skill = find_best_player_hth_skill(op); |
882 | skill = find_best_player_hth_skill(op); |
883 | // if ((skill = execute_global_event(EVENT_FIND_UNARMED_SKILL, op)) <= 0) { |
|
|
884 | // } |
|
|
885 | |
883 | |
886 | if (!skill) { |
884 | if (!skill) { |
887 | new_draw_info(NDI_BLACK, 0, op, "You have no unarmed combat skills!"); |
885 | new_draw_info(NDI_BLACK, 0, op, "You have no unarmed combat skills!"); |
888 | return 0; |
886 | return 0; |
889 | } |
887 | } |