#include <lib.h> inherit LIB_NPC; int CheckOrc(mixed val){ if(!val) return 0; if(!objectp(val)) return 0; if(val->GetRace() == "orc") return 0; else eventForce("growl at "+val->GetKeyName()); return 1; } static void create() { npc::create(); SetKeyName("orc shaman"); SetId(({"orc","shaman"})); SetAdjectives(({"dirty"})); SetShort("the orc shaman"); SetLong("This orc is different from the others you've seen. "+ "he has an unearthly ferocity about him and "+ "is bigger, tougher, and meaner than the others."); SetLevel(3); SetRace("orc"); SetClass("fighter"); SetGender("male"); SetMaxHealthPoints(200); SetEncounter( (: CheckOrc :) ); SetInventory(([ "/domains/town/weap/gstaff":"wield staff", "/domains/town/weap/orcslayer":1, "/domains/town/armor/orc_helmet": "wear helmet", "/domains/town/armor/bearskin": "wear bearskin", ]) ); }