Kherz not dropping stuff


  • registered

    Bug Name: KherzBlind-9868271347868756237477362348976871265348.4
    Reported By: Ashlynn
    Flags: Mortal Annoyance
    Summary: Kherz can't drop anything in his death script if he's blind.
    Documentation:

    The death script (vnum 1836):
    mob asound {MThe demon-mist in the air dissipates, and a sense of calm washes over you.{x
    [b]remove all[/b]
    [b]drop all[/b]
    mob echo $I evaporates in the air before you.
    mob goto 1

    The two bold statements are the problem.

    There are four possible ways to fix this: two in the script, two in code.

    In the script, it can either do repeated cure blindness spells on himself to remove the blindness (using mob at to conceal the messages of course) or load the objects directly in the room. The former isn't 100% perfect as the blindness spell might not dispel. The latter doesn't take into account items that ended up in its inventory, such as projectiles.

    In the code, the see_all flag could be set to give vision to mobiles within the scripts (and only the scripts), bypassing vision checks (except for wizi). Or, add a mob remove/drop command that can do the actions without checking visibility and echoing any messages about it.

  • staff

    instead of remove all, drop all what if mob remove all/mob drop all was added in, where it would do it reguardless of blindness, etc


  • __Another mob with the same problem. praxis diviner [150073] prog: 150070 drop all mob echo $I vanishes with a loud clap of thunder! mob goto 1__

  • registered

    Well, the praxis diviner also has no infrared (night vision) so that would fail in dark rooms.

  • retired

    I think a "mob dispellall" command would probably be the best way to handle this - a function that dispels all affects from the MOB and sets visibility to on in case of dark rooms. I'll get one in ASAP.

Log in to reply