Re: [Circle] Victim HP

From: Rasmus 'Con' Ronlev (
Date: 07/28/96

On Fri, 26 Jul 1996, Kyle Willer wrote:

> Durring a fight i need to get the victims HP.  I don't know where to get 
> this from.  I am going to use this in the prompt.  Can someone point me 
> in the right direction.

well, first of all you can get a pointer to the mob that ch is fighting 
by : FIGHTING(ch). then you get get 'it's' hitpoints by 
GET_HIT(FIGHTING(ch)) if I remember correctly :) there is a 'longer' way 
to do this i.e. without using those macro's, but only improves the chance 
of errors in my oppinion.

Hope this helps,

     Rasmus Rønlev DOEK'94      WWW:  
     Student instructor         MUD: 5000
       Student, B.Sc in Computer Science and Business Administration. 

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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