… | |
… | |
1566 | for (tmp = last; tmp; tmp = tmp->below) |
1566 | for (tmp = last; tmp; tmp = tmp->below) |
1567 | { |
1567 | { |
1568 | /* show invisible */ |
1568 | /* show invisible */ |
1569 | if (QUERY_FLAG (spell, FLAG_MAKE_INVIS) && |
1569 | if (QUERY_FLAG (spell, FLAG_MAKE_INVIS) && |
1570 | /* Might there be other objects that we can make visible? */ |
1570 | /* Might there be other objects that we can make visible? */ |
1571 | (tmp->invisible && (QUERY_FLAG (tmp, FLAG_MONSTER) || |
1571 | (tmp->invisible && (QUERY_FLAG (tmp, FLAG_MONSTER) |
1572 | (tmp->type == PLAYER && !QUERY_FLAG (tmp, FLAG_WIZ)) |
1572 | || (tmp->type == PLAYER && !QUERY_FLAG (tmp, FLAG_WIZ)) |
1573 | || tmp->type == CF_HANDLE |
1573 | || tmp->type == CF_HANDLE |
1574 | || tmp->type == TRAPDOOR || tmp->type == EXIT || tmp->type == HOLE |
1574 | || tmp->type == TRAPDOOR |
|
|
1575 | || tmp->type == EXIT |
|
|
1576 | || tmp->type == HOLE |
|
|
1577 | || tmp->type == BUTTON |
1575 | || tmp->type == BUTTON || tmp->type == TELEPORTER |
1578 | || tmp->type == TELEPORTER |
|
|
1579 | || tmp->type == GATE |
1576 | || tmp->type == GATE || tmp->type == LOCKED_DOOR |
1580 | || tmp->type == LOCKED_DOOR |
1577 | || tmp->type == WEAPON || tmp->type == ALTAR || tmp->type == SIGN |
1581 | || tmp->type == WEAPON |
|
|
1582 | || tmp->type == ALTAR |
|
|
1583 | || tmp->type == SIGN |
1578 | || tmp->type == TRIGGER_PEDESTAL || tmp->type == SPECIAL_KEY |
1584 | || tmp->type == TRIGGER_PEDESTAL |
1579 | || tmp->type == TREASURE || tmp->type == BOOK || tmp->type == HOLY_ALTAR))) |
1585 | || tmp->type == SPECIAL_KEY |
|
|
1586 | || tmp->type == TREASURE |
|
|
1587 | || tmp->type == BOOK |
|
|
1588 | || tmp->type == HOLY_ALTAR |
|
|
1589 | || tmp->type == CONTAINER))) |
1580 | { |
1590 | { |
1581 | if (random_roll (0, skill->level - 1, op, PREFER_HIGH) > level / 4) |
1591 | if (random_roll (0, skill->level - 1, op, PREFER_HIGH) > level / 4) |
1582 | { |
1592 | { |
1583 | tmp->invisible = 0; |
1593 | tmp->invisible = 0; |
1584 | done_one = 1; |
1594 | done_one = 1; |