Ejemplo n.º 1
0
void cast_burning_hands( 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_burning_hands(level, ch, victim, 0); 
			break;
    default : 
      log("Serious screw-up in burning hands!");
      break;
	}
}
Ejemplo n.º 2
0
void cast_burning_hands( 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_WAND:
  case SPELL_TYPE_SPELL:
  case SPELL_TYPE_STAFF:
  case SPELL_TYPE_SCROLL:
    spell_burning_hands(level, ch, 0, 0);
    break;
  default : 
    mudlog( LOG_SYSERR, "Serious screw-up in burning hands!");
    break;
  }
}