No Zapping Arch Wizzes

Here's how to prevent zapping of arch wizards:

In /verbs/creators/zap.c, change:

    if(!living(ob)) {
        write("You can only zap living things.");
        return 1;
    }
    else name = ob->GetName();

to

    if(!living(ob)) {
        write("You can only zap living things.");
        return 1;
    } else if (archp(ob)) {
        write("You can't zap an Arch!");
        return 1;
    } else name = ob->GetName();

Trackback URL for this post:

http://erroraccessdenied.com/trackback/861