Exemplo n.º 1
0
int
v_view_aura(struct command *c)
{
	int aura;
	int where;

	if (c->a < 1)
		c->a = 1;
	aura = c->a;

	if (!check_aura(c->who, aura))
		return FALSE;

	if (crosses_ocean(cast_where(c->who),c->who)) {
	  wout(c->who,"Something seems to block your magic.");
	  return FALSE;
	};

	where = reset_cast_where(c->who);
	c->d = where;

	wout(c->who, "Will scry the current aura ratings of other "
		"mages in %s.", box_name(where));

	return TRUE;
}
Exemplo n.º 2
0
int
v_view_aura(struct command *c)
{
  int aura;
  int where;

  if (c->a < 1)
    c->a = 1;
  aura = c->a;

  if (!check_aura(c->who, aura))
    return FALSE;

  where = reset_cast_where(c->who);
  c->d = where;

  wout(c->who, "Will scry the current aura ratings of other "
       "mages in %s.", box_name(where));

  return TRUE;
}