No Zapping Arch Wizzes

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();

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: