Re: Disarm skill

From: Skylar (
Date: 07/30/95

> I am trying to add a disarm skill for warriors in my MUD. I have gotten 
> it mostly done. You can practice it, and if you try to disarm a 
> weaponless opponent is tell you such, but it just simply will not work as 
> it should. Here is the code that I added to act.offensive, and fight.c:
--code snipped--
> Suggestions?
Replace obj_from_char(obj) with unequip_char(obj->worn_by, obj->worn_on)

You might want to add a check for 

CAN_SEE_OBJ(ch, victim->equipment[WEAR_WIELD])

Before you even get that far... just for purposes of realism :)

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