Re: db.c parse_simple_mob

From: Jeremy Wheeler (caddan@new.rr.com)
Date: 12/11/01


> Stat the mob and I get the correct race, but EVERY stupid mob in the game
> is Class: Magic User. Since Magic User is class = 0 I can only guess that
> it isn't loading correctly somehow.

> GET_GOLD(mob_proto + i) = t[0];
> GET_EXP(mob_proto + i) = t[1];
> GET_RACE(mob_proto + i) = t[2];
> GET_CLASS(mob_proto + i) = t[3];

It's a small thing, but I have to ask.  Is "t" defined up to 3, or only to
2?  It looks like a problem I had in class once.


Jeremy

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



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