Re: Newbie: Max Damage

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/04/97


On Thu, 4 Dec 1997, Rafiq "2 Pac" Premji wrote:

>I am looking for the variable, or function to set to raise the maximum
>damage that can be done in one hit.  I have found it before, but I totally
>forgot where it is.

  /* Set the maximum damage per round and subtract the hit points */
  dam = MAX(MIN(dam, 100), 0);
  GET_HIT(victim) -= dam;

It's in the damage() function in fight.c

RTC, sheesh.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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