/
lib/banish/
lib/d/
lib/doc/
lib/doc/domains/
lib/doc/efun/
lib/doc/examples/
lib/doc/examples/armour/
lib/doc/examples/contain/
lib/doc/examples/food/
lib/doc/examples/magic/
lib/doc/examples/monster/
lib/doc/examples/room/
lib/doc/examples/weapons/
lib/function/
lib/include/
lib/include/fn_specs/
lib/include/skills/
lib/info/
lib/inherit/base/
lib/log/
lib/manuals/312/
lib/news/
lib/obj/party/
lib/objects/components/
lib/open/
lib/open/library/
lib/open/party/
lib/players/
lib/players/zilanthius/
lib/room/
lib/room/city/arena/
lib/room/city/creator/
lib/room/city/garden/monst/
lib/room/city/obj/
lib/room/city/shop/
lib/room/death/
lib/room/registry/
lib/secure/
lib/secure/UDP_CMD_DIR/
lib/skills/
lib/skills/fighter/
lib/skills/thief/
lib/usr/
lib/usr/creators/
lib/usr/players/
/* MACE of Disruption */
inherit "inherit/weapon";

reset(arg) {
  if(arg) return;
  set_name("mace");
  set_type("crush");
  set_wc(17);  /* plus 5 mace */
  set_length(36);
  set_weight(4);
  set_value(5000);
  set_short("A white marble mace");
  set_long(
     "This weapon bears silver and platinum bound into the shaft,     \n"+
     "and is made from a solid slab of pure white marble, unblemished \n"+
     "and excelently crafted. \n");

  set_hit_func(this_object());
  set_sell_destruct(1);
  set_enchanted(1);
  set_light(1);   /* soft glow */
}

weapon_hit(target) {
  if(target -> id("undead")) {
    tell_room(environment(environment()), 
              target->query_name() +" cries out in pain!\n");
    target -> turn(random(15));
  }
  return 17; /* double damage vs undead */
}

query_info() {
  return "A mace of disruption. This magical mace is able to turn undead \n"+
         "as well as a cleric of reasonable power. It also returns double\n"+
          "damage versus these beasts\n";
}