void cast_shocking_grasp( byte level, struct char_data *ch, char *arg, int type, struct char_data *victim, struct obj_data *tar_obj ) { switch (type) { case SPELL_TYPE_SPELL: spell_shocking_grasp(level, ch, victim, 0); break; default : log_msg("Serious screw-up in shocking grasp!"); break; } }
void cast_shocking_grasp( byte level, struct char_data *ch, const char *arg, int type, struct char_data *victim, struct obj_data *tar_obj ) { switch (type) { case SPELL_TYPE_SPELL: case SPELL_TYPE_WAND: case SPELL_TYPE_STAFF: spell_shocking_grasp(level, ch, victim, 0); break; default : mudlog( LOG_SYSERR, "Serious screw-up in shocking grasp!"); break; } }