Re: int sharp[];

From: Hades (tourach@servtech.com)
Date: 06/03/96


> 
> Does anyone know the original intent of sharp[] in constants.c?
> It's not used anywhere, and I can't think of any application for it.....
> 
> (Of course, it could be used somewhere, and I just didn't look hard enough) :P

It's to flag certian damage types as a sharp weapon or not, mainly to
restrict clerics from using those said weapons... IE:

if(sharp[GET_OBJ_VAL(weapon, 3)]) {
  act("You cannot wield sharp weapons!", 0, ch, 0, 0, TO_CHAR);
  return;
}

Gotit? :)



This archive was generated by hypermail 2b30 : 12/18/00 PST