[Code] Mob Mana stuff in db.c

From: DJ Pure (pure@ozramp.net.au)
Date: 01/03/97


G'day all..
i've successfully removed mana from the game, but not sure what this does
in db.c

    /* max hit = 0 is a flag that H, M, V is xdy+z */
    mob_proto[i].points.max_hit = 0;
    mob_proto[i].points.hit = t[3];
    //mob_proto[i].points.mana = t[4];   <- this line. I'm assuming it
somehow gives mana to a mob. How, and from where??

	<snip>
// and this ... what's it do ? is this they in x/z+yhp
// what's the function dice and number do?
/*    if (!mob->points.max_hit) {
    mob->points.max_hit = dice(mob->points.hit, mob->points.mana) +
      mob->points.move;
  } else
    mob->points.max_hit = number(mob->points.hit, mob->points.mana);
*/

thank you kindly all.
jussy
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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