--- Dale Kingston <[EMAIL PROTECTED]> wrote: > Ok well in the start of the combat system it locates like if your hand to > hand melee or ranged. > > It finds that and then sends you to that function now for melee and ranged > that will locate your weapon and then pass you to a like attack_melee > function that figurs the damage and everything. That then passes all the > info to a (not sure what to call it) a function in the victims struct called > attacked that gives it > ch->fighting->attacked(ch, sn, dam_type, dam, ATTACK_MELEE, wield);
P.S. It's called a function pointer =) ~Kender ===== -----BEGIN GEEK CODE BLOCK----- Version 3.1 GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ ------END GEEK CODE BLOCK------ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

