예제 #1
0
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;
	}
}
예제 #2
0
파일: spells1.c 프로젝트: frasten/openleu
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;
  }
}