… | |
… | |
1234 | { |
1234 | { |
1235 | new_draw_info_format (NDI_UNIQUE, 0, op, "You lack the skill %s to use the %s", &caster->skill, query_name (caster)); |
1235 | new_draw_info_format (NDI_UNIQUE, 0, op, "You lack the skill %s to use the %s", &caster->skill, query_name (caster)); |
1236 | return 0; |
1236 | return 0; |
1237 | } |
1237 | } |
1238 | |
1238 | |
1239 | change_skill (op, skill, 0); /* needed for proper exp credit */ |
1239 | op->change_skill (skill); /* needed for proper exp credit */ |
1240 | } |
1240 | } |
1241 | |
1241 | |
1242 | switch (spell_ob->subtype) |
1242 | switch (spell_ob->subtype) |
1243 | { |
1243 | { |
1244 | /* The order of case statements is same as the order they show up |
1244 | /* The order of case statements is same as the order they show up |