Re: Lets test those coding skills of your...

From: Daniel A. Koepke (dkoepke@circlemud.org)
Date: 12/03/01


On Mon, 3 Dec 2001, Del wrote:

> Out of curiosity, why are you getting
> GET_NAME(FIGHTING(FIGHTING(d->character))) does this not point to
> GET_NAME(d->character)?

Not necessarily.  Consider the common case of being in a group.  The group
leader attacks the mobile first and the members assist.  For the group
members, FIGHTING does indeed point to the mobile, but FIGHTING for the
mobile is always the group leader.  All of this is a low-level view and
definition for what is commonly called a 'tank'.

-dak

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/24/03 PDT